26 writes to
PresentationCore (26)
MS\Internal\Shaping\Context.cs (2)
2081GlyphInfo.Glyphs[inputGlyphIndex] = Glyph(Table,curOffset); 2082GlyphInfo.GlyphFlags[inputGlyphIndex] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
MS\Internal\Shaping\OpenTypeCommon.cs (1)
819GlyphInfo.GlyphFlags[i] = (ushort)(flags|
MS\Internal\Shaping\Positioning.cs (2)
1271GlyphInfo.GlyphFlags[glyphIndex] &= (ushort)~cursiveBit; 1331glyphFlags[index] |= cursiveBit;
MS\Internal\Shaping\Substitution.cs (21)
74GlyphInfo.Glyphs[FirstGlyph] = (ushort)(GlyphId + Format1DeltaGlyphId(Table)); 75GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 80GlyphInfo.Glyphs[FirstGlyph] = Format2SubstituteGlyphId(Table,(ushort)CoverageIndex); 81GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 300Charmap[curChar] = (ushort)FirstGlyph; 309GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs[glyph]; 310GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags[glyph]; 311GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars[glyph]; 312GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts[glyph]; 322Charmap[curChar] -= shift; 332GlyphInfo.Glyphs[FirstGlyph] = ligatureGlyph; 333GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 334GlyphInfo.FirstChars[FirstGlyph] = (ushort)firstLigaChar; 335GlyphInfo.LigatureCounts[FirstGlyph] = (ushort)totalLigaCharCount; 508GlyphInfo.Glyphs[FirstGlyph + gl] = sequence.Glyph(Table,gl); 509GlyphInfo.GlyphFlags[FirstGlyph + gl] = 511GlyphInfo.FirstChars[FirstGlyph + gl] = firstChar; 512GlyphInfo.LigatureCounts[FirstGlyph + gl] = ligatureCount; 521if (Charmap[ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap[ch]+lengthDelta); 643GlyphInfo.Glyphs[FirstGlyph] = alternateGlyph; 644GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
70 references to
PresentationCore (70)
MS\Internal\Shaping\Context.cs (19)
302match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 332match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 365match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 425ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 627GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 662GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 700GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 760ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 942.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 957.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 981.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 1351match = ( GlyphId(Table,inputIndex) == GlyphInfo.Glyphs[glyphIndex] ); 1410ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 1594ClassDef.GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 1654ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 1770.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 2018int coverageIndex = InputCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[inputGlyphIndex]); 2048match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]) >= 0); 2073match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]) >= 0);
MS\Internal\Shaping\OpenTypeCommon.cs (11)
760if (StartGlyph > Charmap[FirstChar]) 763FirstGlyph = Charmap[FirstChar]; 766AfterLastGlyph = Charmap[AfterLastChar]; 796(GlyphInfo.GlyphFlags[i] & (ushort)~typemask) | 808ushort flags = (ushort)(GlyphInfo.GlyphFlags[i] | (ushort)FlagToSet); 813ushort glyph = GlyphInfo.Glyphs[i]; 882(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Base 887(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark 892(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Ligature 896(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark && 898attachClass!=markAttachClassDef.GetClass(gdefTable,GlyphInfo.Glyphs[glyph])
MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
261ushort glyph = glyphInfo.Glyphs[i];
MS\Internal\Shaping\Positioning.cs (22)
70ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs[MobileGlyph], 77ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs[MobileGlyph], 521ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 768ushort firstGlyphId = GlyphInfo.Glyphs[FirstGlyph]; 773ushort secondGlyphId = GlyphInfo.Glyphs[secondGlyph]; 975if ((GlyphInfo.GlyphFlags[markGlyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 977int markCoverageIndex = MarkCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[markGlyph]); 988int baseCoverageIndex = BaseCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[baseGlyph]); 1125if ((GlyphInfo.GlyphFlags[mark1Glyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 1127int mark1CoverageIndex = Mark1Coverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[mark1Glyph]); 1138int mark2CoverageIndex = Mark2Coverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[mark2Glyph]); 1290coverageIndex = coverage.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]); 1297GetGlyphIndex(Table,GlyphInfo.Glyphs[prevGlyphIndex]); 1337(glyphFlags[index] & cursiveBit) != 0 ; 1460for (int ch = GlyphInfo.FirstChars[markGlyph]; 1463ushort glyph = Charmap[ch]; 1464if ((GlyphInfo.GlyphFlags[glyph] & (ushort)GlyphFlags.GlyphTypeMask) != 1475for(ushort ch = GlyphInfo.FirstChars[ligatureGlyph]; 1479if (Charmap[ch]==ligatureGlyph) comp++; 1510if ((GlyphInfo.GlyphFlags[markGlyph]&(ushort)GlyphFlags.GlyphTypeMask)!=(ushort)GlyphFlags.Mark) return false; 1512int markCoverageIndex = MarkCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[markGlyph]); 1523GetGlyphIndex(Table,GlyphInfo.Glyphs[baseGlyph]);
MS\Internal\Shaping\Substitution.cs (17)
67ushort GlyphId = GlyphInfo.Glyphs[FirstGlyph]; 216ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 243if (GlyphInfo.Glyphs[curGlyph]!=ligature.Component(Table,comp)) break; 269int curFirstChar = GlyphInfo.FirstChars[curGlyph]; 270int curLigaCount = GlyphInfo.LigatureCounts[curGlyph]; 298if (Charmap[curChar]==prevGlyph) 309GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs[glyph]; 310GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags[glyph]; 311GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars[glyph]; 312GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts[glyph]; 319ushort curCharmap = Charmap[curChar]; 479ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 497ushort firstChar = GlyphInfo.FirstChars[FirstGlyph]; 498ushort ligatureCount = GlyphInfo.LigatureCounts[FirstGlyph]; 521if (Charmap[ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap[ch]+lengthDelta); 634GetGlyphIndex(Table,GlyphInfo.Glyphs[FirstGlyph]);