summaryrefslogtreecommitdiff
path: root/poppler
diff options
context:
space:
mode:
authorJeff Muizelaar <jeff@infidigm.net>2006-02-01 03:52:12 +0000
committerJeff Muizelaar <jeff@infidigm.net>2006-02-01 03:52:12 +0000
commit34df4cfa5cd8788ccf2ea698cbedd05b209041f5 (patch)
tree6dec54db5e08531cc1eedabb6176477b02fe01d1 /poppler
parent0184e7c928ec60c0aa3f8634d96ae0cf0ad6d157 (diff)
2006-01-31 Jeff Muizelaar <jeff@infidigm.net>
* poppler/GlobalParams.cc (GlobalParams::getDisplayFont): Allow ttc fonts to be used.
Diffstat (limited to 'poppler')
-rw-r--r--poppler/GlobalParams.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/GlobalParams.cc b/poppler/GlobalParams.cc
index 49c05907..df4c04ca 100644
--- a/poppler/GlobalParams.cc
+++ b/poppler/GlobalParams.cc
@@ -1274,7 +1274,7 @@ DisplayFontParam *GlobalParams::getDisplayFont(GfxFont *font) {
ext = strrchr((char*)s,'.');
if (!ext)
goto fin;
- if (!strncasecmp(ext,".ttf",4))
+ if (!strncasecmp(ext,".ttf",4) || !strncasecmp(ext,".ttc",4))
{
dfp = new DisplayFontParam(fontName->copy(), displayFontTT);
dfp->tt.fileName = new GooString((char*)s);