diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvi.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvi.c b/Build/source/texk/dvipdfm-x/dvi.c index beb8e70478f..91e83f4db49 100644 --- a/Build/source/texk/dvipdfm-x/dvi.c +++ b/Build/source/texk/dvipdfm-x/dvi.c @@ -940,7 +940,8 @@ dvi_locate_native_font (const char *filename, uint32_t index, || (path = dpx_find_type1_file(filename)) != NULL || (path = dpx_find_dfont_file(filename)) != NULL) ) { fp = fopen(path, "rb"); - } else { + } + if (!fp) { ERROR("Cannot proceed without the \"native\" font: %s", filename); } need_more_fonts(1); |