-
Notifications
You must be signed in to change notification settings - Fork 86
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
Problem in GlyphIndexList.Replace() #80
Comments
Thank you, Disable Ligature and Enable Ligature, Palatino Fontpic 1: f-i Disable Ligature, 2 glyph indices (f and i) pic 2: f-i Enable Ligature, 2 glyph indices are replaced with 1 f-i glyph index |
when we do glyph substitution, so |
It looks like there is still a problem; see:
|
if so then since collection count > 0 _tmpGlypIndexBackup[0] should not crash. from 0735269 |
I see ! :) see=> 776257e |
OK! But then, is |
actually, not need. see =>b981263 |
At line
114
inGlyphIndexList.cs
,_tmpGlypIndexBackup
may be empty if the whole string was replaced with a ligature, so the code crashes there when accessing_tmpGlypIndexBackup[0]
.I might be able to fix this later, but I do not really understand
GlyphIndexToUserChar
yet. Maybe you know what’s going on and can fix it more quickly than me :-)The text was updated successfully, but these errors were encountered: