Behdad Esfahbod
1d67ef980f
Move code around
12 years ago
Behdad Esfahbod
ec35a72a44
[OTLayout] Port apply() operator to process() template
12 years ago
Behdad Esfahbod
2005fa5340
[OTLayout] Port would_apply() and get_coverage() to process() templates
12 years ago
Behdad Esfahbod
44fc237b53
[OTLayout] Port closure() to process() template
12 years ago
Behdad Esfahbod
5be86b1bb4
[ucdn] Make data tables const!
12 years ago
Behdad Esfahbod
7c5b7fe686
Fix hb_shape_plan_get_shaper()
12 years ago
Behdad Esfahbod
4c89635765
0.9.7
12 years ago
Behdad Esfahbod
ac064a2db2
Rename hb_set_population() to hb_set_get_population()
12 years ago
Behdad Esfahbod
16c914c2a6
[Indic] One more try at unbreaking Khmer fonts
...
See comments and discussion on the list.
12 years ago
Behdad Esfahbod
e8cfdd7fa8
Start implementing collect_glyphs() operation
...
Not functional yet.
12 years ago
Behdad Esfahbod
7d52e6601f
Whitespace
12 years ago
Behdad Esfahbod
51bb498b7b
Minor
12 years ago
Behdad Esfahbod
89ca8eeb83
Implement hb_ot_layout_get_glyphs_in_class()
12 years ago
Behdad Esfahbod
5a08ecf920
Implement hb_ot_layout_get_glyph_class()
12 years ago
Behdad Esfahbod
f9edd5d56b
Implement hb_shape_plan_get_shaper()
...
Untested.
12 years ago
Behdad Esfahbod
43b6531500
[Indic] Another try to unbreak Sinhala split matras
...
Just read the comments...
12 years ago
Behdad Esfahbod
977f1740ac
Unbreak tests
12 years ago
Behdad Esfahbod
eba312c8d1
Plumbing to get shape plan and font into complex decompose function
...
So we can handle Sinhala split matras smartly... Coming soon.
12 years ago
Behdad Esfahbod
3f82f8ff07
Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties()
12 years ago
Behdad Esfahbod
f30641038b
Bunch of independent changes (ouch)
...
API additions:
hb_segment_properties_t
HB_SEGMENT_PROPERTIES_DEFAULT
hb_segment_properties_equal()
hb_segment_properties_hash()
hb_buffer_set_segment_properties()
hb_buffer_get_segment_properties()
hb_ot_layout_glyph_class_t
hb_shape_plan_t
hb_shape_plan_create()
hb_shape_plan_create_cached()
hb_shape_plan_get_empty()
hb_shape_plan_reference()
hb_shape_plan_destroy()
hb_shape_plan_set_user_data()
hb_shape_plan_get_user_data()
hb_shape_plan_execute()
hb_ot_shape_plan_collect_lookups()
API changes:
Rename hb_ot_layout_feature_get_lookup_indexes() to
hb_ot_layout_feature_get_lookups().
New header file:
hb-shape-plan.h
And a bunch of prototyped but not implemented stuff. Coming soon.
(Tests fail because of the prototypes right now.)
12 years ago
Behdad Esfahbod
75da37dcb1
Minor
12 years ago
Behdad Esfahbod
e05a999495
Add hb_face_[sg]et_glyph_count()
12 years ago
Behdad Esfahbod
aec89de564
Add / modify set API a bit
12 years ago
Behdad Esfahbod
c54599ad26
Minor
12 years ago
Behdad Esfahbod
d1aa143ca4
[Thai] Remove U+0E2C from "AC" consonants
...
WinXP doesn't include it.
12 years ago
Behdad Esfahbod
362a990b22
Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup()
...
To match upcoming API.
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
3cec819d39
Make the OT shaper default, even if CoreText or Uniscribe is enabled
12 years ago
Behdad Esfahbod
072ae7a982
Add hb_buffer_serialize_list_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
fd0de881f4
Avoid C++ undefined behavior
...
https://bugzilla.mozilla.org/show_bug.cgi?id=810823
12 years ago
Behdad Esfahbod
f41dc2d35b
Fix undefined behavior in Indic dottedcircle
...
Chromium Issue 158998: Conditional jump in harfbuzz-ng
http://code.google.com/p/chromium/issues/detail?id=158998
12 years ago
Behdad Esfahbod
1eb3e94fe9
[Thai] Implement PUA-based fallback shaping
...
As explained here:
http://linux.thai.net/~thep/th-otf/shaping.html
Our output now matches Uniscribe for old fonts (eg. XP Tahoma) with no
Thai GSUB table.
12 years ago
Behdad Esfahbod
851784f837
Improve shaper selection
12 years ago
Behdad Esfahbod
f3584d3a3a
Add test cases for Thai PUA shaping
12 years ago
Behdad Esfahbod
43f04a7456
Move Thai shaper into a separate file
12 years ago
Behdad Esfahbod
ba82325b7a
Add note re 'Phags-pa letter U+A872, which is Joining_Type=L
12 years ago
Behdad Esfahbod
d469fadce8
[Indic] Exchange abort() for assert()
12 years ago
Behdad Esfahbod
0f80a89de9
Don't route Kharoshthi through the Indic shaper
...
It's a simple, right-to-left, script.
12 years ago
Behdad Esfahbod
e67072bb17
[Indic] Handle overstruck matra position
12 years ago
Behdad Esfahbod
7e99e4f074
Reposition Lao marks
...
Lao marks are center-aligned, unlike Thai ones.
12 years ago
Behdad Esfahbod
865745b5b8
Don't do fallback positioning for Indic and Thai shapers
12 years ago
Behdad Esfahbod
981748cb2e
[Indic] If Khmer fonts have a 'liga' feature, use generic shaper
...
Seems to produce more coherent results than trying the Indic shaper on
them. I'm looking at you, Kh-* fonts...
12 years ago
Behdad Esfahbod
6b19fa4862
Adjust diff rule for the new hb-shape output format
12 years ago
Behdad Esfahbod
dde5506fd9
[Indic] Don't move virama with left matra
...
This is important for the Sinhala U+0DDA split matra since it decomposes
to U+0DD9,U+0DCA where U+0DD9 is a left matra and U+0DCA is the virama.
We don't want to move the virama with the left matra.
TEST: U+0D9A,U+0DDA
Note that we were already doing this in the Uniscribe bug compatibility
mode. We now do it all the time.
12 years ago
Behdad Esfahbod
82c4d9880a
Add Sinhala test case for split matra U+0DDA
12 years ago
Behdad Esfahbod
d04b128531
Fix test
12 years ago
Behdad Esfahbod
92f9bfed42
Minor
12 years ago
Behdad Esfahbod
66ac2ff32e
API change: Remove "mask" from hb_buffer_add()
...
I don't expect anybody using hb_buffer_add(), so this shouldn't break
anyone's code.
12 years ago
Behdad Esfahbod
407f80d625
[util] Add --bot / --eot / --preserve-default-ignorables
12 years ago