summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/fontmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng/fontmap.c')
-rw-r--r--Build/source/texk/dvipng/fontmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/dvipng/fontmap.c b/Build/source/texk/dvipng/fontmap.c
index e06275f88d6..ea6e15c4009 100644
--- a/Build/source/texk/dvipng/fontmap.c
+++ b/Build/source/texk/dvipng/fontmap.c
@@ -316,6 +316,7 @@ struct psfontmap* FindPSFontMap(char* fontname)
}
#endif
}
+#ifdef HAVE_FT2
if(entry==NULL) {
struct psfontmap* entry_subfont=NULL;
entry=psfontmap;
@@ -331,6 +332,7 @@ struct psfontmap* FindPSFontMap(char* fontname)
}
}
}
+#endif
if (entry!=NULL && entry->psfile==NULL)
ReadPSFontMap(entry);
if (entry!=NULL && entry->encname!=NULL && entry->encoding==NULL)