-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing Differences Array #73
Comments
Hi! Sounds interesting, it’s quite a long list of characters. I see it provides both the short name and the Unicode value. I am not sure exactly what your implementation looks like, but like I said, sounds interesting.
On 30 Jan 2014, at 14:55, Tiago Janela [email protected] wrote:
|
Hi there Kurt, Like someone said madness lurks in the PDF spec. I confess that I do not know much about PDF. Or at least as much as you do. I found a comment at the -[SimpleFont setEncodingWithEncodingObject] that caught my attention. Cookies crumble as follows: unichar cid = bytes[i];
And that’s it. Setting up a test battery against this stuff might represent some time. These are my insights. Best regards: Tiago Janela On 30/01/2014, at 21:16, Marcus Hedenström [email protected] wrote:
|
Hi there @KurtCode ,
I've been playing around with the code in this repo and I've been able to correctly interpret the differences array.
Basically I've loaded Adobe's glyphlist.txt:
http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt
And then built a differences array (if such array is present) that maps a byte to a unicode char. If the byte is not present in the differences map the unicode char is returned.
I'm interested in debating this approach and a possible pull request with you.
Best Regards!
The text was updated successfully, but these errors were encountered: