nodeparser: Change default font

Use Cantarell 15px instead of Cantarell 11, ot make roundtrip
tests easier to read.
This commit is contained in:
Matthias Clasen
2024-02-27 23:45:46 -05:00
parent c2311c7154
commit b7422c0f62
2 changed files with 2 additions and 2 deletions

View File

@@ -325,7 +325,7 @@ stroke bounds of the path.
| property | syntax | default | printed |
| -------- | ------------------- | ------------------- | ----------- |
| color | `<color>` | black | non-default |
| font | `<string>` `<url>`? | "Cantarell 11" | always |
| font | `<string>` `<url>`? | "Cantarell 15px" | always |
| glyphs | `<glyphs>` | "Hello" | always |
| offset | `<point>` | 0 0 | non-default |

View File

@@ -2237,7 +2237,7 @@ parse_text_node (GtkCssParser *parser,
if (font == NULL)
{
font = font_from_string (pango_cairo_font_map_get_default (), "Cantarell 11", TRUE);
font = font_from_string (pango_cairo_font_map_get_default (), "Cantarell 15px", TRUE);
g_assert (font);
}