Behdad Esfahbod
eb56f6ae96
Minor
12 years ago
Behdad Esfahbod
f4e48adcdd
[OT] Apply 'rclt' feature in horizontal mode
...
'rclt' is "Required Contextual Forms" being proposed by Microsoft.
It's like 'calt', but supposedly always on. We apply 'calt' anyway,
and now apply this too.
12 years ago
Behdad Esfahbod
b1914b8bd0
Fix warnings
12 years ago
Behdad Esfahbod
0f8881d6bb
More refactoring
12 years ago
Behdad Esfahbod
428dfcab66
Minor refactoring
12 years ago
Behdad Esfahbod
61f41849af
Add Hebrew presentation forms shaping
...
Lifted from https://bugzilla.mozilla.org/show_bug.cgi?id=728866
12 years ago
Behdad Esfahbod
32d71dc133
[Graphite] Minor
12 years ago
Behdad Esfahbod
030ac5022e
Remove enum trailing comma
...
...again.
12 years ago
Behdad Esfahbod
368b4e7649
Minor
12 years ago
Behdad Esfahbod
ade7459ea7
[util] Fix leaks
12 years ago
Behdad Esfahbod
2fef993460
[Graphite] Fix graphite2 backend with RTL text
...
Patch from Martin Hosken.
12 years ago
Behdad Esfahbod
e4992e13e1
[Graphite] Port graphite2 backend to new shaper infrastructure
12 years ago
Behdad Esfahbod
66591ececf
Remove unnecessary lifecycle bits
...
We already set recount to INVALID when destroying.
This block was not necessary.
12 years ago
Behdad Esfahbod
e3320ecc1b
Fix compiler warnings
12 years ago
Behdad Esfahbod
167b625d98
[Indic] Minor, move 'blwf' after 'half'
...
We don't apply them together anyway. Should not make any difference
right now.
12 years ago
Behdad Esfahbod
048e3b596f
Speed up hb_set_digest_lowest_bits_t calcs
12 years ago
Behdad Esfahbod
3d1b66a35e
Speed up hb_set_digest_common_bits_t calcs
12 years ago
Behdad Esfahbod
bdc48a879a
Enlarge glyph_name buffer
...
Lohit Devanagari has a glyph named:
u0924_u094D.half_u0930_u094D.blwf.vatu
12 years ago
Behdad Esfahbod
25326c2359
Rewrite ARRAY_LENGTH as a template function
...
Such it wouldn't apply to pointers accidentally.
12 years ago
Behdad Esfahbod
8ba8042821
[Indic] Fix consonant position font lookup logic
...
Oops. I broken this badly and the test suite did not notice. That
worries me. Have to investigate.
12 years ago
Behdad Esfahbod
abd0c05f1f
Minor
12 years ago
Behdad Esfahbod
46ee108ef8
Fix leak
12 years ago
Behdad Esfahbod
71baea0062
[OT] Use general-category, not GDEF class, to decide to zero mark advances
...
At this point, the GDEF glyph synthesis looks pointless. Not that I
have many fonts without GDEF lying around.
As for mark advance zeroing when GPOS not available, that also is being
replaced by proper fallback mark positioning soon.
12 years ago
Behdad Esfahbod
3a7e137a68
Dn't use gint
12 years ago
Behdad Esfahbod
11b0e20ba4
[Indic] Add per-script configuration tables
...
This concludes the Indic shape_plan work. May do for Arabic also...
12 years ago
Behdad Esfahbod
85fc6c483f
[Indic] Move more stuff to the shape_plan
...
Almost done. Need to add per-script static tables.
12 years ago
Behdad Esfahbod
914ffaa40f
[Indic] Move more repeated work into shape_plan
12 years ago
Behdad Esfahbod
a8c6da90f4
[OT] Add per-complex-shaper shape_plan data
...
Hookup some Indic data to it. More to come.
12 years ago
Behdad Esfahbod
8bb5deba96
[OT] Pipe shape_plan down to pause_callbacks
12 years ago
Behdad Esfahbod
3e38c0f288
More massaging
12 years ago
Behdad Esfahbod
16c6a27b4b
[OT] Port complex_shaper to planner/plan
12 years ago
Behdad Esfahbod
5393e3a62b
[OT] Minor refactoring
12 years ago
Behdad Esfahbod
24eacf17c8
[Indic] Move consonant-position-setting into initial_reordering()
12 years ago
Behdad Esfahbod
afbcc24be0
[GSUB] Wire the font, not just the face, down to substitute()
...
We need the font for glyph lookup during GSUB pauses in Indic shaper.
Could perhaps be avoided, but at this point, we don't mean to support
separate substitute()/position() entry points (anymore), so there is
no point in not providing the font to GSUB.
12 years ago
Behdad Esfahbod
b0e6a26a10
[OT] Hide some API
...
It was impossible to meaningfully use them from the outside these days.
12 years ago
Behdad Esfahbod
305246744e
Minor
12 years ago
Behdad Esfahbod
8ef3d53255
[Indic] More refactoring of consonant position peeking in the font
...
To be moved to initial_reordering next...
12 years ago
Behdad Esfahbod
3eb6f81fd3
[Indic] Refactor
...
Move all the logic that needs to eventually move into the indic table
into hb-ot-shape-complex-indic-private.hh.
12 years ago
Behdad Esfahbod
3614ba242f
[Indic] Rename
12 years ago
Behdad Esfahbod
610e5e8f71
[Indic] Streamline feature would_apply()
...
Comes with some 10% speedup for Devanagari even!
12 years ago
Behdad Esfahbod
1d002048d5
[Indic] Minor
12 years ago
Behdad Esfahbod
6f76113755
[GSUB/GPOS] Check array size before accessing digests
12 years ago
Behdad Esfahbod
22148b8c4a
Use Coverage digests in would_apply
12 years ago
Behdad Esfahbod
6c459c8fef
Minor
12 years ago
Behdad Esfahbod
e2b8d75fa6
Use wider set digests on 64-bit archs
12 years ago
Behdad Esfahbod
0120ce9679
[GSUB/GPOS] Remove unused get_coverage() methods
12 years ago
Behdad Esfahbod
1336ecdf8e
[GSUB/GPOS] Use Coverage digests as gatekeeper
...
Gives me a good 10% speedup for the Devanagari test case. Less so
for less lookup-intensive tests.
For the Devanagari test case, the false positive rate of the GSUB digest
is 4%.
12 years ago
Behdad Esfahbod
a878c58a8f
[GSUB/GPOS] Add add_coverage()
12 years ago
Behdad Esfahbod
60a3035ac5
Add hb_set_digest_t
...
Implement two set digests, and one that combines the two.
12 years ago
Behdad Esfahbod
c8accf1dd2
[OT] Templatize Coverage::add_coverage()
12 years ago