Lines Matching refs:nOfs
1864 static void FakeDirEntry( const char aTag[5], ByteCount nOfs, ByteCount nLen, in FakeDirEntry() argument
1876 rpDest[ 8] = (char)(nOfs >> 24); in FakeDirEntry()
1877 rpDest[ 9] = (char)(nOfs >> 16); in FakeDirEntry()
1878 rpDest[10] = (char)(nOfs >> 8); in FakeDirEntry()
1879 rpDest[11] = (char)(nOfs >> 0); in FakeDirEntry()
1979 ByteCount nOfs = nFdirSize; in GetRawFontData() local
1981 if( nCmapSize != pMacFont->GetFontTable( "cmap", &rBuffer[nOfs])) in GetRawFontData()
1983 FakeDirEntry( "cmap", nOfs, nCmapSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
1984 nOfs += nCmapSize; in GetRawFontData()
1986 if( nCvtSize != pMacFont->GetFontTable( "cvt ", &rBuffer[nOfs])) in GetRawFontData()
1988 FakeDirEntry( "cvt ", nOfs, nCvtSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
1989 nOfs += nCvtSize; in GetRawFontData()
1992 if( nFpgmSize != pMacFont->GetFontTable( "fpgm", &rBuffer[nOfs])) in GetRawFontData()
1994 FakeDirEntry( "fpgm", nOfs, nFpgmSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
1995 nOfs += nFpgmSize; in GetRawFontData()
1998 if( nCffSize != pMacFont->GetFontTable( "CFF ", &rBuffer[nOfs])) in GetRawFontData()
2000 FakeDirEntry( "CFF ", nOfs, nCffSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2001 nOfs += nGlyfSize; in GetRawFontData()
2003 if( nGlyfSize != pMacFont->GetFontTable( "glyf", &rBuffer[nOfs])) in GetRawFontData()
2005 FakeDirEntry( "glyf", nOfs, nGlyfSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2006 nOfs += nGlyfSize; in GetRawFontData()
2007 if( nLocaSize != pMacFont->GetFontTable( "loca", &rBuffer[nOfs])) in GetRawFontData()
2009 FakeDirEntry( "loca", nOfs, nLocaSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2010 nOfs += nLocaSize; in GetRawFontData()
2012 if( nHeadSize != pMacFont->GetFontTable( "head", &rBuffer[nOfs])) in GetRawFontData()
2014 FakeDirEntry( "head", nOfs, nHeadSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2015 nOfs += nHeadSize; in GetRawFontData()
2016 if( nHheaSize != pMacFont->GetFontTable( "hhea", &rBuffer[nOfs])) in GetRawFontData()
2018 FakeDirEntry( "hhea", nOfs, nHheaSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2019 nOfs += nHheaSize; in GetRawFontData()
2020 if( nHmtxSize != pMacFont->GetFontTable( "hmtx", &rBuffer[nOfs])) in GetRawFontData()
2022 FakeDirEntry( "hmtx", nOfs, nHmtxSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2023 nOfs += nHmtxSize; in GetRawFontData()
2024 if( nMaxpSize != pMacFont->GetFontTable( "maxp", &rBuffer[nOfs])) in GetRawFontData()
2026 FakeDirEntry( "maxp", nOfs, nMaxpSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2027 nOfs += nMaxpSize; in GetRawFontData()
2028 if( nNameSize != pMacFont->GetFontTable( "name", &rBuffer[nOfs])) in GetRawFontData()
2030 FakeDirEntry( "name", nOfs, nNameSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2031 nOfs += nNameSize; in GetRawFontData()
2033 if( nPrepSize != pMacFont->GetFontTable( "prep", &rBuffer[nOfs])) in GetRawFontData()
2035 FakeDirEntry( "prep", nOfs, nPrepSize, &rBuffer[0], pFakeEntry ); in GetRawFontData()
2036 nOfs += nPrepSize; in GetRawFontData()
2039 DBG_ASSERT( (nOfs==nTotalSize), "AquaSalGraphics::CreateFontSubset (nOfs!=nTotalSize)"); in GetRawFontData()