| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
We need stdlib.h for exit().
|
|
|
|
|
|
| |
Change pango-segmentation to interpret its argument as
a filename, and add a --text=STRING option to specify
the text directly. This matches what pango-view does.
|
|
|
|
|
| |
pango-segmentation is not a test, so don't call
g_test_message.
|
|
|
|
|
| |
Only build pango-segmentation if we have cairo.
And add --version here too.
|
| |
|
| |
|
|
|
|
| |
A little utility to show text segmentation.
|
| |
|
|
|
|
|
| |
Port pango-viewer to use the new
pango_fc_font_map_set_default_substitute.
|
| |
|
|
|
|
|
|
| |
This lets us explore the influence of subpixel
positioning in various contexts without relying
on gtk applications.
|
|
|
|
|
|
|
| |
Add commandline options for antialiasing,
subpixel order and metrics hinting, so we
can reproduce font rendering issues with
pango-view.
|
|
|
|
|
|
| |
If it isn't called, GLib will try to convert non-ASCII characters to
ASCII because LC_CTYPE locale is C. Therefore, all non-ASCII characters
are displayed as question marks because the conversion always fails.
|
|
|
|
|
|
| |
The correct include is without harfbuzz/.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/387
|
|
|
|
|
| |
This is not perfect; we really need harfbuzz api
to get design coords of a hb_font_t.
|
|
|
|
|
|
|
| |
Test that a change of foreground color does
not interrupt a run of Arabict text.
Taken from https://gitlab.gnome.org/GNOME/pango/issues/28
|
|
|
|
|
|
| |
In the test-hyphen.txt file, we dont want the hyphenation
examples to be broken, so use the allow_breaks attribute
to prevent that.
|
|
|
|
|
|
|
| |
This has quite a few soft hyphens, some explicit hyphens,
and some hyphenation point characters. Try it with
pango-view --width=330 --wrap=word --justify test-hyphens.txt
|
|
|
|
| |
No need to dump core because somebody typoed an option.
|
|
|
|
|
| |
Make the output a bit more compact, and optionally
print out font metrics as well.
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 37fd3ce13b643d1743ae8b69c453a2cfcb0e3eb0.
|
|
|
|
| |
Same here.
|
|
|
|
| |
Add a way to try pango_layout_set_line_spacing().
|
|
|
|
|
|
| |
With --annotate 3, show the logical rects
for each line. This makes the spacing between
lines easily visible.
|
| |
|
|
|
|
|
| |
These were ifdefed to an older version of GLib
than we require now, so are just dead code.
|
|
|
|
|
| |
Show if a family is monospace or variable,
mainly to prove that the APIs work.
|
| |
|
|
|
|
| |
We will just use meson from now on.
|
| |
|
|
|
|
|
| |
They are not used in font chooser, so don't call them. My goal
for pango-list was to measure font chooser performance...
|
| |
|
|
|
|
|
|
| |
Also write out description of each face. This is really broken for
free-style style names (as we knew), and very slow, as is O(N^3.log(N))
in the number of fonts...
|
|
|
|
|
| |
My main interest is performance of font listing API. Figured I can
just make a tool out of it. Output format to be improved.
|
| |
|
|
|