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
d2b3ab9ece
Fix "[util] Fix hb-view crash with bogus font."
13 years ago
Behdad Esfahbod
da4a2a1426
Cosmetic
13 years ago
Behdad Esfahbod
4274ed7ab6
[util] Fix hb-view crash with bogus font
13 years ago
Behdad Esfahbod
5ddd9cc499
Minor
13 years ago
Behdad Esfahbod
652d64aa8d
TODO items
13 years ago
Behdad Esfahbod
947c9a778c
Minor
13 years ago
Behdad Esfahbod
d5476a30a1
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
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
36b10f58cc
Minor
13 years ago
Behdad Esfahbod
c4611cb66f
Fix test
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
46d86a73a1
Minor
...
We now support using -1 for NUL-terminated strings.
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
bc187e5ac7
Refine Indic scripts, following Martin Hosken's recommendation
13 years ago
Behdad Esfahbod
738d096a06
Pass through unknown ISO 639-3 language tags to OpenType engine
...
In hb_ot_tag_from_language(), if first component of an unknown
language is three letters long, use it directly as OpenType language
tag (after case conversion and padding).
13 years ago
Behdad Esfahbod
ea02cbf03c
[graphite] Don't preload glyphs
...
Doesn't seem to be slower.
13 years ago
Behdad Esfahbod
210a06f3d7
Minor
13 years ago
Behdad Esfahbod
4a8d2e379a
[graphite2] Chop a few more lines
13 years ago
Behdad Esfahbod
81ec289da7
Minor
13 years ago
Behdad Esfahbod
3380de5abb
[graphite] Use buffer->replace_glyphs()
13 years ago
Behdad Esfahbod
9ebe8c0286
Add buffer->replace_glyphs()
13 years ago
Behdad Esfahbod
a5edb1031c
Minor
13 years ago
Behdad Esfahbod
290e3ee517
[graphite] Only pass the first part language tag to graphite
...
Still not sure about:
1) Case. We pass lowercase for now. Would be nice if graphite was
uppercase 3letter like OpenType,
2) Padding. IMO, tag padding is always with spaces, but Martin was
talking about NUL bytes.
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
a499bdea5c
[graphite2] Bail if grface is NULL
13 years ago
Behdad Esfahbod
3007ffa9e5
Reorder combining-class to better suit Arabic shadda mark-mark positioning
...
As reported by Khaled on the list:
"After the introduction of canonical reordering of combining marks
(commit 34c22f8
), I'm no longer able to do mark/mark substitution or
positioning for mark sequences that involve shadda as a first mark (or
most interesting sequences at least).
"After some digging, it turned out that shadda have a ccc=33 while most
Arabic marks that combine with it have a lower ccc value, which results
in the shadda being reordered after the other mark which,
unsurprisingly, breaks my contextual substitution and mkmk anchors."
See:
http://unicode.org/faq/normalization.html#8
http://unicode.org/faq/normalization.html#9
13 years ago
Behdad Esfahbod
74ef81a0b0
Fix make distcheck
13 years ago
Behdad Esfahbod
24bcdbcc06
Add hb-ot-hmtx-table.hh
...
Oops!
13 years ago
Behdad Esfahbod
a3bd8a0e18
[graphite] Rewrite properly
13 years ago
Behdad Esfahbod
5072934c35
Minor
13 years ago
Behdad Esfahbod
46377396ac
[configure] Fix graphite bits
13 years ago
Behdad Esfahbod
71388b3ee7
[uniscribe] Minor
13 years ago
Behdad Esfahbod
cd2b901027
[graphite] Minor
13 years ago
Behdad Esfahbod
834af3b48a
[graphite] Remove hb_graphite2_feature_check()
...
I don't see how this function can be useful.
13 years ago
Behdad Esfahbod
1f49cf32c9
Add graphite2 integration from Martin Hosken
...
To be modified, a lot.
13 years ago
Behdad Esfahbod
0e6d36d8a3
Minor
13 years ago
Behdad Esfahbod
efde811325
Add a constructor for hb_prealloced_array_t
...
Fixes build with MSVC.
13 years ago
Behdad Esfahbod
d75333f166
Add gobject enum support, but disabled for now
...
need to figure out the naming. The generated code doesn't have the
right name.
13 years ago
Behdad Esfahbod
7d235d272f
Flesh out tt funcs a bit
13 years ago