James, Thanks for testing!
On 13-12-22 07:46 PM, James Cloos wrote: > Try rendering 1⅖ with hb-view. Very good point. Indeed, this happens because U+2156 has a compat decomposition to <0032,2044,0035>, so the fact that it was separated from the previous digit is lost in the expansion. One way to work around this is to intercept those decompositions and insert a ZWSP before them. Roozbeh, WDYT? > With a numr/dnom font I get the same as 12⁄5, rather than the same as 12⁄5, > as I’d expect. > > (Note the U+200B ZERO WIDTH SPACE after the 1 in the latter string.) > > I’m at 76fff252. > > Pango-view also renders that string wrong, though differently wrong. > > -JimC > -- > James Cloos <[email protected]> OpenPGP: 1024D/ED7DAEA6 > _______________________________________________ > HarfBuzz mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/harfbuzz > -- behdad http://behdad.org/ _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
