Ebrahim Byagowi
ba810ce83d
[tests] Replace space with colon in batch mode
4 years ago
Ebrahim Byagowi
a0b4ac4dce
Turn 8 spaces to tab across the project
...
According to the current code style of the project
5 years ago
Ebrahim Byagowi
e412008599
Remove redundant void from C++ sources ( #1486 )
6 years ago
Behdad Esfahbod
edaa768253
[util] Use fgets instead of getline such that windows passes
6 years ago
Behdad Esfahbod
58e20f53bf
[util] Add hb-shape --batch
6 years ago
Behdad Esfahbod
71fd6325b6
Add option to buffer serialization to not output glyph advances
...
When advances are not printed, glyph offsets reflect absolute glyph
positions.
New API:
HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES
hb-shape --no-advances
7 years ago
Behdad Esfahbod
dbdbfe3d7b
Use nullptr instead of NULL
7 years ago
Behdad Esfahbod
a9e52a1af4
[util] Prefix trace lines with "trace:", and error lines with "error:"
7 years ago
Behdad Esfahbod
d2052278f2
[util] Add --verify to hb-shape / hb-view that verifies shape results
...
Right now it checks for monotone cluster values. Other checks to be added.
7 years ago
Behdad Esfahbod
40bd7e9a1c
[unsafe-to-break] Add UNSAFE_TO_BREAK flag
...
Not all shapers code is updated to set this properly.
GSUB and Arabic shaper are updated.
GPOS and other shapers are NOT.
Fixes https://github.com/behdad/harfbuzz/issues/224
7 years ago
Behdad Esfahbod
6f38845d9c
[hb-shape] Rename --show-messages to --trace
...
https://github.com/behdad/harfbuzz/issues/506
7 years ago
Behdad Esfahbod
e60350551a
[hb-shape] Improve shaping-debug output
...
Before, that was printed using --debug (and in both hb-shape and hb-view).
Changed it, now hb-shape has a new command-line argument called --show-messages.
When invoked, it also respects other output formatting options. The messages
are better formatted and printed to te same place that hb-shape output is
directed to. Previously they were written to stderr.
Fixes https://github.com/behdad/harfbuzz/issues/506
7 years ago
Philip Withnall
925ceacfed
util: Add missing field initialisers in constructor ( #410 )
...
Coverity ID: 141042
8 years ago
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
11 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