Behdad Esfahbod
a3267cf803
[kern] Fix kern table Format2 offsetToIndex
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1421
6 years ago
Behdad Esfahbod
f9a9c0fd1e
[kerx] Fix ClassTable implementation for 'kern' table Format 2
6 years ago
Behdad Esfahbod
5b4a789ca8
[aat] Towards adding two ClassTable's
6 years ago
Ebrahim Byagowi
19863c8059
[test][aat] Add a test and make macOS runners faster ( #1422 )
6 years ago
Behdad Esfahbod
987f418772
Merge pull request #1398 from Adenilson/bigInt01
...
Optimize harfbuzz big integer conversions
6 years ago
Behdad Esfahbod
4e2a03b6b6
Comment
6 years ago
Adenilson Cavalcanti
4a719a7f4c
Optimize harfbuzz big integer conversions
...
Profiling showed that type conversions were adding considerable cycles in time
spent doing text shaping.
The idea is to optimize it using native processor instructions to help Blink
layout performance.
Doing further investigation revelead that compilers may not use the
proper instruction on ARM 32bits builds (i.e. REV16).
One way to insure that the generated ASM was ideal for both gcc/clang
was using __builtin_bswap16.
Added bonus is that we no longer need to test for CPU architecture.
6 years ago
Victor Chang
a85886fc77
Replace @Deprecated ICU API - USCRIPT_CODE_LIMIT
...
Use of the deprecated API USCRIPT_CODE_LIMIT prevents harfbuzz
using the ICU4C as a shared library.
The API has been replaced by u_getIntPropertyMaxValue(UCHAR_SCRIPT)
6 years ago
Ebrahim Byagowi
1042d9fbc0
[ci] Add .codecov.yml
...
Similar to https://github.com/GoogleChrome/lighthouse/blob/master/.codecov.yml
No strong preference on commenting, feel free to enable it again
6 years ago
Ebrahim Byagowi
97eaedca5d
[test][aat] Enable Tamil MN test ( #1414 )
6 years ago
Behdad Esfahbod
574d888c8a
[aat] Ignore GSUB table of Muthu Foundry if they have morx table
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1410
6 years ago
Behdad Esfahbod
4151c2848d
[GDEF] Move more code
6 years ago
Behdad Esfahbod
4f21703f22
[GDEF] Move code around
6 years ago
Behdad Esfahbod
4ed9fb1a00
[GDEF] Minor
6 years ago
Ebrahim Byagowi
0e3a48e542
[test][aat] fix 10.13.6 Helvetica expectation
6 years ago
Ebrahim Byagowi
cbc541b426
[aat] Add m grave test ( #1412 )
6 years ago
Ebrahim Byagowi
fa26ad0f48
[aat] Fix macos expectation
6 years ago
Behdad Esfahbod
926f512f35
[aat.feat] Rework API and implementation
...
Fixes https://github.com/harfbuzz/harfbuzz/pull/1346
6 years ago
Behdad Esfahbod
84dacbca7e
[aat.feat] Add _MAX_VALUE to enums
6 years ago
Behdad Esfahbod
3922aae162
[aat.feat] Minor
6 years ago
Behdad Esfahbod
0f8e98eca2
[aat.feat] Whitespace
6 years ago
Behdad Esfahbod
c225606833
[aat.feat] Port to SortedUnsizedArrayOf.bsearch()
6 years ago
Behdad Esfahbod
52ae9867ef
[AAT.feat] Use lsearch for looking up SettingName's
...
They are not sorted.
6 years ago
Behdad Esfahbod
44b9331f66
[aat] Fix include issues
6 years ago
Behdad Esfahbod
b206133d1f
[aat] Move contents of hb-aat.h to hb-aat-layout.h
...
Since it was pages and pages...
6 years ago
Behdad Esfahbod
2cb235d021
[aat.feat] Fix enum namespace
6 years ago
Behdad Esfahbod
712762cabb
Minor
6 years ago
Behdad Esfahbod
e20f81f4fa
[aat] Rename feat API a bit more
6 years ago
Ebrahim Byagowi
54f4c17f0a
[feat] Rename API uses of setting to selector
6 years ago
Ebrahim Byagowi
9c64b216ec
[feat] Apply renamings and add documentation
6 years ago
Ebrahim Byagowi
a8726cb483
[feat] Use bsearch
6 years ago
Ebrahim Byagowi
4009a05ca7
[feat] Address Behdad comments
6 years ago
Ebrahim Byagowi
19b6025534
[feat] Address @behdad comments
6 years ago
Ebrahim Byagowi
9212ec203c
[feat] Complete feature types list
6 years ago
Ebrahim Byagowi
fbad794bd2
[feat] Add feature iteration API
6 years ago
Ebrahim Byagowi
7a0471aa35
[feat] Turn AAT feature id into enum
6 years ago
Ebrahim Byagowi
b233fa4bc9
[feat] Rename records to selectors as @drott
6 years ago
Ebrahim Byagowi
a157b3e4eb
[feat] Apply @behdad comments
6 years ago
Ebrahim Byagowi
3aff3f822f
[feat] Apply @drott and @jfkthame comments
6 years ago
Ebrahim Byagowi
b791bbbae4
[feat] Apply @jfkthame reviews
6 years ago
Ebrahim Byagowi
95abd53758
[feat] Expose public API
...
* hb_aat_get_feature_settings
6 years ago
Behdad Esfahbod
264c4a539c
[test] Reorder test suites
...
aots is less interesting. Run text-rendering-tests before aots.
6 years ago
Behdad Esfahbod
9326912941
[kerx] Fix crash
6 years ago
Behdad Esfahbod
6ee401049d
Simplify sanitize set_object() / fix bots
6 years ago
Behdad Esfahbod
c5a6b355e1
[kerx] Port to hb_sanitize_with_object_t
6 years ago
Behdad Esfahbod
c405ed0509
[morx] Port to hb_sanitize_with_object_t
6 years ago
Behdad Esfahbod
1e8994221f
Add hb_sanitize_with_object_t
...
Context manager.
6 years ago
Behdad Esfahbod
b3c5affc05
Simplify sanitize set_object()
6 years ago
Behdad Esfahbod
3d30972699
[aat] Skip terminator in VarSizedBinSearchArray<>
...
Fixes shaping with Apple Chancery on 10.13 again. In that font,
there was a terminator segment, that was tripping off sanitize().
6 years ago
Behdad Esfahbod
4202a3cde3
Minor
6 years ago