-
Notifications
You must be signed in to change notification settings - Fork 608
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
Incorrect x_advance in English result using Jellee Roman font since release 2.1.2 (easily reproducible) #1421
Comments
Fixes if I revert the commit |
A format2 subtable, states itself as AAT kern (version 1) but expects OT one (version 0), interesting |
Hmm, actually it got broken when format 2 support is added apparently, broken font I guess, we should see how CoreText and Uniscribe deals with it I guess however. |
Our Format2 impl in kern table is untested. Thanks. I'll debug. |
OK with CoreText |
Can you paste the CoreText output with a few sequences? Those in the report, and maybe: AV VA Te eT Tr rT Td TA LV Vd pV Vq bV |
|
FontTools does not seem to be able to dump such kern subtable format, however FontForge can and the classes seem to be OK and I don’t seen any obvious bad values. |
@ebraminio can I get those on separate lines please? Very hard to use as is. Thanks. |
Oh, OFL. Great. We should add it to test suite. And yes, PITA that fonttools doesn't implement this format yet. Volunteers? |
|
Any chance you can also provide me with the ftxdumperfuser of the kern table? |
I was integrating harfbuzz to my game and thought I did something wrong at first.
Thanks to the binary win32 releases I was able to use hb-view to verify that it seems to be a bug in harfbuzz since 2.1.2
2.1.2 and 2.1.3 produce the same results.
2.1.1 and before behave correctly.
To reproduce, get the Jellee Roman font. Eg. from here:
https://smartfonts.com/jellee-roman.font
With version 2.1.1:
gives:
![result](https://user-images.githubusercontent.com/357737/49161222-fd796e00-f35a-11e8-9f0f-cbbb1665e6b4.png)
And
gives:
![result2](https://user-images.githubusercontent.com/357737/49161402-5943f700-f35b-11e8-8d6e-d429f977e869.png)
With version 2.1.2 (and 2.1.3):
gives:
![result](https://user-images.githubusercontent.com/357737/49161486-81cbf100-f35b-11e8-8d85-8ca70df1b5af.png)
And
Notice the wrong advance of the c and k letters.
Otherwise, if this is an intended change, then it is pretty unexpected.
The text was updated successfully, but these errors were encountered: