Behdad Esfahbod
5857720cd3
[util] s/%d/%u/ when printing glyph ids and clusters
13 years ago
Behdad Esfahbod
d3f3690b48
hb-shape: In --no-glyph-names, output glyph number directly
...
Ie. write "86" instead of "gid86".
13 years ago
Behdad Esfahbod
088c1e27c0
[util] Fix option parsing
...
Wow, who knew bool is one byte and I was using it as a 4byte int?!
C++ auto casts fails you in mysterious ways...
13 years ago
Behdad Esfahbod
422558142a
[util] Account for line-space in surface size
13 years ago
Behdad Esfahbod
b5afd8f78e
[util] Rename --output to --output_file, and --format to --output-format
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
11e51993ab
[util] Move font-size into view-options
13 years ago
Behdad Esfahbod
0fe2960197
Fix Linux build when io.h is available
...
Bug 40953 - fail compile git: make[2]: *** [hb_view-options.o] Error 1
13 years ago
Behdad Esfahbod
5ddd9cc499
Minor
13 years ago
Behdad Esfahbod
55aeb04904
Fix reading text from stdin
13 years ago
Behdad Esfahbod
a75c1b1251
Move code around
13 years ago
Behdad Esfahbod
7bf6ecd3bf
Always shape at size=upem
...
Fixes bug with uniscribe not handling GIGANTIC sizes.
13 years ago
Behdad Esfahbod
674ee58d9b
Minor
13 years ago
Behdad Esfahbod
4451168e5d
Fix binary stdin/stdout io in Windows
...
Make --font-file accept "-" to mean stdin, and have it work
in Windows too!
13 years ago
Behdad Esfahbod
639b5957d9
Minor
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
Behdad Esfahbod
bc4b07b05e
More reshuffling
13 years ago
Behdad Esfahbod
109cb38289
[util] Further refactor option parsing
13 years ago
Behdad Esfahbod
4c9fe88d30
[API] Make all _from_string() functions take a len parameter
...
Can be -1 for NUL-terminated string. This is useful for passing parts
of a larger string to a function without having to copy or modify the
string first.
Affected functions:
hb_tag_t hb_tag_from_string()
hb_direction_from_string()
hb_language_from_string()
hb_script_from_string()
13 years ago
Behdad Esfahbod
97796453aa
Fix falloffs of the GOption conversion
13 years ago
Behdad Esfahbod
3bb300ee78
Refactor hb-view code
13 years ago