@@ -118,9 +118,9 @@ public bool TryGetGlyphMetricsAtOffset(
118118 isVerticalSubstitution = false ;
119119 isDecomposed = false ;
120120
121- Tag vert = FeatureTags . VerticalAlternates ;
122- Tag vrt2 = FeatureTags . VerticalAlternatesAndRotation ;
123- Tag vrtr = FeatureTags . VerticalAlternatesForRotation ;
121+ Tag vert = KnownFeatureTags . VerticalAlternates ;
122+ Tag vrt2 = KnownFeatureTags . VerticalAlternatesAndRotation ;
123+ Tag vrtr = KnownFeatureTags . VerticalAlternatesForRotation ;
124124
125125 for ( int i = startIndex ; i < this . glyphs . Count ; i ++ )
126126 {
@@ -171,9 +171,9 @@ public bool TryUpdate(Font font, GlyphSubstitutionCollection collection)
171171 bool hasFallBacks = false ;
172172 List < int > orphans = [ ] ;
173173
174- Tag vert = FeatureTags . VerticalAlternates ;
175- Tag vrt2 = FeatureTags . VerticalAlternatesAndRotation ;
176- Tag vrtr = FeatureTags . VerticalAlternatesForRotation ;
174+ Tag vert = KnownFeatureTags . VerticalAlternates ;
175+ Tag vrt2 = KnownFeatureTags . VerticalAlternatesAndRotation ;
176+ Tag vrtr = KnownFeatureTags . VerticalAlternatesForRotation ;
177177
178178 for ( int i = 0 ; i < this . glyphs . Count ; i ++ )
179179 {
@@ -268,9 +268,9 @@ public bool TryAdd(Font font, GlyphSubstitutionCollection collection)
268268 LayoutMode layoutMode = this . TextOptions . LayoutMode ;
269269 ColorFontSupport colorFontSupport = this . TextOptions . ColorFontSupport ;
270270
271- Tag vert = FeatureTags . VerticalAlternates ;
272- Tag vrt2 = FeatureTags . VerticalAlternatesAndRotation ;
273- Tag vrtr = FeatureTags . VerticalAlternatesForRotation ;
271+ Tag vert = KnownFeatureTags . VerticalAlternates ;
272+ Tag vrt2 = KnownFeatureTags . VerticalAlternatesAndRotation ;
273+ Tag vrtr = KnownFeatureTags . VerticalAlternatesForRotation ;
274274
275275 for ( int i = 0 ; i < collection . Count ; i ++ )
276276 {
@@ -358,9 +358,9 @@ public void UpdatePosition(FontMetrics fontMetrics, int index)
358358 public void Advance ( FontMetrics fontMetrics , int index , ushort glyphId , short dx , short dy )
359359 {
360360 LayoutMode layoutMode = this . TextOptions . LayoutMode ;
361- Tag vert = FeatureTags . VerticalAlternates ;
362- Tag vrt2 = FeatureTags . VerticalAlternatesAndRotation ;
363- Tag vrtr = FeatureTags . VerticalAlternatesForRotation ;
361+ Tag vert = KnownFeatureTags . VerticalAlternates ;
362+ Tag vrt2 = KnownFeatureTags . VerticalAlternatesAndRotation ;
363+ Tag vrtr = KnownFeatureTags . VerticalAlternatesForRotation ;
364364
365365 GlyphPositioningData glyph = this . glyphs [ index ] ;
366366 GlyphMetrics m = glyph . Metrics ;
0 commit comments