182
176
// semantics, this will remove the last link; otherwise it will
183
177
// return an error, leaving the file to be deleted later (if
184
178
// loadXYZFont failed, the file will always be deleted)
193
185
SplashFontFile *SplashFontEngine::loadTrueTypeFont(SplashFontFileID *idA,
198
190
SplashFontFile *fontFile;
201
193
#if HAVE_FREETYPE_FREETYPE_H || HAVE_FREETYPE_H
202
194
if (!fontFile && ftEngine) {
203
fontFile = ftEngine->loadTrueTypeFont(idA, fileName, deleteFile,