Searched refs:nGlyphId (Results 1 – 8 of 8) sorted by relevance
/trunk/main/graphite/ |
H A D | graphite-2.3.1-CVE-2016-1521.patch | 3 @@ -1106,7 +1106,7 @@ size_t LocaLookup(gr::gid16 nGlyphId, 7 - if (nGlyphId <= (lLocaSize >> 1) - 1) // allow sentinel value to be accessed 8 + if (lLocaSize >= 2 && nGlyphId <= (lLocaSize >> 1) - 1) // allow sentinel value to be accessed 11 return (read(pTable[nGlyphId]) << 1); 12 @@ -1115,7 +1115,7 @@ size_t LocaLookup(gr::gid16 nGlyphId, 16 - if (nGlyphId <= (lLocaSize >> 2) - 1) 17 + if (lLocaSize >= 4 && nGlyphId <= (lLocaSize >> 2) - 1) 20 return read(pTable[nGlyphId]);
|
H A D | graphite-2.3.1.patch | 239 if (nGlyphId <= (lLocaSize >> 1) - 1) // allow sentinel value to be accessed 242 - return (read(pTable[nGlyphId]) << 1); 244 + return (read(pTableLoca[nGlyphId]) << 1); 250 if (nGlyphId <= (lLocaSize >> 2) - 1) 253 - return read(pTable[nGlyphId]); 255 + return read(pTableLoca[nGlyphId]); 270 bool GlyfPoints(gr::gid16 nGlyphId, const void * pGlyf,
|
/trunk/main/vcl/source/glyphs/ |
H A D | graphite_adaptors.cxx | 258 void GraphiteFontAdaptor::getGlyphMetrics(gr::gid16 nGlyphId, gr::Rect & aBounding, gr::Point & adv… in getGlyphMetrics() argument 264 const GlyphMetric & metric = mrFont.GetGlyphMetric(nGlyphId); in getGlyphMetrics() 278 GlyphMetricMap::const_iterator gm_itr = maGlyphMetricMap.find(nGlyphId); in getGlyphMetrics() 298 aStatus = FT_Load_Glyph(aFace, nGlyphId, nLoadFlags); in getGlyphMetrics() 323 maGlyphMetricMap[nGlyphId] = std::make_pair(aBounding, advances); in getGlyphMetrics()
|
H A D | gcach_ftyp.cxx | 2545 const sal_uInt16 nGlyphId = GetUShort( pCoverage ); in ApplyGSUB() local 2547 aSubstVector.push_back( GlyphSubst( nGlyphId, 0 ) ); in ApplyGSUB() 2588 const sal_uInt16 nGlyphId = GetUShort( pSubLookup ); in ApplyGSUB() local 2590 (*it).second = nGlyphId; in ApplyGSUB()
|
/trunk/main/vcl/source/fontsubset/ |
H A D | gsub.cxx | 264 const sal_uInt16 nGlyphId = NEXT_UShort( pCoverage ); in ReadGSUB() local 265 aSubstVector.push_back( GlyphSubst( nGlyphId, 0 ) ); in ReadGSUB() 308 const sal_uInt16 nGlyphId = NEXT_UShort( pSubLookup ); in ReadGSUB() local 309 (*subst_it).second = nGlyphId; in ReadGSUB()
|
/trunk/main/vcl/unx/generic/printergfx/ |
H A D | glyphset.hxx | 78 sal_Bool GetGlyphID( sal_GlyphId nGlyphId, sal_Unicode nUnicode, 80 sal_Bool LookupGlyphID( sal_GlyphId nGlyphId, 82 sal_Bool AddGlyphID (sal_GlyphId nGlyphId, sal_Unicode nUnicode,
|
/trunk/main/vcl/source/gdi/ |
H A D | impfont.cxx | 462 int nGlyphId = GetUInt( pGroup + 8 ); in ParseCMAP() local 475 pStartGlyphs[i] = nGlyphId; in ParseCMAP()
|
H A D | pdfwriter_impl.hxx | 571 sal_Int32 nGlyphId, in PDFGlyph() 574 : m_aPos( rPos ), m_nNativeWidth( nNativeWidth ), m_nGlyphId( nGlyphId ), in PDFGlyph()
|
Completed in 52 milliseconds