Behdad Esfahbod
d062ad10de
Fix bots happy again, hopefully
...
So, our fallback static_assert cannot be had more than once per line
of source.
6 years ago
Behdad Esfahbod
fb10c021c8
Revert alignof() == 1 check
...
Bots not happy with using "this" inside assertion...
This reverts 2656644887
6 years ago
Behdad Esfahbod
8d778877b8
..
6 years ago
Behdad Esfahbod
8cfeed9948
Minor
6 years ago
Behdad Esfahbod
e5d954a2fb
Minor
6 years ago
Behdad Esfahbod
e987059c61
Minor
6 years ago
Behdad Esfahbod
a2b6d308a4
Remove DEFINE_SIZE_ARRAY2
6 years ago
Behdad Esfahbod
2656644887
Check alignof() structs are 1
6 years ago
Behdad Esfahbod
6321fdf704
Whitespace
6 years ago
Behdad Esfahbod
f961c1eb88
Merge pull request #1400 from harfbuzz/sharada-sandhi-mark
...
Test U+111C9 SHARADA SANDHI MARK
6 years ago
David Corbett
264439c6c3
Test U+111C9 SHARADA SANDHI MARK
6 years ago
Behdad Esfahbod
ecdceea861
Merge pull request #1399 from harfbuzz/sharada-sandhi-mark
...
Fix USE categories for U+111C9 SHARADA SANDHI MARK
6 years ago
Behdad Esfahbod
b89c7fd3dc
Allow defining HB_USE_ATEXIT to 0
...
That's better use of that value than requiring extra macro HB_NO_ATEXIT
6 years ago
David Corbett
b3d5b0a5d9
Fix USE categories for U+111C9 SHARADA SANDHI MARK
6 years ago
Behdad Esfahbod
f48bb9a393
[var] Deprecated axis enumeration API and add new version
...
New version has axis flags.
New API:
+hb_ot_var_axis_info_t
+hb_ot_var_find_axis_info()
+hb_ot_var_get_axis_infos()
Deprecated API:
-HB_OT_VAR_NO_AXIS_INDEX
-hb_ot_var_axis_t
-hb_ot_var_find_axis()
-hb_ot_var_get_axes()
6 years ago
Behdad Esfahbod
b2d803cef6
Remove newly-added -hb_ot_var_axis_get_flags()
6 years ago
Behdad Esfahbod
736897d7a1
[var] Make sure hb_ot_var_axis_flags_t is int-sized
6 years ago
Behdad Esfahbod
eab5d15f61
[var] Move code
6 years ago
Behdad Esfahbod
064f703c7a
Merge pull request #1397 from harfbuzz/small-emoji-table
...
Shrink the emoji table by merging adjacent ranges
6 years ago
David Corbett
8295118279
Shrink the emoji table by merging adjacent ranges
6 years ago
Behdad Esfahbod
be1828daaa
[var] Fix type of coords returned
...
Ouch. Wonder how none of the bots caught the float->int truncation.
6 years ago
Behdad Esfahbod
8f3ee17ae4
[travis] Update Coverity token
6 years ago
Behdad Esfahbod
f955236298
Add codecov.io badge
6 years ago
Behdad Esfahbod
831ba74382
Fix Codacy "issues"
6 years ago
Behdad Esfahbod
c49e43c1ff
[travis] Another push for codecov.io after setting token
6 years ago
Behdad Esfahbod
96b24c5124
[travis] Add codecov.io
6 years ago
David Corbett
3c7792ca32
[use] Fix reordering
...
Fixes #1235 .
6 years ago
Behdad Esfahbod
587d49fc65
[fvar] Add named-instance API
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1241
6 years ago
Behdad Esfahbod
46c0da820f
Fix build
6 years ago
Behdad Esfahbod
56c9238d3d
[fvar] Rewrite sanitize
6 years ago
Behdad Esfahbod
4a6a692e3e
[fvar] Use hb_array_t for axes
6 years ago
Behdad Esfahbod
e009739601
[fvar] Minor
6 years ago
Behdad Esfahbod
1a2eb108b8
[ot-var] Add hb_ot_var_axis_get_flags()
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1241
New API:
+hb_ot_var_axis_flags_t
+hb_ot_var_axis_get_flags
6 years ago
Behdad Esfahbod
bd6b2ba1d3
[ot-var] Add flags
...
Unfortunate that we don't have room in hb_ot_var_axis_t to expose flags :(.
6 years ago
Behdad Esfahbod
c076c7b85c
[ot-var] Use hb_ot_name_id_t
6 years ago
Behdad Esfahbod
e3a1a8350a
2.1.3
6 years ago
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