Open oxygen opened 8 years ago
I think you might need to set error reporting to E_STRICT (or -1).
This issue is related to cmap
version used in this font. Its format is 12, while the lib only supports the version 4 (see the spec), section "Format 12: Segmented coverage". The code is here : https://github.com/PhenX/php-font-lib/blob/master/src/FontLib/Table/Type/cmap.php#L56
Note: formats 2, 4, and 12 are currently supported. I'll look to implement other formats as samples are provided that use them.
Tracking general TrueType support in #123.
https://github.com/google/fonts/tree/master/apache/droidsansjapanese
My code:
50MB stack trace, didn't include it all:
Invalid argument supplied for foreach()