Skip to content
Snippets Groups Projects
Commit 33b1cd4a authored by Luigi Scarso's avatar Luigi Scarso
Browse files

quit in dvi mode when #fontname >255 (HH) (thanks to K.Hosny)

[[Split portion of a mixed commit.]]
parent ecba0c1f
Branches
Tags
No related merge requests found
......@@ -86,8 +86,13 @@ static int do_define_font(int f, const char *cnom, scaled s, int natural_dir)
The font name has to fit in the dvi file's single byte storage. There
is no need to test area, as we are never using it.
If we have an error in DVI mode we just abort as the DVI file is unuseable
anyway then.
*/
res = 0;
if (get_o_mode() == OMODE_DVI) {
formatted_error("backend","font name too long for DVI: %s",font_name(f));
}
}
if (res) {
if (font_type(f) != virtual_font_type) {
......
#define luatex_svn_revision 6997
#define luatex_svn_revision 6998
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment