|
1a6d53d3
|
2020-01-24T20:00:23
|
|
[ci] Increase msan and fedora-O0 bots subset fuzzer timeout
|
|
2d147355
|
2020-01-24T19:41:26
|
|
[src/main] separate the places use private API, minor
|
|
b72337e5
|
2020-01-23T21:23:13
|
|
[test] Adopt test-ot-color with ot-glyph and remove freetype/cairo dependecy
|
|
23277bee
|
2020-01-24T18:49:48
|
|
Fold src/test-ot-glyph and src/test-ot-color into src/main
|
|
e171beeb
|
2020-01-24T19:51:21
|
|
Revert "[subset] Add "--name-languages" and "--name-legacy" options"
Causes tests failures, please reapply when tests are fixed, thanks.
This reverts commit fd85818b5b85fb0ad2db71c60e94ca0689d38bca.
|
|
298c46af
|
2020-01-24T12:11:07
|
|
Only prefer AAT morx for horizontal layout
Fixes #2124.
|
|
fd85818b
|
2020-01-21T13:37:28
|
|
[subset] Add "--name-languages" and "--name-legacy" options
Make name table subsetting consistent with fontTools
|
|
c370da45
|
2020-01-22T11:36:15
|
|
[subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable
|
|
d3fff622
|
2020-01-23T11:36:47
|
|
Move push call to caller
|
|
7dc341fe
|
2020-01-23T11:09:15
|
|
[subset] Fix UBSAN issue in sbix
|
|
acb4627e
|
2020-01-22T12:28:30
|
|
add api test
|
|
1ab3924b
|
2020-01-22T11:20:56
|
|
refix PR #2087 subset PairPos1
also added oss-fuzz 20211 data fixed by this
|
|
7633b769
|
2020-01-23T18:51:40
|
|
Merge pull request #2016 from ebraminio/glyf
Implement glyph outline path API
|
|
02f324c9
|
2020-01-23T15:12:12
|
|
[ot-glyph] remove open callback
Apparently it wasn't requested actually and can be detected easily
as paths are opened usually when move command is issued anyway.
|
|
684ff3e0
|
2020-01-23T14:48:59
|
|
[ot-glyph] noop->nil, fix close path
|
|
3747b329
|
2020-01-22T09:07:32
|
|
Address garretrieger@'s comments
|
|
b18cb5b5
|
2020-01-21T15:43:12
|
|
Add second fixed test
|
|
af62c1c3
|
2020-01-21T15:19:33
|
|
Fix style issue
|
|
8614a30b
|
2020-01-21T15:14:03
|
|
[subset] Fix sbix fuzz problem
|
|
72cbfb90
|
2020-01-18T16:35:52
|
|
remove empty lookup subtables
Added a variant of subset_offset_array which takes an extra arg passed to serialize_subset for this impl.
Added a new api test "test-subset-gpos" for this.
|
|
a3cf4ae0
|
2020-01-17T13:02:47
|
|
[subset] Add more tests for GPOS1 subsetting
These tests were left out because of issue: https://github.com/fonttools/fonttools/issues/1709
Now re-adding these tests since the issue is resolved.
|
|
8f49aaa1
|
2020-01-16T15:15:15
|
|
minor: un-include glyf.hh in gvar.hh
|
|
c828d7bf
|
2020-01-15T15:32:44
|
|
[subset] fixed GPOS device table sanitize & serialize (#2087)
|
|
e565d1f9
|
2019-11-01T10:21:36
|
|
[subset] subset lookup/feature/script lists for GSUB/GPOS
|
|
93376a64
|
2020-01-15T13:11:40
|
|
Add unittests
|
|
6bcf57ea
|
2020-01-14T14:56:02
|
|
Simplify copy and add fuzzing coverage
|
|
78b50a67
|
2020-01-14T11:01:09
|
|
Address initial comments
|
|
43b6c865
|
2020-01-09T10:44:20
|
|
[subset] Support sbix subsetting
|
|
79fed9a1
|
2020-01-14T17:23:30
|
|
[ot-glyph] Add open/close callbacks
|
|
ec1fba13
|
2020-01-13T19:31:18
|
|
[ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque
|
|
8ffc9add
|
2019-10-31T15:59:02
|
|
[subset] layout closure_features and store them in subset-plan
|
|
66dfd605
|
2020-01-13T15:50:27
|
|
Fix duplicate check in hb_ot_rotate chars
Fixes #2099. Fix indentation in mirroring section as well.
|
|
d7c3cb18
|
2020-01-13T17:35:57
|
|
[ot-glyph] minor on tests
|
|
dc03a993
|
2020-01-12T14:21:29
|
|
Fix collect lookups logic of FeatureTableSubstitution (#2097)
https://crbug.com/oss-fuzz/20036
|
|
a32ecc15
|
2020-01-11T15:37:24
|
|
Fix collect lookups logic of FeatureVariationRecord
As "Offset to a feature table substitution table, from beginning of the FeatureVariations table."
from https://docs.microsoft.com/en-us/typography/opentype/spec/chapter2 the record should
match its sanitize logic not the reverse way.
Fixes https://crbug.com/oss-fuzz/20021 and https://crbug.com/oss-fuzz/20022
|
|
1a4c658b
|
2020-01-11T01:30:05
|
|
Use REPLACEME tag
So we can use the version we like when we decide what it should be while the next release
and can review the API before the release one other time.
|
|
d7454cf0
|
2020-01-11T01:24:39
|
|
[subset] closure lookups for GSUB/GPOS
|
|
0b39c480
|
2019-10-22T16:00:43
|
|
[subset] closure lookups for GSUB/GPOS
|
|
42f4f1ea
|
2020-01-11T00:00:51
|
|
[ot-glyph] Add tests for hb_ot_glyph_decompose
|
|
06a1fcb3
|
2020-01-10T23:12:30
|
|
[ot-glyphs] fix the tests
|
|
084a8182
|
2020-01-10T22:14:46
|
|
[ot-glyphs] Move CFF glyph decompose logic to their tables
Thus making path decompose zero alloc on CFF/CFF2
|
|
61185235
|
2020-01-10T21:08:21
|
|
[ot-glyph] move glyph decompose logic of glyf to itself
One less vector allocation yet isn't zero alloc yet
which needs more work.
|
|
017f606c
|
2020-01-10T20:44:15
|
|
[ot-glyph] rewrite the API
|
|
9cd76813
|
2020-01-10T17:36:41
|
|
Fix malformed readme. (#2093)
|
|
05443e55
|
2019-11-28T09:16:58
|
|
[ot-glyph] Return empty path for empty faces
|
|
6e7602c1
|
2019-11-28T08:43:00
|
|
[ot-glyph] Fix leaks
|
|
5b08596d
|
2019-11-28T08:42:45
|
|
[gvar] Don't apply anything when no coords is given
|
|
742aaa13
|
2019-11-27T23:18:43
|
|
[ot-glyf] Fix leak issue
|
|
fddf79fc
|
2019-10-21T14:11:27
|
|
[glyf] minor
|
|
0b559d75
|
2019-10-21T13:52:48
|
|
[ot-glyph] Improve API names
|
|
af08f388
|
2019-10-21T13:28:05
|
|
[ot-glyph] Support CFF1's seac
|
|
04ac7fb1
|
2019-10-21T13:06:12
|
|
[ot-glyph] Add cff2 support
|
|
5cc09c46
|
2019-10-20T16:24:14
|
|
[ot-glyph] Initial cff1 support
|
|
3dcba9f2
|
2019-10-20T16:23:27
|
|
[ot-glyph] Redesign the API
|
|
b8b3ff1a
|
2019-10-14T15:37:41
|
|
[glyph] Don't copy, write directly into result
|
|
f883c31c
|
2019-10-13T12:31:53
|
|
Implement glyph outline path API
Got help from https://github.com/opentypejs/opentype.js/blob/4e0bb99/src/tables/glyf.js#L222
|
|
d2ab1ec6
|
2020-01-09T20:24:16
|
|
fixes oss-fuzz 19978: Null-dereference READ (#2091)
|
|
5e55a6d6
|
2020-01-09T23:40:40
|
|
[subset/hvar] minor
not super excited about state of the code around, assuming was needed
so let's add this may unlikely check also.
|
|
257a197a
|
2020-01-09T22:55:45
|
|
Fail serialize when map has incorrect value
fixes https://crbug.com/oss-fuzz/19956
am not super happy with the fix, guess we should do some check
before the memcpy anyway as @blueshade7 thinks also,
so let's have it or revert it when we have a better approach for the case.
|
|
1db2c1d0
|
2020-01-07T11:10:40
|
|
fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
|
|
8ed46c36
|
2020-01-07T23:43:53
|
|
[fuzz] minor, add another already fixed case
https://crbug.com/oss-fuzz/19907
|
|
341407f7
|
2020-01-07T09:10:24
|
|
[fuzz] minor, upload another fixed case
https://crbug.com/oss-fuzz/19878
|
|
7950beec
|
2020-01-06T21:25:00
|
|
[subset] Fix null pointer dereference in hvar/vvar subset (#2085)
Rest of the code assumes there is at least one subtable, lets return here if not.
* https://crbug.com/oss-fuzz/19827
* https://crbug.com/oss-fuzz/19847
|
|
8ed27757
|
2020-01-06T19:01:13
|
|
Remove _POSIX_C_SOURCE definition from the project
Added fpr suncc support but apparently is causing more issues
even on suncc so let's see if we can go without it.
Fixes #2084
|
|
e7d1aeb6
|
2020-01-06T12:48:22
|
|
[hvar] minor, fix unlikely statement
|
|
57b15341
|
2020-01-06T12:46:50
|
|
[glyf] minor, fix unlikely statements
|
|
9e48c6e9
|
2019-12-31T15:57:39
|
|
minor, use private API of hb_set_t where possible
|
|
ce114d6b
|
2019-12-31T15:53:02
|
|
minor, tweak spaces
|
|
33c3d63a
|
2019-12-31T13:52:50
|
|
Merge pull request #1594 from harfbuzz/var-subset
Issue 1558: [subset] TrueType/CFF2 variable font
|
|
68c1798a
|
2019-12-18T15:57:14
|
|
[coretext] Use kCTFontOpenTypeFeatureTag
Instead of trying to map OpenType features to AAT feature selectors
which only works for a small subset of OpenType features, use the
simpler kCTFontOpenTypeFeatureTag with OpenType feature tags directly.
With this change, features like cvXX can be enabled in coretext shaper,
while they were previously ignored due to missing mapping.
This seems to work even with AAT fonts that don’t have OpenType layout
tables, which suggests that CoreText is doing the mapping itself in this
case.
kCTFontOpenTypeFeatureTag seems to have been introduced in macOS 10.10
and iOS 8.0, though, so its use is conditional on version check for now.
Not sure how to check iOS version, so I left this out.
|
|
b28c2825
|
2019-12-17T02:58:51
|
|
Check to avoid overflows
|
|
d70afb1e
|
2019-12-17T02:29:28
|
|
Clamp max_ops to upper bound in hb-sanitize.hh
|
|
aa43e183
|
2019-12-15T16:04:00
|
|
[perf Add texts/en-words.txt
$ cat docs/usermanual-*.xml src/hb*.cc src/hb*.{h,hh,cc} | sed 's/[^a-zA-Z ]/ /g' | tr ' ' '\n' | sort | uniq | grep . > perf/texts/en-words.txt
|
|
80762cc4
|
2019-12-15T23:21:10
|
|
[ci] Speedup tsan bot
We don't expect fails thus expecting readable failure backtrace so let's speed it up instead
|
|
b79ceac3
|
2019-12-15T16:50:01
|
|
Prefer UINT_MAX instead of uint overflow.
Also, prefer HB_FEATURE_GLOBAL_START and HB_FEATURE_GLOBAL_END.
|
|
b618e0ae
|
2019-12-15T16:26:50
|
|
Remove non-breaking spaces from comments.
`0xC2A0` was used, for some reasons. It's not really a problem, but Qt Creator
constatly trying to replace them with regular spaces, so I have to edit those
files separately.
|
|
780d640c
|
2019-12-15T16:11:37
|
|
Remove unnecessary check in hb_buffer_t::set_masks.
Bounds are already checked by the caller.
Closes #2073
|
|
34ed8e72
|
2019-12-13T07:25:34
|
|
Prefer _hb_glyph_info_is_unicode_mark where possible.
|
|
3e1a2632
|
2019-12-12T15:48:27
|
|
[unscribe] fix leak issue
with no user_data provided, `free` will be called with `(0)` thus silently having a leak
|
|
e75d785b
|
2019-12-12T15:42:37
|
|
[doc] fix hb_blob_create call example
otherwise free(0) will be called that silently makes a leak
|
|
4ef597e1
|
2019-12-11T13:44:05
|
|
Fix unary minus operator applied to unsigned int
Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146
This patch fixes the error.
|
|
1770493c
|
2019-12-11T13:44:15
|
|
Fix unary minus operator applied to unsigned int
Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146
This patch fixes the error.
|
|
a061e47f
|
2019-12-10T13:31:50
|
|
Change a few HB_INTERNAL static methods to static inline
|
|
dd3972a3
|
2019-12-10T13:21:26
|
|
[GSUB] Simplify Extension is_reverse()
We don't allow extension lookups to chain to another extension lookup.
Simplify code for that.
|
|
858b6279
|
2019-12-10T13:18:32
|
|
[machinery] Remove CastR<>()
|
|
b84ceb2f
|
2019-12-10T13:02:48
|
|
[machinery] Remove CastP
|
|
85574ec2
|
2019-12-10T12:52:32
|
|
[machinery] Minor
|
|
e101a672
|
2019-12-10T12:46:14
|
|
[perf] Add texts/fa-thelittleprince.txt
|
|
2c781a67
|
2019-12-10T12:43:42
|
|
[perf] More rename
|
|
d703392a
|
2019-12-10T12:42:29
|
|
[perf] Adjust text/fa-monologue.txt
|
|
19d1b9d4
|
2019-12-10T12:39:01
|
|
[perf] Renames
|
|
6a60ca11
|
2019-12-10T12:32:37
|
|
[algs] Fold last other bsearch() in
Now truly have only one bsearch implementation.
|
|
53dc8d94
|
2019-12-10T21:53:30
|
|
Add initial shaping performance test and profiler
|
|
39afe608
|
2019-12-10T12:04:44
|
|
[algs] Fold one more custom bsearch() in
One more to go.
|
|
b1dc676e
|
2019-12-10T11:41:24
|
|
[algs] Reduce one more bsearch() impl
Ouch, there were three more left. Down one. Two to go.
|
|
6f76c325
|
2019-12-10T21:43:11
|
|
[test] Update 10.15 results
Turned out only SFNS, which wasn't available in 10.14 anyway, needed an update
See https://crbug.com/1005969#c37 also
|
|
2241a676
|
2019-12-10T19:50:34
|
|
[test] Add macOS 10.15 related fonts
breaks the test and 10.15 bot, will add the fix in next commit, also adds a broken test for f47cbade1
|
|
f3de3b6d
|
2019-12-10T16:37:48
|
|
[ci] fix macOS 10.15 bot
Xcode 11.3.0 image is supposed to work per https://circleci.com/docs/2.0/testing-ios/
but isn't https://circleci.com/gh/harfbuzz/harfbuzz/118693 AFAICS
Let's try Xcode 11.2.1 image
|
|
49434bdd
|
2019-12-10T16:28:04
|
|
[ci] Add a macOS 10.15 bot
Should update macos.tests with the fonts, for now
|
|
f47cbade
|
2019-12-09T18:10:34
|
|
[aat] Adjust fallback positioning logic
Fixes https://github.com/harfbuzz/harfbuzz/issues/1528
Wish could add a test...
$ ./hb-view --font-file Thonburi.ttc --unicodes U+0E17,U+0E35,U+0E48,U+0E4A --shaper ot
▃
▂▃▃▄▃▂▁▊ ▃ ▃ ▎
▗ ▅▆▆▅ ▌ ▆▆▅▆▙ ▌▗
▗ ▙ ▂ ▎▗ ▟
▅▆▆▆▇▇▇▇▇▇▇▆▆▅▄ ▇▅▅▅ ▙▆▇
▁▁▂▁ ▁▁
▖ ▖ ▂▂
▉ ▁ ▆▆ ▌ ▆ ▙▄ ▁▁
▙ ▉ ▃▖ ▟
▊ ▉ ▅▟ ▗▄
▊ ▉ ▗ ▏ ▇▆
▊ ▟ ▉ ▆ ▖
▊ ▉ ▌ ▂
▊ ▏ ▉ ▌ ▗ ▄▟
▊ ▆
|