summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Use the allow_breaks attributeMatthias Clasen2019-07-201-2/+2
| | | | | | In the test-hyphen.txt file, we dont want the hyphenation examples to be broken, so use the allow_breaks attribute to prevent that.
* Add a test file with lots of hyphensMatthias Clasen2019-07-181-0/+3
| | | | | | | 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
* pango-list: Be niceMatthias Clasen2019-07-181-2/+2
| | | | No need to dump core because somebody typoed an option.
* pango-list: Add a --metrics optionMatthias Clasen2019-07-161-32/+43
| | | | | Make the output a bit more compact, and optionally print out font metrics as well.
* pango-list: Fix a compiler warningMatthias Clasen2019-07-161-0/+1
|
* pango-list: Add a --verbose optionMatthias Clasen2019-07-161-0/+23
|
* pango-view: Make it possible to turn line-spacing offMatthias Clasen2019-07-161-4/+6
|
* Revert "utils: Link against libpangocairo"Matthias Clasen2019-07-121-1/+1
| | | | This reverts commit 37fd3ce13b643d1743ae8b69c453a2cfcb0e3eb0.
* utils: Link against libpangocairoMatthias Clasen2019-07-091-1/+1
| | | | Same here.
* pango-view: Add a --line-spacing optionMatthias Clasen2019-07-051-0/+6
| | | | Add a way to try pango_layout_set_line_spacing().
* pango-viewer: Optionally show line rectsMatthias Clasen2019-07-041-2/+27
| | | | | | With --annotate 3, show the logical rects for each line. This makes the spacing between lines easily visible.
* pango-view: Add a --spacing optionMatthias Clasen2019-07-041-0/+6
|
* Drop g_type_init callsMatthias Clasen2019-07-042-6/+0
| | | | | These were ifdefed to an older version of GLib than we require now, so are just dead code.
* font-list: print out family detailsMatthias Clasen2018-11-191-1/+17
| | | | | Show if a family is monospace or variable, mainly to prove that the APIs work.
* meson: Don't run help2man when cross buildingNirbheek Chauhan2018-10-121-1/+3
|
* Drop autotoolsMatthias Clasen2018-08-281-115/+0
| | | | We will just use meson from now on.
* Add pango-list to meson buildMatthias Clasen2018-07-181-0/+22
|
* [pango-list] Don't print sizesBehdad Esfahbod2018-07-161-1/+1
| | | | | They are not used in font chooser, so don't call them. My goal for pango-list was to measure font chooser performance...
* [pango-list] Minor fixupBehdad Esfahbod2018-07-081-2/+2
|
* [pango-list] Improve output formatBehdad Esfahbod2018-07-081-12/+30
| | | | | | 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...
* [utils] Add pango-list commandline toolBehdad Esfahbod2018-07-082-0/+91
| | | | | My main interest is performance of font listing API. Figured I can just make a tool out of it. Output format to be improved.
* [pango-view] Remove unused include stdio.hBehdad Esfahbod2018-07-081-1/+0
|
* Rename pango-view/ dir to utils/Behdad Esfahbod2018-07-0838-0/+3533