Commit Graph

11 Commits

Author SHA1 Message Date
Behdad Esfahbod
422558142a [util] Account for line-space in surface size 2011-09-19 17:57:02 -04:00
Behdad Esfahbod
8b8b19056d [util] Add hb-shape utility
Like hb-view, but prints out buffer contents.

The output format is kinda cryptic.  Suggestions welcome.
2011-09-19 16:41:17 -04:00
Behdad Esfahbod
f6496663c2 [util] If no text is provided, simply call cairo_show_glyphs() 2011-09-19 15:45:52 -04:00
Behdad Esfahbod
11e51993ab [util] Move font-size into view-options 2011-09-19 09:58:55 -04:00
Behdad Esfahbod
d2b3ab9ece Fix "[util] Fix hb-view crash with bogus font." 2011-09-16 17:00:08 -04:00
Behdad Esfahbod
da4a2a1426 Cosmetic 2011-09-16 16:57:03 -04:00
Behdad Esfahbod
4274ed7ab6 [util] Fix hb-view crash with bogus font 2011-09-16 16:52:26 -04:00
Behdad Esfahbod
55aeb04904 Fix reading text from stdin 2011-09-16 02:08:36 -04:00
Behdad Esfahbod
7bf6ecd3bf Always shape at size=upem
Fixes bug with uniscribe not handling GIGANTIC sizes.
2011-09-16 01:11:30 -04:00
Behdad Esfahbod
f7e2ef74f8 [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.
2011-09-15 18:01:24 -04:00
Behdad Esfahbod
b9b10ad78b [util] Refactor hb-view completely
Now we can use the same code to do other utils...
2011-09-15 00:30:41 -04:00