From 6e7e2136be1493c97a6fde2dd6565d6b34d9b888 Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 9 Jun 2008 10:26:36 +0000 Subject: [PATCH] don't parse 'fontquality' as a font --- lib/pdf/pdf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pdf/pdf.cc b/lib/pdf/pdf.cc index a5b2607..98fb665 100644 --- a/lib/pdf/pdf.cc +++ b/lib/pdf/pdf.cc @@ -334,7 +334,7 @@ static void pdf_set_parameter(gfxsource_t*src, const char*name, const char*value addGlobalFontDir(value); } else if(!strcmp(name, "pages")) { global_page_range = strdup(value); - } else if(!strncmp(name, "font", strlen("font"))) { + } else if(!strncmp(name, "font", strlen("font")) && name[4]!='q') { addGlobalFont(value); } else if(!strncmp(name, "languagedir", strlen("languagedir"))) { addGlobalLanguageDir(value); -- 1.7.10.4