| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Remove cairo_debug_reset_static_data function call in pango-view
to avoid crash.
|
|
|
|
|
| |
This lets us transfer things like base gravity
from layout-editor to pango-view.
|
|
|
|
|
|
|
| |
This gives us some room to add more things
to these apis, e.g. a way to store not just
the input part of a layout, but also the
output.
|
|
|
|
|
|
|
|
|
| |
You can now do
pango-view --serialized file
All layout-related options will be overwritten by the
serialized data. Other options can still be used.
|
| |
|
| |
|
|
|
|
|
|
| |
GTK frequently uses this width during measuring,
so it is good if we can reproduce what happens
in this case.
|
|
|
|
| |
This can make it easier to reproduce problems.
|
| |
|
|\
| |
| |
| |
| | |
Switch to use GraphicsMagick in pango-view
See merge request GNOME/pango!472
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Parse the argument as a comma-separated list
of names. The old numeric arguments still work.
|
|
|
|
|
|
| |
Use the new run baseline api to correct
the positioning of glyph extents and caret
positions.
|
|
|
|
|
|
| |
We can't currently position them correctly for
shifted runs. But at least we can get it right
for the runs on the baseline.
|
|
|
|
|
| |
Don't overwrite caret position numbers with
different numbers.
|
| |
|
|
|
|
| |
We want vertical carets to be really vertical.
|
|
|
|
| |
Still some bits left!
|
|
|
|
| |
I was confusing char and byte offsets here.
|
|
|
|
|
| |
When annotating caret positions, render the diagonal
of the caret position rectangle as well.
|
| |
|
|
|
|
|
| |
When showing caret positions, put a little number
next to them to indicate the order.
|
|
|
|
|
| |
Don't show carets where they don't belong.
Skip non-cursor positions.
|
|
|
|
| |
We want to draw n+1 dots, the last one with trailing == 1.
|
|
|
|
|
|
| |
With --annotate=256, show caret positions.
This will be helpful in improving our handling
of caret positions inside clusters.
|
|
|
|
|
| |
Make this separate flags, so things can be turned
on and off separately.
|
|
|
|
|
| |
Give pango-view a --justify-last-line option
to test the new PangoLayout option for this.
|
|
|
|
| |
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.
|