- 15 9月, 2018 3 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
An offset to unsized arrayis not safe to be redirected to our fixed-sized null pool. Plus, we want to reject, not repair, bad-looking dfonts.
-
- 14 9月, 2018 16 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Not sure how I didn't add before...
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Just to disagree with myself re being done with this code...
-
由 Behdad Esfahbod 提交于
Previously, ResourceForkHeader was defined as 30 bytes, having the typeCountM1 as last member. There was a mysterious offset-by-2 in the code, derived from FontTools and JDK code this was ported from. In testing, I observed that typeListZ offset is actually 28. Suggesting that the typeCountM1 does NOT actually belong to ResourceForkHeader, but belongs to the array itself. Adjusting for that resolves the mystery +2 offset hack, so everything is clean and good now. This, concludes my dfont hacking. The code looks great now, and I'm happy to leave it. Fuzzers might disagree though, we will see!
-
由 Behdad Esfahbod 提交于
So it doesn't accidentally match our templates, etc.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Offset 0 is not null in this context.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 13 9月, 2018 6 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
I don't think I broke anything. Fuzzers will let me know..
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 12 9月, 2018 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 11 9月, 2018 14 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
I have no way to authoritatively know, but looks like test font only has one face. So, adjust test expectation instead.
-
由 Ebrahim Byagowi 提交于
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
I decided to always use the cache, instead of my previous sketch direction that was to only allocate and use cache if fast advances are not available. The cache is a mere 1kb, so just use it... TODO: Invalidate cache on font size change. Fixes https://github.com/harfbuzz/harfbuzz/issues/651 Fixes https://github.com/harfbuzz/harfbuzz/pull/1082
-
由 Behdad Esfahbod 提交于
Useful for performance testing. Not hooked to cairo yet. Just changes shaping, not rasterization.
-
由 Behdad Esfahbod 提交于
Meh.
-
由 Behdad Esfahbod 提交于
Related to https://github.com/harfbuzz/harfbuzz/pull/1082
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-