diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-06-22 06:38:14 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-06-22 06:38:14 +0000 |
commit | bad2d10385968453948ad928049c842abfa78520 (patch) | |
tree | 3d389dfd1ef6d17dcf78bfd366bb51d922c24440 /Build/source/texk/dvipdfm-x/dvi.c | |
parent | 97eb2daa54c0ac3b6d54425c4e07fc52822140c6 (diff) |
Use MFOPEN() instead of fopen(), etc.
git-svn-id: svn://tug.org/texlive/trunk@55623 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvi.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvi.c b/Build/source/texk/dvipdfm-x/dvi.c index 9ddc759bae3..e85a98a3924 100644 --- a/Build/source/texk/dvipdfm-x/dvi.c +++ b/Build/source/texk/dvipdfm-x/dvi.c @@ -981,13 +981,13 @@ dvi_locate_native_font (const char *filename, uint32_t index, MESG("<%s@%.2fpt", filename, ptsize * dvi2pts); if ((path = dpx_find_dfont_file(filename)) != NULL && - (fp = fopen(path, "rb")) != NULL) + (fp = MFOPEN(path, "rb")) != NULL) is_dfont = 1; else if ((path = dpx_find_type1_file(filename)) != NULL) is_type1 = 1; else if (((path = dpx_find_opentype_file(filename)) == NULL && (path = dpx_find_truetype_file(filename)) == NULL) - || (fp = fopen(path, "rb")) == NULL) { + || (fp = MFOPEN(path, "rb")) == NULL) { ERROR("Cannot proceed without the font: %s", filename); } need_more_fonts(1); |