You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Fact]
public void TestGetGlyphIndex()
{
var font = TrueTypeFont.FromFile(@"C:\Windows\Fonts\micross.ttf");
var glyphIndex = GlyphHelper.GetGlyphIndex((char)894, font);
Assert.True(glyphIndex == 30);
}
The text was updated successfully, but these errors were encountered:
Something is wrong with SegmentMappingToDeltaValuesTable.GetGlyphIndex
see
https://docs.microsoft.com/zh-cn/typography/opentype/spec/cmap#format-4-segment-mapping-to-delta-values
Failed UT
The text was updated successfully, but these errors were encountered: