prt_escp.c: Fall back to roman.ttf instead of dotmatrix.ttf for unhandled typefaces

This commit is contained in:
Alexander Babikov
2023-12-18 09:20:37 +05:00
parent 46c5f9c0cc
commit ff446fab9b

View File

@@ -531,7 +531,7 @@ update_font(escp_t *dev)
fn = FONT_FILE_OCRB;
break;
default:
fn = FONT_FILE_DOTMATRIX;
fn = FONT_FILE_ROMAN;
}
/* Create a full pathname for the ROM file. */