summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tex-glyph.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/tex-glyph.c')
-rw-r--r--Build/source/texk/kpathsea/tex-glyph.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/tex-glyph.c b/Build/source/texk/kpathsea/tex-glyph.c
index f4ca45939dc..79b27f606f5 100644
--- a/Build/source/texk/kpathsea/tex-glyph.c
+++ b/Build/source/texk/kpathsea/tex-glyph.c
@@ -33,6 +33,9 @@
support \'s.) */
#define UNIX_BITMAP_SPEC "$KPATHSEA_NAME.$KPATHSEA_DPI$KPATHSEA_FORMAT"
#define DPI_BITMAP_SPEC "dpi$KPATHSEA_DPI/$KPATHSEA_NAME.$KPATHSEA_FORMAT"
+#ifdef WIN32
+#define DOS_BITMAP_SPEC "$KPATHSEA_DPI/$KPATHSEA_NAME.$KPATHSEA_FORMAT"
+#endif
/* Look up font $KPATHSEA_NAME at resolution $KPATHSEA_DPI in PATH,
with filename suffix EXTENSION. Return file found or NULL. */
@@ -41,7 +44,11 @@ static string
try_format (kpathsea kpse, kpse_file_format_type format)
{
static const_string bitmap_specs[]
- = { UNIX_BITMAP_SPEC, DPI_BITMAP_SPEC, NULL };
+ = { UNIX_BITMAP_SPEC, DPI_BITMAP_SPEC,
+#ifdef WIN32
+ DOS_BITMAP_SPEC,
+#endif
+ NULL };
const_string *spec;
boolean must_exist;
const_string *sfx;