CoreText shaping bug?
Simon Cozens
Posts: 731
I don't know if there's a better place to talk about this - if so, let me know where would be better and apologies for mentioning it here.
I'm using Gentium Plus and found a bug trying to typeset the word "praȷ̃nā" (wisdom). Here's a test string "aj a/jdotless (U+ 0237) a/jdotless/tildecomb (U+0303)" shaped correctly by HarfBuzz's hb-shape:
and here it is in CoreText:
Adding the combining tilde messes up the spacing.
So, is there a bad assumption in the font that just happens to work with Harfbuzz, or is there a bug in CoreText? (I am not using the Graphite shaper in Harfbuzz, so there's no Graphite magic happening.)
I'm using Gentium Plus and found a bug trying to typeset the word "praȷ̃nā" (wisdom). Here's a test string "aj a/jdotless (U+ 0237) a/jdotless/tildecomb (U+0303)" shaped correctly by HarfBuzz's hb-shape:
and here it is in CoreText:
Adding the combining tilde messes up the spacing.
So, is there a bad assumption in the font that just happens to work with Harfbuzz, or is there a bug in CoreText? (I am not using the Graphite shaper in Harfbuzz, so there's no Graphite magic happening.)
1
Comments
-
Yes, this seems to be a CoreText issue. I get the same kind of spacing problem testing with Brill and with assorted other fonts with GPOS mark attachment. Interestingly, I get a different, worse problem when testing with Consolas:
I get similar spacing problems to those you illustrate with Apple's own fonts, e.g. Hoefler Text.
I have also confirmed that the problem occurs with other combining marks, not just U+0303.
I have also confirmed that the problem occurs regardless of whether the base letter carrying the mark is encoded as j or dotless j.
However, the problem does not seem to occur when any other base letter is used.
Will activate the Ned signal.3 -
Thanks. I was thinking of filing a Radar but that's often like talking to a black hole. I knew someone here would know the right way to get it to the right person...0
-
Incidentally, isn’t प्रज्ञा usually transliterated as prajñā? ;-)
0 -
You're right, and that one I need to take up with my author. :-)0
Categories
- All Categories
- 40 Introductions
- 3.7K Typeface Design
- 793 Font Technology
- 1K Technique and Theory
- 609 Type Business
- 443 Type Design Critiques
- 535 Type Design Software
- 30 Punchcutting
- 135 Lettering and Calligraphy
- 82 Technique and Theory
- 53 Lettering Critiques
- 478 Typography
- 300 History of Typography
- 113 Education
- 65 Resources
- 492 Announcements
- 78 Events
- 105 Job Postings
- 148 Type Releases
- 160 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports