Commit 50cbd399 authored by Adriaan de Groot's avatar Adriaan de Groot 💬
Browse files

--enable-final fixes

svn path=/trunk/kdegraphics/kpdf/; revision=345113
parent 9ce89f5c
......@@ -31,7 +31,7 @@ extern "C" int unlink(char *filename);
//------------------------------------------------------------------------
static void fileWrite(void *stream, const char *data, int len) {
static void FT_fileWrite(void *stream, const char *data, int len) {
fwrite(data, 1, len, (FILE *)stream);
}
......@@ -113,7 +113,7 @@ SplashFontFile *SplashFTFontEngine::loadTrueTypeFont(SplashFontFileID *idA,
delete ff;
return NULL;
}
ff->writeTTF(&fileWrite, tmpFile);
ff->writeTTF(&FT_fileWrite, tmpFile);
delete ff;
fclose(tmpFile);
ret = SplashFTFontFile::loadTrueTypeFont(this, idA,
......
......@@ -36,7 +36,7 @@ int SplashT1FontEngine::t1libInitCount = 0;
//------------------------------------------------------------------------
static void fileWrite(void *stream, const char *data, int len) {
static void T1_fileWrite(void *stream, const char *data, int len) {
fwrite(data, 1, len, (FILE *)stream);
}
......@@ -105,7 +105,7 @@ SplashFontFile *SplashT1FontEngine::loadType1CFont(SplashFontFileID *idA,
delete ff;
return NULL;
}
ff->convertToType1(NULL, gTrue, &fileWrite, tmpFile);
ff->convertToType1(NULL, gTrue, &T1_fileWrite, tmpFile);
delete ff;
fclose(tmpFile);
ret = SplashT1FontFile::loadType1Font(this, idA, tmpFileName->getCString(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment