Behdad Esfahbod
2097951110
[util] Change default font size of hb-view to 256
...
Most common usecase of hb-view is to test rendering of short words for
testing / inspection. Not having to type "--font-size 150" each time
isn't such a bad idea...
13 years ago
Behdad Esfahbod
95cefdf96e
Add --utf8-clusters
...
Also fix cairo cluster generation.
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
6bd9b479b8
Hide backend-specific shape functions
...
Also remove shaper_options argument to hb_shape_full(). That was
unused and for "future". Let it go.
More shaper API coming in preparation for plan/planned API.
13 years ago
Behdad Esfahbod
d530024168
[util] Make clusters work with char offset instead of UTF-8 offset
...
This means the --features indices also refer to char position
instead of byte position now. Same for cluster values reported
by hb-shape.
Will add an option for byte indices later.
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
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
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
55aeb04904
Fix reading text from stdin
13 years ago
Behdad Esfahbod
a75c1b1251
Move code around
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
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
Behdad Esfahbod
bc4b07b05e
More reshuffling
13 years ago
Behdad Esfahbod
516857eb51
[util] Simplify more
13 years ago
Behdad Esfahbod
4f4b114a55
[util] Move code around
13 years ago
Behdad Esfahbod
90e312cb85
[util] Move code around
13 years ago
Behdad Esfahbod
109cb38289
[util] Further refactor option parsing
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
Behdad Esfahbod
c605bbbb6d
Remove C++ guards from source files
...
Where causing issues for people with MSVC.
13 years ago
Behdad Esfahbod
6a4e7e1372
Add maxp table
...
Not used for anything right now. Will use to get num_glyphs in the future.
14 years ago
Behdad Esfahbod
c78f448558
[API] Add version macros and functions
...
Step version up to 0.5.0.
Also, fix to pass "make distcheck"
14 years ago
Behdad Esfahbod
2409d5f8d7
Update Copyright headers
14 years ago
Behdad Esfahbod
f144a8ea84
[icu] Add two-way script conversion functions
...
Also optimizes the common-direction script lookup.
14 years ago
Behdad Esfahbod
acdba3f90b
Prefer C linkage
15 years ago
Behdad Esfahbod
c755cb3e3a
Change header comment
15 years ago
Behdad Esfahbod
8fb3d1aa4e
Start ft glue
15 years ago
Behdad Esfahbod
d94647e2cd
Add ICU glue
15 years ago
Behdad Esfahbod
081819ea8b
[OT] Hookup glib unicode funcs
15 years ago
Behdad Esfahbod
49f261df2a
[HB] Add hb-glib
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