Skip to content

Commit

Permalink
[11_42] Distinguish smart font for math and for prog part2
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Nov 23, 2024
1 parent a262011 commit 48e8129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Graphics/Fonts/smart_font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ font
prog_smart_font (string family, string variant, string series, string shape,
string tfam, string tvar, string tser, string tsh, int sz,
int dpi) {
if (tfam == "roman" || starts (tfam, "sys-")) {
if (tfam == "roman") {
tfam= family;
}
return smart_font (tfam, tvar, tser, tsh, sz, dpi);
Expand Down

0 comments on commit 48e8129

Please sign in to comment.