Behdad Esfahbod
89d89646e8
Fix intrin.h b0rkage with older MSVC
...
Reported by Jonathan Kew.
2011-10-17 11:50:54 -07:00
Behdad Esfahbod
af913c5788
Fix infinite loop in normalization code with variation selectors
...
Reported by Jonathan Kew.
2011-10-17 11:39:28 -07:00
Behdad Esfahbod
fd528c17b7
[util] Add --list-shapers to hb-view and hb-shape
2011-10-12 15:03:58 -04:00
Behdad Esfahbod
a17554bfd5
Make test-c.c actually use hb
...
This will make sure we test that C code can actually link to the
library.
2011-09-28 16:57:34 -04:00
Behdad Esfahbod
55deff7595
Add comments
2011-09-28 16:20:09 -04:00
Behdad Esfahbod
a240d5a0a3
Add TODO item
2011-09-27 13:50:45 -04:00
Behdad Esfahbod
52ebdff49d
Fix GSUB lookuptype 1 subtype 1 delta wrapping
2011-09-27 12:38:16 -04:00
Behdad Esfahbod
5857720cd3
[util] s/%d/%u/ when printing glyph ids and clusters
2011-09-27 12:36:26 -04:00
Behdad Esfahbod
b95324cdd2
Minor
2011-09-21 16:50:39 -04:00
Behdad Esfahbod
0cd33592ab
Fix possible leaks
2011-09-21 16:49:33 -04:00
Behdad Esfahbod
d3f3690b48
hb-shape: In --no-glyph-names, output glyph number directly
...
Ie. write "86" instead of "gid86".
2011-09-21 16:41:43 -04:00
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...
2011-09-20 14:43:55 -04:00
Behdad Esfahbod
d606daa4cc
Whitespace
2011-09-20 14:34:06 -04:00
Behdad Esfahbod
e700bce118
[util] Add hb-diff
...
A diff program written in Python that is more suitable for comparing
hb-shape output from different backends. Main differences with stock
diff:
1. It outputs one line's comparison at a time, as opposed to batching
'+' lines and '-' lines.
2. It colors the part of the line that changed, taking word boundaries
into consideration.
You can pipe the colored output to 'less -r'.
2011-09-20 11:20:53 -04:00
Behdad Esfahbod
880c1f0e4e
Rewrite ICU detection code with in-house macros
...
At least works for cross-compiling now...
2011-09-19 23:10:22 -04:00
Behdad Esfahbod
f83f0f4836
[graphite] Add note about graphite shaker brokenness
2011-09-19 18:51:48 -04:00
Behdad Esfahbod
422558142a
[util] Account for line-space in surface size
2011-09-19 17:57:02 -04:00
Behdad Esfahbod
b5afd8f78e
[util] Rename --output to --output_file, and --format to --output-format
2011-09-19 16:56:21 -04:00
Behdad Esfahbod
0a965eee88
Minor
2011-09-19 16:53:47 -04:00
Behdad Esfahbod
466393c2f0
Really fix build this time
2011-09-19 16:50:18 -04:00
Behdad Esfahbod
fe1605db4f
Fix dist
2011-09-19 16:49:03 -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
eb2d8be7a8
Minor
2011-09-19 16:15:22 -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
5c29934311
[uniscribe] Various improvements
2011-09-19 14:53:26 -04:00
Behdad Esfahbod
11e51993ab
[util] Move font-size into view-options
2011-09-19 09:58:55 -04:00
Behdad Esfahbod
0fe2960197
Fix Linux build when io.h is available
...
Bug 40953 - fail compile git: make[2]: *** [hb_view-options.o] Error 1
2011-09-17 09:59:58 -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
5ddd9cc499
Minor
2011-09-16 16:40:44 -04:00
Behdad Esfahbod
652d64aa8d
TODO items
2011-09-16 16:34:39 -04:00
Behdad Esfahbod
947c9a778c
Minor
2011-09-16 16:33:18 -04:00
Behdad Esfahbod
d5476a30a1
Minor
2011-09-16 12:30:50 -04:00
Behdad Esfahbod
55aeb04904
Fix reading text from stdin
2011-09-16 02:08:36 -04:00
Behdad Esfahbod
a75c1b1251
Move code around
2011-09-16 01:16:41 -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
674ee58d9b
Minor
2011-09-16 00:54:05 -04:00
Behdad Esfahbod
4451168e5d
Fix binary stdin/stdout io in Windows
...
Make --font-file accept "-" to mean stdin, and have it work
in Windows too!
2011-09-16 00:41:08 -04:00
Behdad Esfahbod
639b5957d9
Minor
2011-09-15 18:09:49 -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
36b10f58cc
Minor
2011-09-15 16:29:51 -04:00
Behdad Esfahbod
c4611cb66f
Fix test
2011-09-15 00:32:39 -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
Behdad Esfahbod
bc4b07b05e
More reshuffling
2011-09-08 17:11:01 -04:00
Behdad Esfahbod
516857eb51
[util] Simplify more
2011-09-08 16:50:24 -04:00
Behdad Esfahbod
4f4b114a55
[util] Move code around
2011-09-08 16:49:02 -04:00
Behdad Esfahbod
46d86a73a1
Minor
...
We now support using -1 for NUL-terminated strings.
2011-09-08 16:43:15 -04:00
Behdad Esfahbod
90e312cb85
[util] Move code around
2011-09-08 16:42:37 -04:00
Behdad Esfahbod
109cb38289
[util] Further refactor option parsing
2011-09-08 16:00:04 -04:00