Behdad Esfahbod
|
bf852f0e62
|
[dfont] Make test pass
Offset 0 is not null in this context.
|
6 years ago |
Behdad Esfahbod
|
29faebe911
|
Allow Offset<>'s that have no 0==null
|
6 years ago |
Behdad Esfahbod
|
82f4d776c2
|
[dfont] Minor
|
6 years ago |
Behdad Esfahbod
|
07e0ca930c
|
[bytes] Rename content to arrayZ
|
6 years ago |
Behdad Esfahbod
|
dbb764dceb
|
[dfont] Clean up sanitize()
I don't think I broke anything. Fuzzers will let me know..
|
6 years ago |
Behdad Esfahbod
|
361fc26861
|
Fix OffsetTo::sanitize() after reshuffling
|
6 years ago |
Behdad Esfahbod
|
4c6b0fb5f6
|
OffsetTo::sanitize() Add version with three user_data
|
6 years ago |
Behdad Esfahbod
|
a73bea69c5
|
OffsetTo::sanitize() more shuffling
|
6 years ago |
Behdad Esfahbod
|
b482e5231c
|
OffsetTo::sanitize() reshuffling
|
6 years ago |
Behdad Esfahbod
|
bd75fd45cd
|
[dfont] Some renaming, plus add link to reference doc
|
6 years ago |
Behdad Esfahbod
|
4134ec1307
|
[dfont] Sanitize only sfnt resources as OpenTypeFontFile
|
6 years ago |
Behdad Esfahbod
|
6b5e4d07ad
|
[dfont] Minor
|
6 years ago |
Behdad Esfahbod
|
d5c509272f
|
[dfont] Fix test expecatation and minor touch up
I have no way to authoritatively know, but looks like test font only has one
face. So, adjust test expectation instead.
|
6 years ago |
Ebrahim Byagowi
|
2b2ed1e536
|
[dfont] Add test
|
6 years ago |
Behdad Esfahbod
|
9479ffefbf
|
[dfont] Re-enable and fix offset handling
Fixes https://github.com/harfbuzz/harfbuzz/pull/1085
|
6 years ago |
Behdad Esfahbod
|
a1814e2bec
|
Whitespace
|
6 years ago |
Behdad Esfahbod
|
383060cc33
|
[ft] Invalidate advance cache if font size changed
|
6 years ago |
Behdad Esfahbod
|
54998befc4
|
[ft] Cache advances
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
|
6 years ago |
Behdad Esfahbod
|
f90bab8560
|
[util] Add --ft-load-flags
Useful for performance testing.
Not hooked to cairo yet. Just changes shaping, not rasterization.
|
6 years ago |
Behdad Esfahbod
|
93f7596254
|
[util] Add -n shorthand for --num-iterations
Meh.
|
6 years ago |
Behdad Esfahbod
|
047a84c5dd
|
[ft] Towards caching slow get_h_advance results
Related to https://github.com/harfbuzz/harfbuzz/pull/1082
|
6 years ago |
Behdad Esfahbod
|
237f215378
|
[ft] Add advances() callback
|
6 years ago |
Behdad Esfahbod
|
cbea7d49ab
|
[ot-font] Rename
|
6 years ago |
Behdad Esfahbod
|
d8a67dac2a
|
[ot-font] Add advances() callbacks
|
6 years ago |
Behdad Esfahbod
|
0ea42e117b
|
[cache] Minor
|
6 years ago |
Behdad Esfahbod
|
0f520adaac
|
Revert "Remove unused hb_cache_t"
This reverts commit 473b17af4d .
Updates to recent changes.
|
6 years ago |
Behdad Esfahbod
|
cfdea88475
|
[random] Switch to 32bit RNG
|
6 years ago |
Behdad Esfahbod
|
08260c708a
|
[random] Shuffle
|
6 years ago |
Behdad Esfahbod
|
71c9f84e7c
|
Make --features rand=1 available to the user
Use rand=255 to mean "randomize".
Part of https://github.com/harfbuzz/harfbuzz/pull/803
|
6 years ago |
Behdad Esfahbod
|
cc1c4fdf88
|
Respect user's wish if they set rand feature manually
Except if the set it to 1, which would mean "randomize"... Ugly.
|
6 years ago |
Behdad Esfahbod
|
80de4bcd26
|
Minor clean up of 'rand' patchset
|
6 years ago |
David Corbett
|
b545e27d88
|
Don't seed the RNG from the contents of the buffer
|
6 years ago |
David Corbett
|
2de96e8468
|
Test 'rand'
|
6 years ago |
David Corbett
|
f05df643b4
|
Allow requesting a specific glyph for 'rand'
Randomization only happens by default. If the user specifies a value for
'rand', that value is respected.
|
6 years ago |
David Corbett
|
c2a75e07e5
|
Implement 'rand'
|
6 years ago |
Behdad Esfahbod
|
96471fe859
|
[uniscribe] Fix build
|
6 years ago |
Behdad Esfahbod
|
becd84aa2f
|
Add HB_FEATURE_GLOBAL_START/END
Fixes https://github.com/harfbuzz/harfbuzz/issues/1141
New API:
HB_FEATURE_GLOBAL_START
HB_FEATURE_GLOBAL_END
|
6 years ago |
Behdad Esfahbod
|
13a8786c7c
|
Add (unused) hb_array_t<>
|
6 years ago |
Behdad Esfahbod
|
bccf3e1827
|
Minor
|
6 years ago |
Behdad Esfahbod
|
dff2c45f1e
|
Port rest from VAR to UnsizedArrayOf<>
|
6 years ago |
Behdad Esfahbod
|
9507b05a7a
|
Simplify sanitize->check_array()
Fix a bug in CBDT sanitize, and redundant check in avar.
|
6 years ago |
Behdad Esfahbod
|
bc485a9812
|
Port some VAR arrays to UnsizedArrayOf<>
Fix avar sanitize().
|
6 years ago |
Behdad Esfahbod
|
1bc7a8d6c4
|
[indic] Cache hb_options().uniscribe_bug_compatible on indic_plan
|
6 years ago |
Behdad Esfahbod
|
24f1d96224
|
Unbreak HB_OPTIONS
Fixes https://github.com/harfbuzz/harfbuzz/issues/1154
|
6 years ago |
Behdad Esfahbod
|
e46c51f1e9
|
[indic] Do NOT allow matra after Halant,ZWJ
Fixes https://github.com/harfbuzz/harfbuzz/issues/556
Devanagari regresses 12 tests, and Gujarati 2. See:
https://github.com/harfbuzz/harfbuzz/issues/556#issuecomment-419957472
New numbers:
BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%)
DEVANAGARI: 707299 out of 707394 tests passed. 95 failed (0.0134296%)
GUJARATI: 366353 out of 366457 tests passed. 104 failed (0.0283799%)
GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%)
KANNADA: 951300 out of 951913 tests passed. 613 failed (0.0643966%)
MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%)
ORIYA: 42327 out of 42329 tests passed. 2 failed (0.00472489%)
SINHALA: 271596 out of 271847 tests passed. 251 failed (0.0923313%)
TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
|
6 years ago |
Behdad Esfahbod
|
5dfd6e0762
|
Fix sanitize or Context Rule
Fixes https://github.com/harfbuzz/harfbuzz/issues/1110
|
6 years ago |
Behdad Esfahbod
|
20a11a824d
|
Revert "[subset] Disable GSUB/GPOS subsetting for now"
This reverts commit 616fd34a69 .
|
6 years ago |
Behdad Esfahbod
|
54d332dd9b
|
1.9.0
|
6 years ago |
Behdad Esfahbod
|
616fd34a69
|
[subset] Disable GSUB/GPOS subsetting for now
So I can get a release out. I haven't debugged those yet, and they
are producing bad tables.
|
6 years ago |
Behdad Esfahbod
|
d42f0e5809
|
[atomic] Fix pointer type passed to InterlockedExchangeAdd()
John Emmas reported on mailing list that build with MSVC is failing.
Not sure why bots don't catch it, but this should fix.
|
6 years ago |