CoreText shaping bug?
Simon Cozens
Posts: 740
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
- 43 Introductions
- 3.7K Typeface Design
- 798 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports