Lines Matching refs:GetUInt16

272 _inline sal_uInt16 GetUInt16(const sal_uInt8 *ptr, size_t offset, int bigendian)  in GetUInt16()  function
506 metrics->aw = GetUInt16(table, 4 * glyphID, 1); in GetMetrics()
509 metrics->aw = GetUInt16(table, 4 * (ttf->numberOfHMetrics - 1), 1); in GetMetrics()
518 metrics->ah = GetUInt16(table, 4 * glyphID, 1); in GetMetrics()
521 metrics->ah = GetUInt16(table, 4 * (ttf->numOfLongVerMetrics - 1), 1); in GetMetrics()
558 if ((t = GetUInt16(ptr, 10+i*2, 1)) > lastPoint) lastPoint = t; in GetSimpleTTOutline()
561 sal_uInt16 instLen = GetUInt16(ptr, 10 + numberOfContours*2, 1); in GetSimpleTTOutline()
613 pa[GetUInt16(ptr, 10 + i * 2, 1)].flags |= 0x00008000; /*- set the end contour flag */ in GetSimpleTTOutline()
651 flags = GetUInt16(ptr, 0, 1); in GetCompoundTTOutline()
653 index = GetUInt16(ptr, 2, 1); in GetCompoundTTOutline()
1016 const sal_uInt8* ptr = name + GetUInt16(name, 4, 1) + GetUInt16(name + 6, 12 * n + 10, 1); in nameExtract()
1017 int len = GetUInt16(name+6, 12 * n + 8, 1); in nameExtract()
1037 for (i = 0; i < len/2; i++ ) (*ucs2result)[i] = GetUInt16( ptr, 2*i, 1 ); in nameExtract()
1104 sal_uInt16 n = GetUInt16(table, 2, 1); in GetNames()
1397 sal_uInt16 ncmaps = GetUInt16(table, 2, 1); in FindCmap()
1416 pID = GetUInt16(table, 4 + i * 8, 1); in FindCmap()
1417 eID = GetUInt16(table, 6 + i * 8, 1); in FindCmap()
1474 switch (GetUInt16(ttf->cmap, 0, 1)) { in FindCmap()
1483 … printf("%s: %d is not a recognized cmap format.\n", ttf->fname, GetUInt16(ttf->cmap, 0, 1)); in FindCmap()
1500 …if (GetUInt16(table, 0, 1) == 0) { /* Traditional Microsoft style t… in GetKern()
1501 ttf->nkern = GetUInt16(table, 2, 1); in GetKern()
1509 ptr += GetUInt16(ptr, 2, 1); in GetKern()
1583 sal_uInt16 coverage = GetUInt16(ttf->kerntables[j], 4, 1); in KernGlyphsPrim2()
1597 npairs = GetUInt16(ptr, 6, 1); in KernGlyphsPrim2()
1762 t->ntables = GetUInt16(t->ptr + tdoffset, 4, 1); in doOpenTTFont()
1873 t->nglyphs = GetUInt16(table, 4, 1); in doOpenTTFont()
1876 t->unitsPerEm = GetUInt16(table, 18, 1); in doOpenTTFont()
1894 …t->goffsets[i] = indexfmt ? GetUInt32(table, i << 2, 1) : (sal_uInt32)GetUInt16(table, i << 1, 1) … in doOpenTTFont()
1905 t->numberOfHMetrics = (table != 0) ? GetUInt16(table, 34, 1) : 0; in doOpenTTFont()
1908 t->numOfLongVerMetrics = (table != 0) ? GetUInt16(table, 34, 1) : 0; in doOpenTTFont()
1966 flags = GetUInt16(ptr, 0, 1); in GetTTGlyphComponents()
1967 index = GetUInt16(ptr, 2, 1); in GetTTGlyphComponents()
2055 …fprintf(outf, h01, GetInt16(table, 0, 1), GetUInt16(table, 2, 1), GetInt16(table, 4, 1), GetUInt16 in CreateT3FromTTGlyphs()
2209 …hhea = TrueTypeTableNew_hhea(GetUInt16(p, 4, 1), GetUInt16(p, 6, 1), GetUInt16(p, 8, 1), GetUInt16 in CreateTTFromTTGlyphs()
2219 GetUInt16(p, 16, 1), in CreateTTFromTTGlyphs()
2220 GetUInt16(p, 18, 1), in CreateTTFromTTGlyphs()
2222 GetUInt16(p, 44, 1), in CreateTTFromTTGlyphs()
2223 GetUInt16(p, 46, 1), in CreateTTFromTTGlyphs()
2262 GetUInt16(p, 8, 1), in CreateTTFromTTGlyphs()
2263 GetUInt16(p, 10, 1), in CreateTTFromTTGlyphs()
2264 GetUInt16(p, 12, 1)); in CreateTTFromTTGlyphs()
2299 sal_uInt16 i, numTables = GetUInt16(sfntP, 4, 1); in GlyphOffsetsNew()
2324 res->offs[i] = GetUInt16(loca, i * 2, 1) << 1; in GlyphOffsetsNew()
2341 sal_uInt16 i, numTables = GetUInt16(sfntP, 4, 1); in DumpSfnts()
2409 …ypeTableNew_head(GetUInt32(p, 4, 1), GetUInt16(p, 16, 1), GetUInt16(p, 18, 1), p+20, GetUInt16(p, … in CreateT42FromTTGlyphs()
2416 …hhea = TrueTypeTableNew_hhea(GetUInt16(p, 4, 1), GetUInt16(p, 6, 1), GetUInt16(p, 8, 1), GetUInt16 in CreateT42FromTTGlyphs()
2637 XUnits( UPEm, GetUInt16( pTable, nAdvOffset, 1) ) ); in GetTTSimpleGlyphMetrics()
2684 info->weight = GetUInt16(table, 4, 1); in GetTTGlobalFontInfo()
2685 info->width = GetUInt16(table, 6, 1); in GetTTGlobalFontInfo()
2695 info->winAscent = XUnits(UPEm, GetUInt16(table, 74, 1)); in GetTTGlobalFontInfo()
2696 info->winDescent = XUnits(UPEm, GetUInt16(table, 76, 1)); in GetTTGlobalFontInfo()
2710 info->typeFlags = GetUInt16( table, 8, 1 ); in GetTTGlobalFontInfo()
2808 d->aw = GetUInt16(hmtx, 4 * glyphID, 1); in GetTTRawGlyphData()
2811 d->aw = GetUInt16(hmtx, 4 * (ttf->numberOfHMetrics - 1), 1); in GetTTRawGlyphData()
2831 sal_uInt16 n = GetUInt16(table, 2, 1); in GetTTNameRecords()
2832 int nStrBase = GetUInt16(table, 4, 1); in GetTTNameRecords()
2841 int nStrOffset = GetUInt16(table + 6, 10 + 12 * i, 1); in GetTTNameRecords()
2842 rec[i].platformID = GetUInt16(table + 6, 12 * i, 1); in GetTTNameRecords()
2843 rec[i].encodingID = GetUInt16(table + 6, 2 + 12 * i, 1); in GetTTNameRecords()
2844 rec[i].languageID = GetUInt16(table + 6, 4 + 12 * i, 1); in GetTTNameRecords()
2845 rec[i].nameID = GetUInt16(table + 6, 6 + 12 * i, 1); in GetTTNameRecords()
2846 rec[i].slen = GetUInt16(table + 6, 8 + 12 * i, 1); in GetTTNameRecords()
3042 printf("%04X ", GetUInt16(fnt->kerntables[i], 4, 1)); in main()
3054 printf("%04X ", GetUInt16(fnt->kerntables[i], 4, 1)); in main()