mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
f5159e1ecb
It is a bit annoying that one has to specify the glyph width when specifying glyphs numerically for a text node, since this information really is part of the font. Make the parser more flexible, and allow to specify just the glyph ids, without an explicit width. In this case, the width will be determined from the font. With this, glyphs can now be specified in any of the follwing ways: glyphs: "ABC"; (ASCII) glyphs: 23, 45, 1001; (Glyph IDs) glyphs: 23 10, 100 11.1; (Glyph IDs and advance widths) glyphs: 23 10 1 2 color; (with offsets and flags) Tests have been updated to cover these variants. |
||
---|---|---|
.. | ||
a11y | ||
css | ||
gdk | ||
gsk | ||
gtk | ||
headless | ||
introspection | ||
reftests | ||
tools | ||
meson.build | ||
testutils.c | ||
testutils.h |