re-added external font support
authorkramm <kramm>
Wed, 26 Mar 2008 13:02:03 +0000 (13:02 +0000)
committerkramm <kramm>
Wed, 26 Mar 2008 13:02:03 +0000 (13:02 +0000)
lib/pdf/GFXOutputDev.cc

index 2ac6e47..408e010 100644 (file)
@@ -336,7 +336,7 @@ DisplayFontParam *GFXGlobalParams::getDisplayFont(GString *fontName)
     int bestlen = 0x7fffffff;
     const char*bestfilename = 0;
     
-    fontfile_t*f = 0;
+    fontfile_t*f = global_fonts;
     while(f) {
        if(strstr(f->filename, name)) {
             if(f->len < bestlen) {