Lines Matching refs:nChar
113 sal_Unicode nChar, in GetCharID() argument
118 return LookupCharID (nChar, nOutGlyphID, nOutGlyphSetID) in GetCharID()
119 || AddCharID (nChar, nOutGlyphID, nOutGlyphSetID); in GetCharID()
136 sal_Unicode nChar, in LookupCharID() argument
150 char_map_t::const_iterator aGlyph = (*aGlyphSet).find (nChar); in LookupCharID()
243 sal_Unicode nChar, in AddCharID() argument
252 nMappedChar = GetSymbolMapping (nChar); in AddCharID()
254 nMappedChar = GetAnsiMapping (nChar); in AddCharID()
279 aGlyphSet [nChar] = nMappedChar; in AddCharID()
291 aGlyphSet [nChar] = nSize; in AddCharID()
293 *nOutGlyphID = aGlyphSet [nChar]; in AddCharID()
507 for (int nChar = 0; nChar < nLen; nChar++) in DrawGlyphs() local
509 GetGlyphID (pGlyphIds[nChar], pUnicodes[nChar], pGlyphID + nChar, pGlyphSetID + nChar); in DrawGlyphs()
510 aGlyphSet.insert (pGlyphSetID[nChar]); in DrawGlyphs()
524 sal_Int32 nChar; in DrawGlyphs() local
527 for (nChar = 0; (nChar < nLen) && (pGlyphSetID[nChar] != *aSet); nChar++) in DrawGlyphs()
529 nOffset = pDeltaArray [nChar]; in DrawGlyphs()
533 for (nChar = 0; nChar < nLen; nChar++) in DrawGlyphs()
535 if (pGlyphSetID[nChar] == *aSet) in DrawGlyphs()
537 pGlyphSubset [nGlyphs] = pGlyphID [nChar]; in DrawGlyphs()
541 while ((nChar + 1) < nLen) in DrawGlyphs()
543 if (pGlyphSetID[nChar + 1] == *aSet) in DrawGlyphs()
546 nChar += 1; in DrawGlyphs()
548 pDeltaSubset [nGlyphs] = pDeltaArray[nChar] - nOffset; in DrawGlyphs()
590 int nChar; in ImplDrawText() local
595 for (nChar = 0; nChar < nLen; nChar++) in ImplDrawText()
596 GetCharID (pStr[nChar], pGlyphID + nChar, pGlyphSetID + nChar); in ImplDrawText()
600 for (nChar = 0; nChar < nLen; /* atend */) in ImplDrawText()
602 sal_Int32 nGlyphSetID = pGlyphSetID [nChar]; in ImplDrawText()
604 for (int nNextChar = nChar + 1; nNextChar < nLen; nNextChar++) in ImplDrawText()
615 rGfx.PSShowText (pGlyphID + nChar, nGlyphs, nGlyphs); in ImplDrawText()
617 nChar += nGlyphs; in ImplDrawText()
640 for (int nChar = 0; nChar < nLen; nChar++) in ImplDrawText() local
642 GetCharID (pStr[nChar], pGlyphID + nChar, pGlyphSetID + nChar); in ImplDrawText()
643 aGlyphSet.insert (pGlyphSetID[nChar]); in ImplDrawText()
657 sal_Int32 nChar; in ImplDrawText() local
660 for (nChar = 0; (nChar < nLen) && (pGlyphSetID[nChar] != *aSet); nChar++) in ImplDrawText()
662 nOffset = pDeltaArray [nChar]; in ImplDrawText()
666 for (nChar = 0; nChar < nLen; nChar++) in ImplDrawText()
668 if (pGlyphSetID[nChar] == *aSet) in ImplDrawText()
670 pGlyphSubset [nGlyphs] = pGlyphID [nChar]; in ImplDrawText()
674 while ((nChar + 1) < nLen) in ImplDrawText()
676 if (pGlyphSetID[nChar + 1] == *aSet) in ImplDrawText()
679 nChar += 1; in ImplDrawText()
681 pDeltaSubset [nGlyphs] = pDeltaArray[nChar] - nOffset; in ImplDrawText()