Skip to content

Commit 219801d

Browse files
konstantin-sbsweeney
authored andcommitted
Added support mbstring.func_overload=2
Probably resolves issue dompdf/dompdf#2298
1 parent 67e6b33 commit 219801d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FontLib/Glyph/Outline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function parseData() {
9696
function encode() {
9797
$font = $this->getFont();
9898

99-
return $font->write($this->raw, strlen($this->raw));
99+
return $font->write($this->raw, mb_strlen($this->raw, '8bit'));
100100
}
101101

102102
function getSVGContours() {

0 commit comments

Comments
 (0)