26 writes to
PresentationCore (26)
MS\Internal\Shaping\Context.cs (2)
2079GlyphInfo.Glyphs[inputGlyphIndex] = Glyph(Table,curOffset); 2080GlyphInfo.GlyphFlags[inputGlyphIndex] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
MS\Internal\Shaping\OpenTypeCommon.cs (1)
818GlyphInfo.GlyphFlags[i] = (ushort)(flags|
MS\Internal\Shaping\Positioning.cs (2)
1271GlyphInfo.GlyphFlags[glyphIndex] &= (ushort)~cursiveBit; 1331glyphFlags[index] |= cursiveBit;
MS\Internal\Shaping\Substitution.cs (21)
73GlyphInfo.Glyphs[FirstGlyph] = (ushort)(GlyphId + Format1DeltaGlyphId(Table)); 74GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 79GlyphInfo.Glyphs[FirstGlyph] = Format2SubstituteGlyphId(Table,(ushort)CoverageIndex); 80GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 299Charmap[curChar] = (ushort)FirstGlyph; 308GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs[glyph]; 309GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags[glyph]; 310GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars[glyph]; 311GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts[glyph]; 321Charmap[curChar] -= shift; 331GlyphInfo.Glyphs[FirstGlyph] = ligatureGlyph; 332GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted); 333GlyphInfo.FirstChars[FirstGlyph] = (ushort)firstLigaChar; 334GlyphInfo.LigatureCounts[FirstGlyph] = (ushort)totalLigaCharCount; 507GlyphInfo.Glyphs[FirstGlyph + gl] = sequence.Glyph(Table,gl); 508GlyphInfo.GlyphFlags[FirstGlyph + gl] = 510GlyphInfo.FirstChars[FirstGlyph + gl] = firstChar; 511GlyphInfo.LigatureCounts[FirstGlyph + gl] = ligatureCount; 520if (Charmap[ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap[ch]+lengthDelta); 642GlyphInfo.Glyphs[FirstGlyph] = alternateGlyph; 643GlyphInfo.GlyphFlags[FirstGlyph] = (ushort)(GlyphFlags.Unresolved | GlyphFlags.Substituted);
70 references to
PresentationCore (70)
MS\Internal\Shaping\Context.cs (19)
300match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 330match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 363match = ( GlyphId(Table,curOffset) == GlyphInfo.Glyphs[glyphIndex] ); 423ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 625GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 660GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 698GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 758ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 940.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 955.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 979.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 1349match = ( GlyphId(Table,inputIndex) == GlyphInfo.Glyphs[glyphIndex] ); 1408ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 1592ClassDef.GetClass(Table,GlyphInfo.Glyphs[glyphIndex]); 1652ushort glyphId = GlyphInfo.Glyphs[glyphIndex]; 1768.GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex])<0) 2016int coverageIndex = InputCoverage(Table).GetGlyphIndex(Table,GlyphInfo.Glyphs[inputGlyphIndex]); 2046match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]) >= 0); 2071match = (Coverage(Table,curOffset).GetGlyphIndex(Table,GlyphInfo.Glyphs[glyphIndex]) >= 0);
MS\Internal\Shaping\OpenTypeCommon.cs (11)
759if (StartGlyph > Charmap[FirstChar]) 762FirstGlyph = Charmap[FirstChar]; 765AfterLastGlyph = Charmap[AfterLastChar]; 795(GlyphInfo.GlyphFlags[i] & (ushort)~typemask) | 807ushort flags = (ushort)(GlyphInfo.GlyphFlags[i] | (ushort)FlagToSet); 812ushort glyph = GlyphInfo.Glyphs[i]; 881(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Base 886(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark 891(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Ligature 895(glyphFlags[glyph]&(ushort)GlyphFlags.GlyphTypeMask)==(ushort)GlyphFlags.Mark && 897attachClass!=markAttachClassDef.GetClass(gdefTable,GlyphInfo.Glyphs[glyph])
MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
260ushort glyph = glyphInfo.Glyphs[i];
MS\Internal\Shaping\Positioning.cs (22)
69ContourPoint = Font.GetGlyphPointCoord(GlyphInfo.Glyphs[MobileGlyph], 76ContourPoint = 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)
66ushort GlyphId = GlyphInfo.Glyphs[FirstGlyph]; 215ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 242if (GlyphInfo.Glyphs[curGlyph]!=ligature.Component(Table,comp)) break; 268int curFirstChar = GlyphInfo.FirstChars[curGlyph]; 269int curLigaCount = GlyphInfo.LigatureCounts[curGlyph]; 297if (Charmap[curChar]==prevGlyph) 308GlyphInfo.Glyphs[glyph-shift] = GlyphInfo.Glyphs[glyph]; 309GlyphInfo.GlyphFlags[glyph-shift] = GlyphInfo.GlyphFlags[glyph]; 310GlyphInfo.FirstChars[glyph-shift] = GlyphInfo.FirstChars[glyph]; 311GlyphInfo.LigatureCounts[glyph-shift] = GlyphInfo.LigatureCounts[glyph]; 318ushort curCharmap = Charmap[curChar]; 478ushort glyphId = GlyphInfo.Glyphs[FirstGlyph]; 496ushort firstChar = GlyphInfo.FirstChars[FirstGlyph]; 497ushort ligatureCount = GlyphInfo.LigatureCounts[FirstGlyph]; 520if (Charmap[ch]>FirstGlyph) Charmap[ch] = (ushort)(Charmap[ch]+lengthDelta); 633GetGlyphIndex(Table,GlyphInfo.Glyphs[FirstGlyph]);