Behdad Esfahbod
070f837be6
[VarComposite] Optimize rotate()
2 years ago
Behdad Esfahbod
4e256f5a57
[VarComposite] Optimize scale()
2 years ago
Behdad Esfahbod
6a55e73d6a
[VarComposite] Optimize translate()
2 years ago
Behdad Esfahbod
cdc02acd3d
[VarComposite] Minor adjust initialization values
2 years ago
Behdad Esfahbod
a257546de4
[VarComposite] Minor micro-optimize / indent
2 years ago
Behdad Esfahbod
18396b8e27
[VarComposite] Micro-optimize
2 years ago
Behdad Esfahbod
1e71a673e9
[VarComposite] Micro-optimize
2 years ago
Behdad Esfahbod
dd860fad80
[VarComposite] Micro-optimize
2 years ago
Behdad Esfahbod
6457847719
[VarComposite] Minor change variable types
2 years ago
Behdad Esfahbod
50e758e345
[glyf] Tweak assertion
2 years ago
Behdad Esfahbod
1056590f00
[config] Add HB_OPTIMIZE_SIZE_VAL
2 years ago
Behdad Esfahbod
726590ed5f
[gvar] Add optimize-size code path
2 years ago
Khaled Hosny
7c9ed76d0a
[doc] Use simpler markdown link syntax
2 years ago
Behdad Esfahbod
a200f0a3fe
[gvar] Micro-optimize
2 years ago
Behdad Esfahbod
db86e977a0
[gvar] Micro-optimize
2 years ago
Behdad Esfahbod
27b8a208ec
[gvar] Minor variable reuse
2 years ago
Behdad Esfahbod
2bbb605d08
[glyf] Micro-optimize
...
No need to init the whole array.
2 years ago
Behdad Esfahbod
c87f26018d
[glyf] Micro-optimize
2 years ago
Khaled Hosny
a321c4fee5
7.2.0
2 years ago
Behdad Esfahbod
fd52c4cf7b
[gvar] Comment
2 years ago
Behdad Esfahbod
0c59c629c1
[gvar] Micro-optimize
...
For cases where no deltaset applies.
2 years ago
Behdad Esfahbod
5d1a603ad1
[var] Fix compiler warnings
2 years ago
Behdad Esfahbod
af393e9652
[gvar] Refactor a variable
2 years ago
Behdad Esfahbod
2a3bf5a542
[gvar] Minor error-handling
2 years ago
Behdad Esfahbod
57faabb78e
[gvar] Micro-optimize
2 years ago
Behdad Esfahbod
76e269af9e
[gvar] Micro-optimize
2 years ago
Behdad Esfahbod
7349cea127
[gvar] Micro-optimization
2 years ago
Behdad Esfahbod
bc53587002
[deprecated] Add HB_UNICODE_COMBINING_CLASS_CCC133
...
https://github.com/harfbuzz/harfbuzz/pull/4207
2 years ago
Behdad Esfahbod
c5afe026bd
[gvar] Comment
2 years ago
Behdad Esfahbod
87c6e68ec3
[gvar] Assertion
2 years ago
Behdad Esfahbod
0938673731
[gvar] Error handling & micro-optimization
2 years ago
Behdad Esfahbod
b6aa2d71f3
[gvar] Speed up calculate_scalar more
...
Use a gvar-wide cache of the one active peak index for shared-tuples
that have only one active peak. This speeds up the scalar calculation.
This shows significant speedup for the CJK VarComposite font for
example since that has tens of axes with mostly only one active peak.
2 years ago
Han Seung Min - 한승민
ffbfab123f
oops docs
2 years ago
Han Seung Min - 한승민
e428edc371
[unicode] Fix typo
...
I believe the `hb-unicode.h` has a typo where `HB_UNICODE_COMBINING_CLASS_CCC133 = 132,` is supposed to be `HB_UNICODE_COMBINING_CLASS_CCC132`
2 years ago
Behdad Esfahbod
63afb4f2e7
[syllabic] Better fix for previous issue
...
With previous fix the GPOS application was still reading the syllable()
member, which was already freed. This fix is more correct.
2 years ago
Behdad Esfahbod
c5f3b3feb1
[syllabic] Actually clear syllables
...
Such that they don't affect GPOS.
I broke this in 044d7a06db
.
2 years ago
Behdad Esfahbod
9ee7c2ea63
[cmap] Minor remove magic number
2 years ago
Behdad Esfahbod
580b0dc1c3
[cmap] Comment
2 years ago
Behdad Esfahbod
1d31da91ce
Merge pull request #4205 from harfbuzz/gvar-optimize
...
Gvar optimize
2 years ago
Garret Rieger
e41f317199
[subset] Update expectation files for full_instance tests.
2 years ago
Behdad Esfahbod
f6803b06bf
[VarRegionAxis] Micro-optimize
...
peak==0 is common.
2 years ago
Behdad Esfahbod
f91929d6da
Minor return floats instead of doubles from function
...
Not that any compiler complained...
2 years ago
Behdad Esfahbod
808a21f8de
[gvar] Simplify ref_points logic
2 years ago
Behdad Esfahbod
78a0216a03
[gvar] Write a for loop as range loop
2 years ago
Behdad Esfahbod
f654823fe0
[gvar] Handle an error case
2 years ago
Behdad Esfahbod
30d08dc62c
[gvar] Populate end_points lazily
...
Tiny micro-optimization...
2 years ago
Behdad Esfahbod
fe8c91707b
[gvar] Micro-optimize has_intermediate() access
2 years ago
Garret Rieger
2175f5d050
[subset] Fix inefficient ItemVariationStore subsetting w/ retain_gids.
...
ItemVariationStore is relying on the assumption that the inner_map is populated for all output glyphs, this is not true for subsetting operations with retain gids enabled. Fixes fuzzer timeout: https://oss-fuzz.com/testcase-detail/4575222591520768 .
2 years ago
Behdad Esfahbod
385e23762d
[var] Optimize calculate_scalar more
...
This change alone is showing me 14% scalar in a benchmark.
The reason being that the array::operator[] is not being invoked
a lot of time, which was, many times, hitting the unlikely() path.
Weird!
2 years ago
Behdad Esfahbod
7a3928e2b6
[var] Optimize calculate_scalar
...
For varfonts with lots of deltasets, the loop in this function is
*really* hot...
2 years ago