Behdad Esfahbod
9714e114b8
Fix recent commits
6 years ago
Behdad Esfahbod
0328a1ce41
Revert b4c6113032
...
Was causing more trouble than it solved. We use unsigned for indexing,
and it's not helpful to allow that wrapping to negative integers on
32bit machines. The only way we could work around it would have been
by accepting int64_t arg, but that's overkill.
Ignore the MSVC 2008 build issue. We don't support that compiler.
6 years ago
Behdad Esfahbod
52f61cdb87
Detect over/under-flow in UnsizedArray::operator[]
...
Was causing bad substitutions in mort table because of WordOffsetToIndex()
producing negative numbers that were cast to unsigned int and returned as
large numbers (which was desirable, so they would be rejected), but then
they were cast to int when passed to this operator and acting as small
negative integers, which was bad...
Detect overflow. Ouch, however, now I see this still fails on 32-bit.
Guess I'm going to revert an earlier change.
6 years ago
Behdad Esfahbod
6910ff03e6
[aat] Fix mort shaping
...
Ouch!
6 years ago
Behdad Esfahbod
fdb29ab2b0
2.1.2
6 years ago
Behdad Esfahbod
cff4c6087f
Fix vertical fallback space sign
...
Ouch!
Follow-up to cf203af8a3
Fixes https://github.com/harfbuzz/harfbuzz/issues/1343
6 years ago
Behdad Esfahbod
7a97f70740
Don't apply GPOS if applying morx
...
That's what Apple does, and it wouldn't degrade our OpenType performance.
Part of https://github.com/harfbuzz/harfbuzz/issues/1348
6 years ago
Behdad Esfahbod
eafd515639
Prefer morx table if GSUB is empty (no scripts)
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1348
6 years ago
Behdad Esfahbod
aa06574823
Minor
6 years ago
Behdad Esfahbod
50d1a41c08
[coretext] Hopefully the last one
6 years ago
Behdad Esfahbod
0aab861f9c
[coretext] Another round
6 years ago
Behdad Esfahbod
0809b76a9a
[coretext] One more try..
6 years ago
Behdad Esfahbod
78bd447594
[coretext] One more try
6 years ago
Behdad Esfahbod
fd27a23c82
[coretext] Another build fix attemt
6 years ago
Behdad Esfahbod
729aedf0da
[directwrite] Fix build
6 years ago
Behdad Esfahbod
cfb9771a3b
[coretext] Try to fix
6 years ago
Behdad Esfahbod
e3e9547365
[coretext] Unbreak build
6 years ago
Behdad Esfahbod
ce5da0f36a
[shaper] Rewrite shaper data code to be more template-driven than macro-driven
6 years ago
Behdad Esfahbod
cb4bf85b14
[hdmx] Fix bounds checking
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11351
6 years ago
Behdad Esfahbod
af727b4e62
[hdmx] Minor
6 years ago
Behdad Esfahbod
9e9f16c92d
[subset] Remove invalid glyphs from glypset to retain
...
Fixes https://github.com/harfbuzz/harfbuzz/pull/1388
6 years ago
Ebrahim Byagowi
11aa0468ac
[subset] minor, adjust spaces
6 years ago
Ebrahim Byagowi
d7c50ff0d6
[math] minor, adjust spaces
6 years ago
Behdad Esfahbod
cabe433fbb
[base] Add TODO items
6 years ago
Behdad Esfahbod
3bf1ce748f
[shaper] Rename
6 years ago
Behdad Esfahbod
c221dc0ba7
[ot-shape] Move code around
6 years ago
Ebrahim Byagowi
7867c2bad0
[STAT] Add table parsing ( #1384 )
6 years ago
Behdad Esfahbod
48d16c2ab2
[hmtx] Fix signedness issue
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1248#issuecomment-438689499
6 years ago
Ebrahim Byagowi
29db2a44a6
[ot-color/svg] Note that it can be gzipped
6 years ago
Ebrahim Byagowi
a9c27d576f
Merge pull request #1383 from punchcutter/master
...
Add test for https://github.com/harfbuzz/harfbuzz/issues/1379
6 years ago
punchcutter
e543e1a085
Add Grantha test
6 years ago
Behdad Esfahbod
3c3eb5ea9c
[aat] Disable fallback mark advance zeroing and positioning if morx applied
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1357
6 years ago
Behdad Esfahbod
dc4225ccd1
Don't retry creating again and again in lazy_loader if create failed
...
Still does that if get_null() returns nullptr. Our shaper data objects
are like that. Shrug.
6 years ago
Behdad Esfahbod
086235f593
Merge pull request #1382 from punchcutter/master
...
Change USE Category for Grantha Virama
6 years ago
Behdad Esfahbod
2092f595c7
Merge pull request #1380 from kbrow1i/cygwin
...
Don't use Win32 API on Cygwin
6 years ago
punchcutter
c565fc3fb3
Change USE Category for Grantha Virama
...
https://github.com/harfbuzz/harfbuzz/issues/1379
6 years ago
Behdad Esfahbod
475be9d5c6
Fix Windows build
6 years ago
Behdad Esfahbod
fc44dea341
Use atomic ints for upem and num_glyphs on face
6 years ago
Behdad Esfahbod
9579ed9755
Make atomic types' internal values non-mutable
...
This resulted from confusion previously...
6 years ago
Behdad Esfahbod
c52d5bcd94
[ot-face] Add 'head' table
6 years ago
Ken Brown
eee5b5ed04
Don't use Win32 API on Cygwin
...
Cygwin is a Posix platform to the extent possible. It should use the
Posix API except in special circumstances.
6 years ago
Behdad Esfahbod
56f541d000
[shape-plan] Remove unused code
6 years ago
Behdad Esfahbod
6c22f3fd95
[shape-plan] Implement fine-grained caching plans with user-features
...
Only tag, value, and global-ness of features are considered, not their
start/end offsets.
6 years ago
Behdad Esfahbod
cc8428756a
[shape-plan] Cache shape plans with variations based on variation indices
6 years ago
Behdad Esfahbod
8284cb9fb3
[shape-plan] Refactor more
6 years ago
Behdad Esfahbod
1082338525
[shape-plan] Only use shape-plan key to initialize hb_ot_shape_plan_t
...
Such that we don't accidentally use info not in the cache key.
6 years ago
Behdad Esfahbod
7ac03f88a2
[shape-plan] Minor
6 years ago
Behdad Esfahbod
c7be933439
[shape-plan] Refactor some more
6 years ago
Behdad Esfahbod
fc27777833
[shape-plan] Refactor more
6 years ago
Behdad Esfahbod
566612295b
[shape-plan] Turn hb_shape_plan_proposal_t into hb_shape_plan_key_t
...
And include it in hb_shape_plan_t itself.
6 years ago