Behdad Esfahbod
|
069c5de9f8
|
[util/hb-view] Add --font-extents
Fixes https://github.com/harfbuzz/harfbuzz/issues/2402
|
5 years ago |
Ebrahim Byagowi
|
eaf649450a
|
Resolve clang's conditional-uninitialize warnings
|
7 years ago |
Behdad Esfahbod
|
808d3fc0ea
|
[util] Port hb-view to use font metrics from HarfBuzz instead of cairo
|
9 years ago |
Behdad Esfahbod
|
6c0ebd02c9
|
[util] If font has color, generate PNG with color
|
9 years ago |
Behdad Esfahbod
|
e8fd83932a
|
[util/hb-view] Fix rendering with all combinations of negative scales
|
10 years ago |
Behdad Esfahbod
|
69d5af9316
|
[util] Minor
|
10 years ago |
Behdad Esfahbod
|
cd4eb96abb
|
[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.
|
10 years ago |
Behdad Esfahbod
|
5db0683a82
|
[util] Make hb-shape continue shaping other lines if shapers failed
|
13 years ago |
Behdad Esfahbod
|
95cefdf96e
|
Add --utf8-clusters
Also fix cairo cluster generation.
|
13 years ago |
Behdad Esfahbod
|
effb42e5c5
|
Always use cairo_show_text_glyphs()
Better catches cluster errors.
|
13 years ago |
Behdad Esfahbod
|
799cfdd15a
|
Make page progression be right to left for vertical text
|
13 years ago |
Behdad Esfahbod
|
69b84a8f6c
|
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.
|
13 years ago |
Behdad Esfahbod
|
422558142a
|
[util] Account for line-space in surface size
|
13 years ago |
Behdad Esfahbod
|
8b8b19056d
|
[util] Add hb-shape utility
Like hb-view, but prints out buffer contents.
The output format is kinda cryptic. Suggestions welcome.
|
13 years ago |
Behdad Esfahbod
|
f6496663c2
|
[util] If no text is provided, simply call cairo_show_glyphs()
|
13 years ago |
Behdad Esfahbod
|
11e51993ab
|
[util] Move font-size into view-options
|
13 years ago |
Behdad Esfahbod
|
d2b3ab9ece
|
Fix "[util] Fix hb-view crash with bogus font."
|
13 years ago |
Behdad Esfahbod
|
da4a2a1426
|
Cosmetic
|
13 years ago |
Behdad Esfahbod
|
4274ed7ab6
|
[util] Fix hb-view crash with bogus font
|
13 years ago |
Behdad Esfahbod
|
55aeb04904
|
Fix reading text from stdin
|
13 years ago |
Behdad Esfahbod
|
7bf6ecd3bf
|
Always shape at size=upem
Fixes bug with uniscribe not handling GIGANTIC sizes.
|
13 years ago |
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.
|
13 years ago |
Behdad Esfahbod
|
b9b10ad78b
|
[util] Refactor hb-view completely
Now we can use the same code to do other utils...
|
13 years ago |