|
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
▃
▂▃▃▄▃▂▁▊ ▃ ▃ ▎
▗ ▅▆▆▅ ▌ ▆▆▅▆▙ ▌▗
▗ ▙ ▂ ▎▗ ▟
▅▆▆▆▇▇▇▇▇▇▇▆▆▅▄ ▇▅▅▅ ▙▆▇
▁▁▂▁ ▁▁
▖ ▖ ▂▂
▉ ▁ ▆▆ ▌ ▆ ▙▄ ▁▁
▙ ▉ ▃▖ ▟
▊ ▉ ▅▟ ▗▄
▊ ▉ ▗ ▏ ▇▆
▊ ▟ ▉ ▆ ▖
▊ ▉ ▌ ▂
▊ ▏ ▉ ▌ ▗ ▄▟
▊ ▆
|
|
fa7edf87
|
2019-12-07T22:01:13
|
|
[bsearch] Massage API some more
|
|
70aa5071
|
2019-12-07T22:35:34
|
|
[algs] Adjust return value of hb_ctz(0) to be 32 instead of 0
|
|
eefb78f6
|
2019-12-08T21:07:00
|
|
Minor
|
|
9fb03058
|
2019-12-07T19:45:08
|
|
Rename start/end to first/last in RangeRecord
Because that's what they are.
|
|
8ac4ba14
|
2019-12-09T18:58:28
|
|
Fix typo in TESTING.md (#2066)
|
|
9b1d5c4a
|
2019-12-09T12:29:28
|
|
[number] fix where strtod_l not available
|
|
5c8f9602
|
2019-12-09T10:48:43
|
|
[number] minor, include the renamed header
|
|
48eef272
|
2019-12-06T05:04:11
|
|
[algs/array] Consolidate the last two bsearch implementations!
Yay! Seems to work.
|
|
ed35dea8
|
2019-12-06T04:37:11
|
|
Fourth try... sighs
|
|
9168310b
|
2019-12-06T04:28:06
|
|
Fix build, third times...
|
|
34f5cc2c
|
2019-12-06T04:09:33
|
|
Second try at fixing build
|
|
14ce5ab0
|
2019-12-06T03:54:46
|
|
First try at fixing build errors
|
|
2274270c
|
2019-12-06T03:42:21
|
|
[algs] Streamline bsearch some more
|
|
bd55d4b4
|
2019-12-06T03:35:24
|
|
[algs] Streamline bsearch() API more towards hb_array_t::bsearch_impl()
Preparing to merge the two finally!
|
|
fd6df520
|
2019-12-06T03:00:23
|
|
[array] Isolate bsearch implementation more
|
|
06d3c201
|
2019-12-06T02:52:54
|
|
[array] Simplify bfind() positioning
I had copied the old scheme from fontconfig's fccharset.c. I just
convinced myself that this change is correct and produces exact
same results. But I also am skeptical. Anyone else feel like
convincing themselves as well please?
|
|
d67ba649
|
2019-12-05T13:15:21
|
|
Rename hb_array_t::in_range to hb_array_t::check_range
|
|
72d83a02
|
2019-12-05T13:09:48
|
|
Make hb_array_t::in_range similar to hb_sanitize_context_t::check_range
|
|
b1167d19
|
2019-12-05T15:46:58
|
|
Fix!
|
|
5ff410b4
|
2019-12-05T15:37:56
|
|
Add files, oops
|
|
2dc20e63
|
2019-12-05T15:28:42
|
|
Implement fallback vertical shaping from Firefox
Fixes https://github.com/harfbuzz/harfbuzz/issues/355
|
|
b6d0f152
|
2019-12-05T12:19:52
|
|
[indic] Fix old-spec base-finding logic w vatu feature
Fixes https://github.com/harfbuzz/harfbuzz/issues/1587
|
|
0414341a
|
2019-12-05T11:26:39
|
|
Prefer AAT shaping over OT if both available
Fixes https://github.com/harfbuzz/harfbuzz/issues/1529
|
|
82545c5e
|
2019-11-26T10:24:32
|
|
more coding style fixes
|
|
2e7c1239
|
2019-11-26T09:57:53
|
|
minor: coding style
|
|
ed94e410
|
2019-11-20T10:42:50
|
|
fixed api test test-ot-glyphname
|
|
7a4745ba
|
2019-11-20T10:15:41
|
|
added api test test-ot-glyphname
|
|
ab525ac6
|
2019-11-19T20:36:56
|
|
fix HB_TINY buid
|
|
ff64652c
|
2019-11-19T18:50:57
|
|
fix shape-fuzzer failure
|
|
a333b0f7
|
2019-11-19T18:01:53
|
|
add hb-ot-cff1-std-str.hh to Makefile.sources
|
|
61707266
|
2019-11-19T17:09:12
|
|
fix get_sid crash
|
|
4c4e08a1
|
2019-11-19T16:50:28
|
|
add cff1::accelerator_t::fini
|
|
ff87465b
|
2019-11-19T16:18:33
|
|
add get_glyph_from_name & test. use hb_string_array
|
|
51e77285
|
2019-11-17T02:25:39
|
|
minor
|
|
6d9eb9c0
|
2019-11-17T02:20:22
|
|
fixed failure with language-tags.tests
|
|
59fe3797
|
2019-11-16T19:47:31
|
|
fixed hb-shape-fuzzer failures in get_sid
|
|
e26df436
|
2019-11-16T19:12:34
|
|
fix test-ot-face crash
|
|
7b49042e
|
2019-11-16T18:20:16
|
|
add cff1::get_glyph_name
|
|
ea8fdfa0
|
2019-11-22T15:59:09
|
|
Merge branch 'master' into var-subset
|
|
d5338ba1
|
2019-11-22T16:22:27
|
|
[ft] Add locking FT_Face API
Now that we mutex our internal FT_Face, share it with clients.
New API:
- hb_ft_font_lock_face()
- hb_ft_font_unlock_face()
|
|
e5c7ee9f
|
2019-11-20T14:22:01
|
|
[set] Fix undefined-behavior shift in _previous()
harfbuzz/src/hb-set.hh:138:43: runtime error: shift exponent 64 is too large for 64-bit type 'hb_set_t::page_t::elt_t' (aka 'unsigned long long')
|
|
5fddc5f1
|
2019-11-20T13:07:26
|
|
Use foreach_cluster
|
|
e4a101ed
|
2019-11-19T20:04:00
|
|
[ft] Fix for HB_NO_VAR build
|
|
76c27462
|
2019-11-19T16:51:33
|
|
Don’t modify a ccc to 6
ccc=6 will be used in Unicode 13.0.
|
|
8fdafee2
|
2019-11-18T16:44:25
|
|
undef HB_STRING_ARRAY_LENG_NAME
|
|
5e9863f3
|
2019-11-18T15:40:43
|
|
ARRAY_LENGTH fails with -Wglobal-constructors
|
|
a7598369
|
2019-11-18T15:09:24
|
|
calculate hb_string_array length automatically
|
|
57da16bc
|
2019-11-17T21:32:12
|
|
[cff] Check rcurveline and rlinecurve arguments
Make sure the number of arguments is not too many or too few, otherwise
skip the command.
|
|
9f1524ce
|
2019-11-17T16:17:20
|
|
[cff] Fix a typo in processing rlinecurve
We want to process all pairs of arguments except the last 6 as lines, so
should have been subtracting 6 here, otherwise if the number of
arguments happens to be multiples of 6 they will be all treated as
curves.
See https://github.com/harfbuzz/harfbuzz/pull/2016#issuecomment-554640098
|
|
78d5eca8
|
2019-11-18T13:09:29
|
|
[set] Fix range-based-loop condition
Alternative to https://github.com/harfbuzz/harfbuzz/pull/2046
|
|
4dae7cee
|
2019-11-13T10:08:35
|
|
[minor] Fix common typos: substition, the the.
s/substition/substitution/
s/the the/the/
|
|
e6351d9b
|
2019-11-11T17:39:55
|
|
Add ms-use/IndicShapingInvalidCluster.txt
|
|
b372c3e9
|
2019-11-08T20:59:48
|
|
Insert a dotted circle within <U+0B85, U+0BC2>
|
|
64a45be5
|
2019-11-09T12:25:33
|
|
[ubsan] Don't decrease pointer if match_glyph_data is null (#2048)
Similar to fix on https://github.com/harfbuzz/harfbuzz/pull/2022
Fixes https://crbug.com/1023070
|
|
878e3588
|
2019-11-05T15:26:01
|
|
[cmake] Add harfbuzz-icu library
|
|
84b86a12
|
2019-11-06T09:22:34
|
|
[fuzz] Remove just added case
It didn't fail locally but on bots causing timeout, let remove for now.
|
|
a8f049c9
|
2019-11-05T22:26:36
|
|
[fuzz] Upload testcase of https://crbug.com/oss-fuzz/18529
Apparently false alarm per last comment and was ok locally also but lets have it here also
|
|
7cde68f1
|
2019-11-02T19:04:14
|
|
[ci] install pip in fedora bot
|
|
46178c03
|
2019-11-02T14:36:30
|
|
[ci] fix fedora bot
|