26 writes to
PresentationCore (26)
MS\Internal\Shaping\Context.cs (2)
2085GlyphInfo.Glyphs[inputGlyphIndex] = Glyph(Table,curOffset); 2086GlyphInfo.GlyphFlags[inputGlyphIndex] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
MS\Internal\Shaping\OpenTypeCommon.cs (1)
823GlyphInfo.GlyphFlags[i] = (ushort)(flags|
MS\Internal\Shaping\Positioning.cs (2)
1278GlyphInfo.GlyphFlags[glyphIndex] &= (ushort)~cursiveBit; 1338glyphFlags[index] |= cursiveBit;
MS\Internal\Shaping\Substitution.cs (21)
77GlyphInfo.Glyphs[FirstGlyph] = (ushort)(GlyphId + Format1DeltaGlyphId(Table)); 78GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 83GlyphInfo.Glyphs[FirstGlyph] = Format2SubstituteGlyphId(Table,(ushort)CoverageIndex); 84GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 303Charmap[curChar] = (ushort)FirstGlyph; 312GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs[glyph]; 313GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags[glyph]; 314GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars[glyph]; 315GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts[glyph]; 325Charmap[curChar] -= shift; 335GlyphInfo.Glyphs[FirstGlyph] = ligatureGlyph; 336GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 337GlyphInfo.FirstChars[FirstGlyph] = (ushort)firstLigaChar; 338GlyphInfo.LigatureCounts[FirstGlyph] = (ushort)totalLigaCharCount; 511GlyphInfo.Glyphs[FirstGlyph + gl] = sequence.Glyph(Table,gl); 512GlyphInfo.GlyphFlags[FirstGlyph + gl] = 514GlyphInfo.FirstChars[FirstGlyph + gl] = firstChar; 515GlyphInfo.LigatureCounts[FirstGlyph + gl] = ligatureCount; 524if (Charmap[ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap[ch]+lengthDelta); 646GlyphInfo.Glyphs[FirstGlyph] = alternateGlyph; 647GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
70 references to
PresentationCore (70)
MS\Internal\Shaping\Context.cs (19)
306match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 336match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 369match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 429ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 631GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 666GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 704GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 764ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 946.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 961.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 985.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 1355match = ( GlyphId(Table,inputIndex) == GlyphInfo.Glyphs[glyphIndex] ); 1414ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 1598ClassDef.GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 1658ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 1774.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 2022int coverageIndex = InputCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[inputGlyphIndex]); 2052match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]) >= 0); 2077match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]) >= 0);
MS\Internal\Shaping\OpenTypeCommon.cs (11)
764if (StartGlyph > Charmap[FirstChar]) 767FirstGlyph = Charmap[FirstChar]; 770AfterLastGlyph = Charmap[AfterLastChar]; 800(GlyphInfo.GlyphFlags[i] & (ushort)~typemask) | 812ushort flags = (ushort)(GlyphInfo.GlyphFlags[i] | (ushort)FlagToSet); 817ushort glyph = GlyphInfo.Glyphs[i]; 886(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Base 891(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark 896(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Ligature 900(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark && 902attachClass!=markAttachClassDef.GetClass(gdefTable,GlyphInfo.Glyphs[glyph])
MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
267ushort glyph = glyphInfo.Glyphs[i];
MS\Internal\Shaping\Positioning.cs (22)
77ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs[MobileGlyph], 84ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs[MobileGlyph], 528ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 775ushort firstGlyphId = GlyphInfo.Glyphs[FirstGlyph]; 780ushort secondGlyphId = GlyphInfo.Glyphs[secondGlyph]; 982if ((GlyphInfo.GlyphFlags[markGlyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 984int markCoverageIndex = MarkCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[markGlyph]); 995int baseCoverageIndex = BaseCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[baseGlyph]); 1132if ((GlyphInfo.GlyphFlags[mark1Glyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 1134int mark1CoverageIndex = Mark1Coverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[mark1Glyph]); 1145int mark2CoverageIndex = Mark2Coverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[mark2Glyph]); 1297coverageIndex = coverage.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]); 1304GetGlyphIndex(Table,GlyphInfo.Glyphs[prevGlyphIndex]); 1344(glyphFlags[index] & cursiveBit) != 0 ; 1467for (int ch = GlyphInfo.FirstChars[markGlyph]; 1470ushort glyph = Charmap[ch]; 1471if ((GlyphInfo.GlyphFlags[glyph] & (ushort)GlyphFlags.GlyphTypeMask) != 1482for(ushort ch = GlyphInfo.FirstChars[ligatureGlyph]; 1486if (Charmap[ch]==ligatureGlyph) comp++; 1517if ((GlyphInfo.GlyphFlags[markGlyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 1519int markCoverageIndex = MarkCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[markGlyph]); 1530GetGlyphIndex(Table,GlyphInfo.Glyphs[baseGlyph]);
MS\Internal\Shaping\Substitution.cs (17)
70ushort GlyphId = GlyphInfo.Glyphs[FirstGlyph]; 219ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 246if (GlyphInfo.Glyphs[curGlyph]!=ligature.Component(Table,comp)) break; 272int curFirstChar = GlyphInfo.FirstChars[curGlyph]; 273int curLigaCount = GlyphInfo.LigatureCounts[curGlyph]; 301if (Charmap[curChar]==prevGlyph) 312GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs[glyph]; 313GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags[glyph]; 314GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars[glyph]; 315GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts[glyph]; 322ushort curCharmap = Charmap[curChar]; 482ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 500ushort firstChar = GlyphInfo.FirstChars[FirstGlyph]; 501ushort ligatureCount = GlyphInfo.LigatureCounts[FirstGlyph]; 524if (Charmap[ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap[ch]+lengthDelta); 637GetGlyphIndex(Table,GlyphInfo.Glyphs[FirstGlyph]);