summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* pango-view: Support transforms with --serializedMatthias Clasen2021-12-181-0/+5
| | | | | We can just use the matrix from the deserialized layout.
* pango-view: Add --serialize-to optionviewer-serialize-outputMatthias Clasen2021-12-171-2/+17
| | | | Add an option to produce a serialized output.
* Fix pango-view option handlingfix-pango-view-optionsMatthias Clasen2021-12-111-3/+3
| | | | | The --serialized option did not quite work as expected.
* Fix pango-view crashPeng Wu2021-11-291-2/+0
| | | | | Remove cairo_debug_reset_static_data function call in pango-view to avoid crash.
* pango-view: Deserialize context tooMatthias Clasen2021-11-241-1/+1
| | | | | This lets us transfer things like base gravity from layout-editor to pango-view.
* Add flags to serialize and deserializeMatthias Clasen2021-11-241-1/+1
| | | | | | | 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.
* pango-view: Allow loading serialized layoutsMatthias Clasen2021-11-191-1/+34
| | | | | | | | | 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.
* pango-view: Fix display of char extentsMatthias Clasen2021-11-191-1/+1
|
* pango-view: Remove debug spewMatthias Clasen2021-11-161-3/+0
|
* pango-view: Accept width 0Matthias Clasen2021-11-111-2/+2
| | | | | | GTK frequently uses this width during measuring, so it is good if we can reproduce what happens in this case.
* pango-view: Add --pango-unitsMatthias Clasen2021-11-111-4/+28
| | | | This can make it easier to reproduce problems.
* utils: update a comment mentioning GraphicsMagickJeremy Bicha2021-09-181-1/+1
|
* Merge branch 'use-gm' into 'main'Matthias Clasen2021-09-091-6/+6
|\ | | | | | | | | Switch to use GraphicsMagick in pango-view See merge request GNOME/pango!472
| * Switch to use GraphicsMagick in pango-viewPeng Wu2021-09-091-6/+6
| |
* | Support antialias option in pango-view with the FreeType backendPeng Wu2021-09-091-0/+5
|/
* CosmeticsMatthias Clasen2021-08-301-1/+1
|
* CosmeticsMatthias Clasen2021-08-301-1/+1
|
* pango-view: Use pango_glyph_string_index_to_x_fullmore-rtl-cluster-fixesMatthias Clasen2021-08-291-7/+8
|
* pango-view: Redo --annotate optionMatthias Clasen2021-08-291-14/+68
| | | | | Parse the argument as a comma-separated list of names. The old numeric arguments still work.
* pango-view: Use the new apiMatthias Clasen2021-08-291-3/+2
| | | | | | Use the new run baseline api to correct the positioning of glyph extents and caret positions.
* pango-view: Improve glyph extentsMatthias Clasen2021-08-291-1/+2
| | | | | | We can't currently position them correctly for shifted runs. But at least we can get it right for the runs on the baseline.
* pango-view: More careful numberingMatthias Clasen2021-08-291-2/+7
| | | | | Don't overwrite caret position numbers with different numbers.
* pango-view: Don't draw the empty runMatthias Clasen2021-08-291-0/+5
|
* pango-view: Fix slope of caretsMatthias Clasen2021-08-291-4/+2
| | | | We want vertical carets to be really vertical.
* pango-view: Split caret positions and slopesMatthias Clasen2021-08-281-13/+26
| | | | Still some bits left!
* pango-view: Fix caret visualizationMatthias Clasen2021-08-281-2/+9
| | | | I was confusing char and byte offsets here.
* pango-view: Show caret slopes as wellMatthias Clasen2021-08-271-0/+19
| | | | | When annotating caret positions, render the diagonal of the caret position rectangle as well.
* pango-view: Allow showing glyph ink rectsligature-caret-rtl-fixesMatthias Clasen2021-08-271-11/+69
|
* pango-viewer: Number caretsMatthias Clasen2021-08-271-0/+7
| | | | | When showing caret positions, put a little number next to them to indicate the order.
* pango-view: Be more careful about caret positionsMatthias Clasen2021-08-271-12/+23
| | | | | Don't show carets where they don't belong. Skip non-cursor positions.
* pango-view: Don't omit the last caret positionMatthias Clasen2021-08-251-8/+16
| | | | We want to draw n+1 dots, the last one with trailing == 1.
* pango-viewer: Visualize caret positionsMatthias Clasen2021-08-251-2/+52
| | | | | | With --annotate=256, show caret positions. This will be helpful in improving our handling of caret positions inside clusters.
* pango-view: Change annotation handlingMatthias Clasen2021-08-191-129/+229
| | | | | Make this separate flags, so things can be turned on and off separately.
* Add an option to pango-viewjustify-last-lineMatthias Clasen2021-08-101-2/+6
| | | | | Give pango-view a --justify-last-line option to test the new PangoLayout option for this.
* utils: Fix win32 buildMatthias Clasen2021-07-091-0/+1
| | | | We need stdlib.h for exit().
* pango-segmentation: Add a --text optionsegmentation-tweaksMatthias Clasen2021-07-091-4/+20
| | | | | | 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.
* utils: Remove leftover codeMatthias Clasen2021-07-061-11/+0
| | | | | pango-segmentation is not a test, so don't call g_test_message.
* pango-segmentation: FixesMatthias Clasen2021-05-232-6/+29
| | | | | Only build pango-segmentation if we have cairo. And add --version here too.
* pango-list: Add --versionMatthias Clasen2021-05-231-3/+11
|
* Only build pango-segmentation if we have cairoMatthias Clasen2021-05-231-7/+7
|
* Add pango-segmentationsegmentation-utilMatthias Clasen2021-05-092-0/+189
| | | | A little utility to show text segmentation.
* Fix leaks found by asanSzunti2021-01-161-0/+1
|
* utils: Don't use deprecated apiMatthias Clasen2020-09-182-3/+3
| | | | | Port pango-viewer to use the new pango_fc_font_map_set_default_substitute.
* meson: Fix help2man options command lineRico Tzschichholz2020-06-081-1/+1
|
* pango-view: Add a --subpixel-positions optionMatthias Clasen2019-08-033-0/+8
| | | | | | This lets us explore the influence of subpixel positioning in various contexts without relying on gtk applications.
* pango-view: Add font optionsMatthias Clasen2019-07-313-2/+132
| | | | | | | Add commandline options for antialiasing, subpixel order and metrics hinting, so we can reproduce font rendering issues with pango-view.
* pango-list: Call setlocale in main functionTing-Wei Lan2019-07-291-0/+2
| | | | | | 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.
* Fix up harfbuzz includesMatthias Clasen2019-07-281-1/+1
| | | | | | The correct include is without harfbuzz/. Closes: https://gitlab.gnome.org/GNOME/pango/issues/387
* pango-list: Optionally show variationsMatthias Clasen2019-07-251-0/+58
| | | | | This is not perfect; we really need harfbuzz api to get design coords of a hb_font_t.
* Add a test file for coloring ArabicMatthias Clasen2019-07-241-0/+2
| | | | | | | 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