Behdad Esfahbod
7b85081be4
[icu] Minor
6 years ago
Behdad Esfahbod
0bcb1de126
Merge pull request #1418 from gvictor/replace_icu_deprecated
...
Replace @Deprecated ICU API - USCRIPT_CODE_LIMIT
6 years ago
Ebrahim Byagowi
e0307de818
[test][aat.kern] More ( #1427 )
6 years ago
Behdad Esfahbod
949655aa78
Merge pull request #1425 from mbutterick/patch-1
...
update simple shaping example (closes #298 )
6 years ago
Matthew Butterick
d3d0f15f7d
update simple shaping example ( closes #298 )
...
add call to `FT_Set_Char_Size`, otherwise default size remains at `0`, and glyph positions come back as `0` too
6 years ago
Ebrahim Byagowi
7b78d2233d
[test][aat] Update expectency
...
It is not visually noticeable but apparently affected by kern format2 correct implementation.
I should've checked CoreText result which can't as CircleCI outage.
6 years ago
Ebrahim Byagowi
5155067e10
[test] Add test for format2 kern ( #1423 )
6 years ago
Behdad Esfahbod
42a2b496e4
[kerx] Fix Format2 index calc again
6 years ago
Behdad Esfahbod
9e4f03b6ed
Merge remote-tracking branch 'fdo/master'
6 years ago
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