Nathan Willis
939220e57d
Usermanual: clusters chapter, minor updates.
6 years ago
Nathan Willis
53ac46e974
Usermanual: expand clusters chapter.
6 years ago
Behdad Esfahbod
30cb45b3ea
Change ArrayOf.bsearch() return semantics
...
Towards consolidating all array bsearch/...
6 years ago
Behdad Esfahbod
5cd9546ba7
Minor
6 years ago
Behdad Esfahbod
fd94e729cb
Whitespace
6 years ago
Behdad Esfahbod
bb2a206508
Assert that item-type of arrays have static size
6 years ago
Behdad Esfahbod
690d9eb83d
[vector] Rename
6 years ago
Behdad Esfahbod
ba38378fd4
[aat] Minor
6 years ago
Behdad Esfahbod
39b9d63b01
Add hb_static_size(T)
6 years ago
Behdad Esfahbod
f99abcc379
Add template-function convenience macros
6 years ago
Behdad Esfahbod
ec83b2228e
Add null bytes for CmapSubtableLongGroup
6 years ago
Behdad Esfahbod
e2ffb33a53
Remove lsearch for small TableDirectorys
6 years ago
Behdad Esfahbod
04f7e55369
[arrays] Add as_array() to hb_vector_t<>
6 years ago
Behdad Esfahbod
c514f65181
[arrays] Add as_array() to ArrayOf<>
6 years ago
Behdad Esfahbod
9552f4ef0d
[kern] Don't enforce length of last subtable
6 years ago
Behdad Esfahbod
992b712865
Merge pull request #1407 from harfbuzz/at-sign
...
Don't canonicalize '@' to '-' in language tags
6 years ago
David Corbett
018ba46e4d
Don't canonicalize '@' to '-' in language tags
...
Fixes #1406 .
6 years ago
Ebrahim Byagowi
c9cc96c0cf
[aat] Update expectation
6 years ago
Behdad Esfahbod
748962264a
[aat] Disable mark advance zeroing if kern table has state-machines
...
Geeza Pro for example, relies on that for fancy mark positioning.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1405
6 years ago
Behdad Esfahbod
3d2b98ef14
Minor
6 years ago
Ebrahim Byagowi
341851efe1
[aat] Add macOS specific tests ( #1404 )
6 years ago
Behdad Esfahbod
22798e93c4
[use] Minor clarification
6 years ago
Behdad Esfahbod
a2d6c1075a
Minor tweak to FLAG64
6 years ago
Behdad Esfahbod
8280459e74
Merge pull request #1291 from harfbuzz/use-reordering
...
[use] Fix reordering
6 years ago
Behdad Esfahbod
e4a4555d1e
[cmap] Move code around
6 years ago
Behdad Esfahbod
758c9d68e2
[morx/kerx] Limit range to subtable when sanitizing
6 years ago
Behdad Esfahbod
a9fe787a11
[sanitizer] Add reset_object(), make set_object() do bounds-check
...
Affects morx/kerx run-time only currently. Will adjust their sanitize next.
6 years ago
Behdad Esfahbod
2c8188bf59
[kerx] Make sure subtables are non-zero-length
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11400
6 years ago
Behdad Esfahbod
a9e0bdc35d
[GSUB] Don't flush glyphset during recursion in closure()
...
See comment.
Supercedes https://github.com/harfbuzz/harfbuzz/pull/1401
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11366
6 years ago
Garret Rieger
8982830d3e
[subset] add fuzzer testcase.
6 years ago
Behdad Esfahbod
d0e81b2cc8
[set] Rename
6 years ago
Behdad Esfahbod
e866910579
Enforce requiring null_size even if min_size is 0
...
This concludes null-size enforcement changes
6 years ago
Behdad Esfahbod
4d4fd64ff4
Allow non-nullable OffsetTo<> to non-Null'able objects
6 years ago
Behdad Esfahbod
fa9f585ec5
[glyf] Don't mark structs UNBOUNDED
...
See comments.
6 years ago
Behdad Esfahbod
f47a60a754
Mark UnsizedArrayOf<> as UNBOUNDED
...
Since min_size is 0, Null() still accepts this type.
6 years ago
Behdad Esfahbod
199a0f7b41
[ot-shape] Simplify logic
6 years ago
Behdad Esfahbod
014e4980ed
Move
6 years ago
Behdad Esfahbod
62890dee18
[aat] Zero mark advances if decided so even if there's cross-kerning
...
Cross-kerning can only take care of positioning vertically. It doesn't
adjust mark advance...
6 years ago
Behdad Esfahbod
a201fa74cd
[aat] Tweak fallback positioning logic when applying morx
...
Such that for Indic-like scripts (eg. Khmer), we don't do any fallback mark
advance-zeroing / positioning, but we do for Latin, etc. Reuses preferences
of our script-specific OpenType shapers for those.
Fixes regression: https://github.com/harfbuzz/harfbuzz/issues/1393
Which means, fixes again: https://github.com/harfbuzz/harfbuzz/issues/1264
While not regressing: https://github.com/harfbuzz/harfbuzz/issues/1357
6 years ago
Behdad Esfahbod
fa0bd8964d
[myanmar] Minor move
6 years ago
Behdad Esfahbod
7dc561984b
[myanmar] If there's no GSUB table, pick myanmar shaper
...
Needed for morx+kern mark-zeroing interaction. All other scripts
work this way.
6 years ago
Behdad Esfahbod
25f52f58c2
[myanmar] Remove myanmar_old shaper
...
Over time it has become the same as default shaper. So, remove.
6 years ago
Behdad Esfahbod
eeed802b1d
Fix spurious gcc warnings
...
../../src/hb-null.hh:53:39: warning: enum constant in boolean context [-Wint-in-bool-context]
6 years ago
Behdad Esfahbod
b96ecb9971
More
...
This makes more of the gcc spurious warning:
../../src/hb-null.hh:53:39: warning: enum constant in boolean context [-Wint-in-bool-context]
But not going to let that defeat correct code. Type to switch to clang
as my main compiler...
6 years ago
Behdad Esfahbod
2737aa81e5
Fix up recent change
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1300
6 years ago
Behdad Esfahbod
fffea5aff7
Minor
6 years ago
Behdad Esfahbod
209b58ef73
Minor
6 years ago
Behdad Esfahbod
3b9fd176e8
Disallow taking Null() of unbounded structs
...
Not sure I've marked all such structs. To be done as we discover.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1300
6 years ago
Behdad Esfahbod
f2b91d6510
Use Type::null_size for our structs in Null(), sizeof() for other types
6 years ago
Behdad Esfahbod
7dd945a876
One more time..
6 years ago