summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-04-11 20:26:51 +0000
committerMatthias Clasen <mclasen@redhat.com>2022-04-11 20:26:51 +0000
commit99c3da037458870d776a6d02fee07f323c3ef76e (patch)
tree7c671f12c5726b750db732a04315ac574e5fc3e3
parent7e53a7339a5bce8cae4338f8d261ec96d05874ff (diff)
parent236be6e137fcff86f236bc72792cf2ed992836c0 (diff)
downloadpango-99c3da037458870d776a6d02fee07f323c3ef76e.tar.gz
Merge branch 'win32-sans-serif' into 'main'
pangowin32: register a "Sans-Serif" font See merge request GNOME/pango!613
-rw-r--r--pango/pangowin32-fontmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index 4e6342a5..c5a590dd 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -732,8 +732,9 @@ _pango_win32_font_map_init (PangoWin32FontMap *win32fontmap)
g_hash_table_foreach (win32fontmap->families, synthesize_foreach, win32fontmap);
- /* Create synthetic "Sans", "Serif", "Monospace", "Cursive", "Fantasy" and "System-ui" families */
+ /* Create synthetic "Sans", "Sans-Serif", "Serif", "Monospace", "Cursive", "Fantasy" and "System-ui" families */
create_standard_family (win32fontmap, "Sans");
+ create_standard_family (win32fontmap, "Sans-Serif");
create_standard_family (win32fontmap, "Serif");
create_standard_family (win32fontmap, "Monospace");
create_standard_family (win32fontmap, "Cursive");