summaryrefslogtreecommitdiff
path: root/utils/viewer-pangocairo.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop the hb-glib dependency againMatthias Clasen2022-03-091-5/+9
| | | | | | It is not really needed. Fixes: #674
* pango-view: Remove debug spewMatthias Clasen2022-03-091-2/+0
|
* pango-view: Show more baselinesMatthias Clasen2022-02-171-1/+117
| | | | | | | | | With --annotation=run-baselines, show the baselines from the BASE table for each run, if harfbuzz knows them. We draw a solid line for baselines that come from the BASE table, and a dashed line for baselines that are synthesized.
* 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: Fix display of char extentsMatthias Clasen2021-11-191-1/+1
|
* 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.
* pango-view: Add a --subpixel-positions optionMatthias Clasen2019-08-031-0/+4
| | | | | | This lets us explore the influence of subpixel positioning in various contexts without relying on gtk applications.
* pango-view: Add font optionsMatthias Clasen2019-07-311-0/+14
| | | | | | | Add commandline options for antialiasing, subpixel order and metrics hinting, so we can reproduce font rendering issues with pango-view.
* 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.
* Rename pango-view/ dir to utils/Behdad Esfahbod2018-07-081-0/+462