Skip to content

Commit de291be

Browse files
committed
Fix an issue making all text bold
1 parent a68caeb commit de291be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Svg/Surface/SurfaceCpdf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ public function setFont($family, $style, $weight)
466466
}
467467

468468
if (isset($styleMap[$family])) {
469-
$key = "b";
469+
$key = "";
470470

471471
if ($weight === "bold" || $weight === "bolder" || (is_numeric($weight) && $weight >= 600)) {
472472
$key .= "b";

0 commit comments

Comments
 (0)