Lines Matching refs:pTmpFile
796 static void CreatePSUploadableFont( TrueTypeFont* pSrcFont, FILE* pTmpFile, in CreatePSUploadableFont() argument
828 aInfo.CreateFontSubset( nTargetMask, pTmpFile, pGlyphSetName, in CreatePSUploadableFont()
845 FILE* pTmpFile = tmpfile(); in PSUploadFont() local
846 if (pTmpFile == NULL) in PSUploadFont()
883 fprintf( pTmpFile, "%%%%BeginResource: font %s\n", aCharSetName.getStr() ); in PSUploadFont()
884 CreatePSUploadableFont( pTTFont, pTmpFile, aCharSetName.getStr(), (*aCharSet).size(), in PSUploadFont()
886 fprintf( pTmpFile, "%%%%EndResource\n" ); in PSUploadFont()
912 fprintf( pTmpFile, "%%%%BeginResource: font %s\n", aGlyphSetName.getStr() ); in PSUploadFont()
913 CreatePSUploadableFont( pTTFont, pTmpFile, aGlyphSetName.getStr(), (*aGlyphSet).size(), in PSUploadFont()
915 fprintf( pTmpFile, "%%%%EndResource\n" ); in PSUploadFont()
920 rewind(pTmpFile); in PSUploadFont()
921 fflush(pTmpFile); in PSUploadFont()
928 nIn = fread(pBuffer, 1, sizeof(pBuffer), pTmpFile); in PSUploadFont()
931 while ((nIn == nOut) && !feof(pTmpFile)); in PSUploadFont()
935 fclose (pTmpFile); in PSUploadFont()