php 8+ Unknown: fseek(): Passing null to parameter #2 ($offset) of ty…
…pe int is deprecated in FontLib\BinaryStream.php on line 123
Unknown: fseek(): Passing null to parameter 2 ($offset) of type int is deprecated in FontLib\BinaryStream.php on line 123
Can you outline the scenario where this error occurs? FontLib shouldn't attempt to read the font file with a null offset so this could be indicative of a parsing error.
Can you outline the scenario where this error occurs? FontLib shouldn't attempt to read the font file with a null offset so this could be indicative of a parsing error.
Позже посмотрю в какой момент это происходит и пришлю результат.
Any luck identifying the cause of the issue? Or, if you can indicate the font and the operation I should be able to figure out what happened.
Any luck identifying the cause of the issue? Or, if you can indicate the font and the operation I should be able to figure out what happened.
Со шрифтами всё хорошо работает при использовании стандартного кода для их редактирования. Если для других целей использовать вызов, например, $glyph = new FontLib\Glyph\Outline($this); $glyph->parse($font); то в $offset пойдёт значение null