[pango/pango2] fc: Capitalize generic names
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2] fc: Capitalize generic names
- Date: Sun, 19 Jun 2022 15:32:43 +0000 (UTC)
commit b71e6ab9de788833f39e497f9fa2c92717cfc75f
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 19 08:27:02 2022 -0700
fc: Capitalize generic names
It is what the font chooser expects.
pango/pangofc-fontmap.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index 1bae2744..ac16019b 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -405,12 +405,12 @@ pango_fc_font_map_populate (PangoFontMap *map)
* has 'sans-serif'
*/
const char *generic_names[] = {
- "monospace",
- "sans-serif",
- "sans",
- "serif",
- "cursive",
- "fantasy",
+ "Monospace",
+ "Sans-serif",
+ "Sans",
+ "Serif",
+ "Cursive",
+ "Fantasy",
};
FcLangSet *no_langs = FcLangSetCreate ();
FcLangSet *emoji_langs = FcLangSetCreate ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]