mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 12:41:07 +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. |
||
---|---|---|
.. | ||
compare | ||
fonts | ||
nodeparser | ||
offload | ||
boundingbox.c | ||
compare-render.c | ||
curve-special-cases.c | ||
curve.c | ||
diff.c | ||
gskrendernodeattach.c | ||
gskrendernodeattach.h | ||
gtkrendernodeattach.h | ||
half-float.c | ||
meson.build | ||
misc.c | ||
node-parser.c | ||
normalize.c | ||
offload.c | ||
path-private.c | ||
path-special-cases.c | ||
path-utils.c | ||
path-utils.h | ||
path.c | ||
render-nodes-cairo.test.in | ||
render-nodes-vulkan.test.in | ||
replay-node.c | ||
rounded-rect.c | ||
scaling.c | ||
shader.c | ||
transform.c |