Behdad Esfahbod
fdd1770e00
Add API/cmdline to show glyph extents when serializing buffer
...
New API: HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS
hb-shape now accepts --show-extents.
Patch from Simon Cozens.
9 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
0afedaa96c
[util/hb-shape] Fix crash; oops
10 years ago
Behdad Esfahbod
9109f1e944
[util/hb-shape] Accept an empty output-format that would skip output
...
Useful for benchmarking, to avoid buffer serialization overhead (which
seems to by far dominate shaping!)
11 years ago
Behdad Esfahbod
ea5e8a02eb
[util] Plug minor leak
11 years ago
Behdad Esfahbod
4dc798de19
Add hb-deprecated.h, and rename a couple enum values
...
Add deprecated alias for old name.
11 years ago
Behdad Esfahbod
7235f33f9e
Fix misc warnings reported by cppcheck
...
https://bugs.freedesktop.org/show_bug.cgi?id=65544
12 years ago
Behdad Esfahbod
4a765f092d
Minor
12 years ago
Behdad Esfahbod
9815a88111
[util] List supported output formats in --help output
12 years ago
Behdad Esfahbod
6bad092aa8
[util] Default to "text" output format in hb-shape
...
If you say:
hb-shape font.ttf text --output-file out.txt
This was previously failing:
Unknown output format `txt'; supported formats are: TEXT / JSON
Now we simply fallback to TEXT if no explicit format was requested.
12 years ago
Behdad Esfahbod
a4bef84e37
[util] Make hb-shape err if output-format is not understood
...
And list supported formats.
12 years ago
Behdad Esfahbod
f9edf16725
Add buffer serialization / deserialization API
...
Two output formats for now: TEXT, and JSON. For example:
hb-shape --output-format=json
Deserialization API is added, but not implemented yet.
12 years ago
Behdad Esfahbod
0594a24484
Cleanup TRUE/FALSE vs true/false
13 years ago
Behdad Esfahbod
5db0683a82
[util] Make hb-shape continue shaping other lines if shapers failed
13 years ago
Behdad Esfahbod
45675e589e
[util] Refactor to accommodate for upcoming new tool
13 years ago
Behdad Esfahbod
95cefdf96e
Add --utf8-clusters
...
Also fix cairo cluster generation.
13 years ago
Behdad Esfahbod
cdc673d97c
[hb-shape] Add --show-line-num
...
Ok, much more useful as a test suite driver now.
13 years ago
Behdad Esfahbod
cc4d9810d6
[hb-shape] Add --show-text and --show-unicode options
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
b9b10ad78b
[util] Refactor hb-view completely
...
Now we can use the same code to do other utils...
13 years ago
Behdad Esfahbod
3bb300ee78
Refactor hb-view code
13 years ago
Behdad Esfahbod
6af9cff5e1
[test/unicode] Use text fixture instead of static variables
14 years ago
Behdad Esfahbod
2409d5f8d7
Update Copyright headers
14 years ago
Behdad Esfahbod
fb6291d9c9
[test] Add test for headers included from C and C++
14 years ago
Behdad Esfahbod
acdba3f90b
Prefer C linkage
15 years ago
Behdad Esfahbod
15c7379c16
Revert "Merge remote branch 'martin/master'"
...
This reverts commit 80af2812fb
, reversing
changes made to c442672ec2
.
15 years ago
Martin Hosken
1432ab15c1
Add graphical output to hbtestfont
15 years ago
Behdad Esfahbod
aa62a402a7
Fix Makefile to install hb-ot-shape.h
15 years ago
Behdad Esfahbod
c755cb3e3a
Change header comment
15 years ago
Behdad Esfahbod
8a3511ac6c
Add hb_language_t as well as language/script conversion to OT tags
15 years ago
Behdad Esfahbod
678bed4333
[HB] Add top-level header files
15 years ago
Behdad Esfahbod
0cc7bc59ea
[HB] Move typedef's around
15 years ago
Behdad Esfahbod
35a7383c61
[HB] Simplify refcounting functions
15 years ago
Behdad Esfahbod
0090dc0f67
[HB] Remove hinting setting and use ppem==0 to mean "no hinting"
15 years ago
Behdad Esfahbod
2ebb89d63d
Revert "XX"
...
This reverts commit c939f6aff405ca7b10b1f1538f46148bff719fcb.
15 years ago
Behdad Esfahbod
55520d2af1
XX
15 years ago
Behdad Esfahbod
6c78683c04
[HB] Update copyright years
15 years ago
Behdad Esfahbod
f96ffd43bc
[HB] simplify macros
15 years ago
Behdad Esfahbod
c7d457aa3a
[HB] Ouch. Add files.
15 years ago
Behdad Esfahbod
2d15e72c75
Give it a start at GSUB
16 years ago
Behdad Esfahbod
590d55cbb9
[GDEF] Finish public API
17 years ago
Behdad Esfahbod
64aef3a549
Add copyright notices.
17 years ago
Behdad Esfahbod
8dd1c8b8d6
Clean up file names, add namespace
17 years ago