mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
apply @jamesbond3142's printer fix
This commit is contained in:
@@ -294,8 +294,10 @@ void CPrinter::selectCodepage(uint16_t cp)
|
||||
|
||||
void CPrinter::updateFont()
|
||||
{
|
||||
if (curFont != NULL)
|
||||
if (curFont != NULL) {
|
||||
FT_Done_Face(curFont);
|
||||
curFont = NULL;
|
||||
}
|
||||
|
||||
#if defined(USE_TTF)
|
||||
if (TTF_using()&&printfont) curFont = GetTTFFace();
|
||||
|
Reference in New Issue
Block a user