Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pango-view: Support transforms with --serialized | Matthias Clasen | 2021-12-18 | 1 | -0/+5 |
| | | | | | We can just use the matrix from the deserialized layout. | ||||
* | pango-view: Add --serialize-to optionviewer-serialize-output | Matthias Clasen | 2021-12-17 | 1 | -2/+17 |
| | | | | Add an option to produce a serialized output. | ||||
* | Fix pango-view option handlingfix-pango-view-options | Matthias Clasen | 2021-12-11 | 1 | -3/+3 |
| | | | | | The --serialized option did not quite work as expected. | ||||
* | Fix pango-view crash | Peng Wu | 2021-11-29 | 1 | -2/+0 |
| | | | | | Remove cairo_debug_reset_static_data function call in pango-view to avoid crash. | ||||
* | pango-view: Deserialize context too | Matthias Clasen | 2021-11-24 | 1 | -1/+1 |
| | | | | | This lets us transfer things like base gravity from layout-editor to pango-view. | ||||
* | Add flags to serialize and deserialize | Matthias Clasen | 2021-11-24 | 1 | -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 layouts | Matthias Clasen | 2021-11-19 | 1 | -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 extents | Matthias Clasen | 2021-11-19 | 1 | -1/+1 |
| | |||||
* | pango-view: Remove debug spew | Matthias Clasen | 2021-11-16 | 1 | -3/+0 |
| | |||||
* | pango-view: Accept width 0 | Matthias Clasen | 2021-11-11 | 1 | -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-units | Matthias Clasen | 2021-11-11 | 1 | -4/+28 |
| | | | | This can make it easier to reproduce problems. | ||||
* | utils: update a comment mentioning GraphicsMagick | Jeremy Bicha | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | Merge branch 'use-gm' into 'main' | Matthias Clasen | 2021-09-09 | 1 | -6/+6 |
|\ | | | | | | | | | Switch to use GraphicsMagick in pango-view See merge request GNOME/pango!472 | ||||
| * | Switch to use GraphicsMagick in pango-view | Peng Wu | 2021-09-09 | 1 | -6/+6 |
| | | |||||
* | | Support antialias option in pango-view with the FreeType backend | Peng Wu | 2021-09-09 | 1 | -0/+5 |
|/ | |||||
* | Cosmetics | Matthias Clasen | 2021-08-30 | 1 | -1/+1 |
| | |||||
* | Cosmetics | Matthias Clasen | 2021-08-30 | 1 | -1/+1 |
| | |||||
* | pango-view: Use pango_glyph_string_index_to_x_fullmore-rtl-cluster-fixes | Matthias Clasen | 2021-08-29 | 1 | -7/+8 |
| | |||||
* | pango-view: Redo --annotate option | Matthias Clasen | 2021-08-29 | 1 | -14/+68 |
| | | | | | Parse the argument as a comma-separated list of names. The old numeric arguments still work. | ||||
* | pango-view: Use the new api | Matthias Clasen | 2021-08-29 | 1 | -3/+2 |
| | | | | | | Use the new run baseline api to correct the positioning of glyph extents and caret positions. | ||||
* | pango-view: Improve glyph extents | Matthias Clasen | 2021-08-29 | 1 | -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 numbering | Matthias Clasen | 2021-08-29 | 1 | -2/+7 |
| | | | | | Don't overwrite caret position numbers with different numbers. | ||||
* | pango-view: Don't draw the empty run | Matthias Clasen | 2021-08-29 | 1 | -0/+5 |
| | |||||
* | pango-view: Fix slope of carets | Matthias Clasen | 2021-08-29 | 1 | -4/+2 |
| | | | | We want vertical carets to be really vertical. | ||||
* | pango-view: Split caret positions and slopes | Matthias Clasen | 2021-08-28 | 1 | -13/+26 |
| | | | | Still some bits left! | ||||
* | pango-view: Fix caret visualization | Matthias Clasen | 2021-08-28 | 1 | -2/+9 |
| | | | | I was confusing char and byte offsets here. | ||||
* | pango-view: Show caret slopes as well | Matthias Clasen | 2021-08-27 | 1 | -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-fixes | Matthias Clasen | 2021-08-27 | 1 | -11/+69 |
| | |||||
* | pango-viewer: Number carets | Matthias Clasen | 2021-08-27 | 1 | -0/+7 |
| | | | | | When showing caret positions, put a little number next to them to indicate the order. | ||||
* | pango-view: Be more careful about caret positions | Matthias Clasen | 2021-08-27 | 1 | -12/+23 |
| | | | | | Don't show carets where they don't belong. Skip non-cursor positions. | ||||
* | pango-view: Don't omit the last caret position | Matthias Clasen | 2021-08-25 | 1 | -8/+16 |
| | | | | We want to draw n+1 dots, the last one with trailing == 1. | ||||
* | pango-viewer: Visualize caret positions | Matthias Clasen | 2021-08-25 | 1 | -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 handling | Matthias Clasen | 2021-08-19 | 1 | -129/+229 |
| | | | | | Make this separate flags, so things can be turned on and off separately. | ||||
* | Add an option to pango-viewjustify-last-line | Matthias Clasen | 2021-08-10 | 1 | -2/+6 |
| | | | | | Give pango-view a --justify-last-line option to test the new PangoLayout option for this. | ||||
* | utils: Fix win32 build | Matthias Clasen | 2021-07-09 | 1 | -0/+1 |
| | | | | We need stdlib.h for exit(). | ||||
* | pango-segmentation: Add a --text optionsegmentation-tweaks | Matthias Clasen | 2021-07-09 | 1 | -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 code | Matthias Clasen | 2021-07-06 | 1 | -11/+0 |
| | | | | | pango-segmentation is not a test, so don't call g_test_message. | ||||
* | pango-segmentation: Fixes | Matthias Clasen | 2021-05-23 | 2 | -6/+29 |
| | | | | | Only build pango-segmentation if we have cairo. And add --version here too. | ||||
* | pango-list: Add --version | Matthias Clasen | 2021-05-23 | 1 | -3/+11 |
| | |||||
* | Only build pango-segmentation if we have cairo | Matthias Clasen | 2021-05-23 | 1 | -7/+7 |
| | |||||
* | Add pango-segmentationsegmentation-util | Matthias Clasen | 2021-05-09 | 2 | -0/+189 |
| | | | | A little utility to show text segmentation. | ||||
* | Fix leaks found by asan | Szunti | 2021-01-16 | 1 | -0/+1 |
| | |||||
* | utils: Don't use deprecated api | Matthias Clasen | 2020-09-18 | 2 | -3/+3 |
| | | | | | Port pango-viewer to use the new pango_fc_font_map_set_default_substitute. | ||||
* | meson: Fix help2man options command line | Rico Tzschichholz | 2020-06-08 | 1 | -1/+1 |
| | |||||
* | pango-view: Add a --subpixel-positions option | Matthias Clasen | 2019-08-03 | 3 | -0/+8 |
| | | | | | | This lets us explore the influence of subpixel positioning in various contexts without relying on gtk applications. | ||||
* | pango-view: Add font options | Matthias Clasen | 2019-07-31 | 3 | -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 function | Ting-Wei Lan | 2019-07-29 | 1 | -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 includes | Matthias Clasen | 2019-07-28 | 1 | -1/+1 |
| | | | | | | The correct include is without harfbuzz/. Closes: https://gitlab.gnome.org/GNOME/pango/issues/387 | ||||
* | pango-list: Optionally show variations | Matthias Clasen | 2019-07-25 | 1 | -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 Arabic | Matthias Clasen | 2019-07-24 | 1 | -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 |