util/view-cairo.cc


Log

Author Commit Date CI Message
Behdad Esfahbod 808d3fc0 2015-12-10T16:55:16 [util] Port hb-view to use font metrics from HarfBuzz instead of cairo
Behdad Esfahbod 6c0ebd02 2015-11-05T11:37:48 [util] If font has color, generate PNG with color
Behdad Esfahbod e8fd8393 2015-04-09T15:52:26 [util/hb-view] Fix rendering with all combinations of negative scales
Behdad Esfahbod 69d5af93 2015-04-09T15:17:16 [util] Minor
Behdad Esfahbod cd4eb96a 2015-01-20T12:30:45 [util] Add --font-size to hb-shape Also makes hb-view to use 8 bits of subpixel precision and shape at requested size, instead of always shaping at upem and scaling results.
Behdad Esfahbod 5db0683a 2012-06-02T12:13:08 [util] Make hb-shape continue shaping other lines if shapers failed
Behdad Esfahbod 95cefdf9 2012-04-16T18:08:20 Add --utf8-clusters Also fix cairo cluster generation.
Behdad Esfahbod effb42e5 2012-04-16T16:04:07 Always use cairo_show_text_glyphs() Better catches cluster errors.
Behdad Esfahbod 799cfdd1 2012-04-16T16:00:36 Make page progression be right to left for vertical text
Behdad Esfahbod 69b84a8f 2012-04-12T15:50:40 Fix hb-view surface size calc for vertical text For some reason it doesn't quite work with IranianNastaliq, but that looks like a font issue.
Behdad Esfahbod 42255814 2011-09-19T17:57:02 [util] Account for line-space in surface size
Behdad Esfahbod 8b8b1905 2011-09-19T16:41:17 [util] Add hb-shape utility Like hb-view, but prints out buffer contents. The output format is kinda cryptic. Suggestions welcome.
Behdad Esfahbod f6496663 2011-09-19T15:45:52 [util] If no text is provided, simply call cairo_show_glyphs()
Behdad Esfahbod 11e51993 2011-09-19T09:58:55 [util] Move font-size into view-options
Behdad Esfahbod d2b3ab9e 2011-09-16T16:59:17 Fix "[util] Fix hb-view crash with bogus font."
Behdad Esfahbod da4a2a14 2011-09-16T16:56:34 Cosmetic
Behdad Esfahbod 4274ed7a 2011-09-16T16:52:26 [util] Fix hb-view crash with bogus font
Behdad Esfahbod 55aeb049 2011-09-16T02:08:36 Fix reading text from stdin
Behdad Esfahbod 7bf6ecd3 2011-09-16T01:11:30 Always shape at size=upem Fixes bug with uniscribe not handling GIGANTIC sizes.
Behdad Esfahbod f7e2ef74 2011-09-15T17:52:00 [hb-view] Make print to stdout work in Windows Apparently there's no equivalent to "/dev/stdout", so write using stdio to be able to output to stdout.
Behdad Esfahbod b9b10ad7 2011-09-13T13:30:39 [util] Refactor hb-view completely Now we can use the same code to do other utils...