Lines Matching refs:nchars
2496 int MapString(TrueTypeFont *ttf, sal_uInt16 *str, int nchars, sal_uInt16 *glyphArray, int bvertical) in MapString() argument
2502 if (!nchars) return 0; in MapString()
2514 for( i = 0; i < nchars; i++ ) { in MapString()
2522 memcpy(glyphArray, str, nchars * 2); in MapString()
2527 memcpy(glyphArray, str, nchars * 2); in MapString()
2531 case CMAP_MS_ShiftJIS: TranslateString12(str, cp, nchars); break; in MapString()
2532 case CMAP_MS_Big5: TranslateString13(str, cp, nchars); break; in MapString()
2533 case CMAP_MS_PRC: TranslateString14(str, cp, nchars); break; in MapString()
2534 case CMAP_MS_Wansung: TranslateString15(str, cp, nchars); break; in MapString()
2535 case CMAP_MS_Johab: TranslateString16(str, cp, nchars); break; in MapString()
2538 for (i = 0; i < nchars; i++) { in MapString()
2543 return nchars; in MapString()