Brian Sweeney
Brian Sweeney
Do you have a font that supports the emoji characters?
@simonschaufi seems like something about the font format is incompatible with php-font-lib. As a result there's no character info in the UFM after the font is parsed. I tried a...
Definitely something that would need to be added to php-font-lib. Doing a quick (and I mean an "oh here's an article that seems related to this topic) search and it...
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.
The global conversion from UTF16 was, mostly, [according the spec](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html). Relating to platform ID 0 (Unicode): > All Unicode-based names must be in UTF-16BE (big-endian, two-byte encoding). UTF-8 and UTF-32...
I noticed that the sample font provided uses cmap subtable format 2, which isn't yet supported. I added support for that format and improved encoding support in other areas of...
If you're still interested in this can you clarify what you want to retrieve?
@lslqtz feel free to submit a PR with those changes. Happy to review and include in a future release.
Thank you for the follow up. I'll review your changes and see how we can adapt them. Also, if you have any sample fonts for testing that would be great.
This question is pretty old, so I assume you've moved on. Just wanted to provide some info in case someone else was interested. --- You can retrieve the metrics of...