Ebrahim Byagowi
3e1a2632dc
[unscribe] fix leak issue
...
with no user_data provided, `free` will be called with `(0)` thus silently having a leak
5 years ago
Ebrahim Byagowi
e75d785b51
[doc] fix hb_blob_create call example
...
otherwise free(0) will be called that silently makes a leak
5 years ago
Daeren
4ef597e170
Fix unary minus operator applied to unsigned int
...
Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146
This patch fixes the error.
5 years ago
Daeren
1770493cf5
Fix unary minus operator applied to unsigned int
...
Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146
This patch fixes the error.
5 years ago
Behdad Esfahbod
a061e47fcc
Change a few HB_INTERNAL static methods to static inline
5 years ago
Behdad Esfahbod
dd3972a364
[GSUB] Simplify Extension is_reverse()
...
We don't allow extension lookups to chain to another extension lookup.
Simplify code for that.
5 years ago
Behdad Esfahbod
858b627984
[machinery] Remove CastR<>()
5 years ago
Behdad Esfahbod
b84ceb2fcf
[machinery] Remove CastP
5 years ago
Behdad Esfahbod
85574ec287
[machinery] Minor
5 years ago
Behdad Esfahbod
e101a67257
[perf] Add texts/fa-thelittleprince.txt
5 years ago
Behdad Esfahbod
2c781a6701
[perf] More rename
5 years ago
Behdad Esfahbod
d703392afe
[perf] Adjust text/fa-monologue.txt
5 years ago
Behdad Esfahbod
19d1b9d4f3
[perf] Renames
5 years ago
Behdad Esfahbod
6a60ca117c
[algs] Fold last other bsearch() in
...
Now truly have only one bsearch implementation.
5 years ago
Ebrahim Byagowi
53dc8d944f
Add initial shaping performance test and profiler
5 years ago
Behdad Esfahbod
39afe608b4
[algs] Fold one more custom bsearch() in
...
One more to go.
5 years ago
Behdad Esfahbod
b1dc676eaa
[algs] Reduce one more bsearch() impl
...
Ouch, there were three more left. Down one. Two to go.
5 years ago
Ebrahim Byagowi
6f76c325e5
[test] Update 10.15 results
...
Turned out only SFNS, which wasn't available in 10.14 anyway, needed an update
See https://crbug.com/1005969#c37 also
5 years ago
Ebrahim Byagowi
2241a676ba
[test] Add macOS 10.15 related fonts
...
breaks the test and 10.15 bot, will add the fix in next commit, also adds a broken test for f47cbade1
5 years ago
Ebrahim Byagowi
f3de3b6d3d
[ci] fix macOS 10.15 bot
...
Xcode 11.3.0 image is supposed to work per https://circleci.com/docs/2.0/testing-ios/
but isn't https://circleci.com/gh/harfbuzz/harfbuzz/118693 AFAICS
Let's try Xcode 11.2.1 image
5 years ago
Ebrahim Byagowi
49434bdd49
[ci] Add a macOS 10.15 bot
...
Should update macos.tests with the fonts, for now
5 years ago
Behdad Esfahbod
f47cbade18
[aat] Adjust fallback positioning logic
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1528
Wish could add a test...
$ ./hb-view --font-file Thonburi.ttc --unicodes U+0E17,U+0E35,U+0E48,U+0E4A --shaper ot
▃
▂▃▃▄▃▂▁▊ ▃ ▃ ▎
▗ ▅▆▆▅ ▌ ▆▆▅▆▙ ▌▗
▗ ▙ ▂ ▎▗ ▟
▅▆▆▆▇▇▇▇▇▇▇▆▆▅▄ ▇▅▅▅ ▙▆▇
▁▁▂▁ ▁▁
▖ ▖ ▂▂
▉ ▁ ▆▆ ▌ ▆ ▙▄ ▁▁
▙ ▉ ▃▖ ▟
▊ ▉ ▅▟ ▗▄
▊ ▉ ▗ ▏ ▇▆
▊ ▟ ▉ ▆ ▖
▊ ▉ ▌ ▂
▊ ▏ ▉ ▌ ▗ ▄▟
▊ ▆
5 years ago
Behdad Esfahbod
fa7edf87c9
[bsearch] Massage API some more
5 years ago
Behdad Esfahbod
70aa5071d8
[algs] Adjust return value of hb_ctz(0) to be 32 instead of 0
5 years ago
Behdad Esfahbod
eefb78f674
Minor
5 years ago
Behdad Esfahbod
9fb030585a
Rename start/end to first/last in RangeRecord
...
Because that's what they are.
5 years ago
Evgeniy Reizner
8ac4ba14dc
Fix typo in TESTING.md ( #2066 )
5 years ago
Ebrahim Byagowi
9b1d5c4a59
[number] fix where strtod_l not available
5 years ago
Ebrahim Byagowi
5c8f960289
[number] minor, include the renamed header
5 years ago
Behdad Esfahbod
48eef2724c
[algs/array] Consolidate the last two bsearch implementations!
...
Yay! Seems to work.
5 years ago
Behdad Esfahbod
ed35dea8c0
Fourth try... sighs
5 years ago
Behdad Esfahbod
9168310bb4
Fix build, third times...
5 years ago
Behdad Esfahbod
34f5cc2cc8
Second try at fixing build
5 years ago
Behdad Esfahbod
14ce5ab0b7
First try at fixing build errors
5 years ago
Behdad Esfahbod
2274270c6a
[algs] Streamline bsearch some more
5 years ago
Behdad Esfahbod
bd55d4b49f
[algs] Streamline bsearch() API more towards hb_array_t::bsearch_impl()
...
Preparing to merge the two finally!
5 years ago
Behdad Esfahbod
fd6df520a1
[array] Isolate bsearch implementation more
5 years ago
Behdad Esfahbod
06d3c2019f
[array] Simplify bfind() positioning
...
I had copied the old scheme from fontconfig's fccharset.c. I just
convinced myself that this change is correct and produces exact
same results. But I also am skeptical. Anyone else feel like
convincing themselves as well please?
5 years ago
Ebrahim Byagowi
d67ba649a3
Rename hb_array_t::in_range to hb_array_t::check_range
5 years ago
Ebrahim Byagowi
72d83a0280
Make hb_array_t::in_range similar to hb_sanitize_context_t::check_range
5 years ago
Behdad Esfahbod
b1167d19e9
Fix!
5 years ago
Behdad Esfahbod
5ff410b493
Add files, oops
5 years ago
Behdad Esfahbod
2dc20e632e
Implement fallback vertical shaping from Firefox
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/355
5 years ago
Behdad Esfahbod
b6d0f1529d
[indic] Fix old-spec base-finding logic w vatu feature
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1587
5 years ago
Behdad Esfahbod
0414341ac5
Prefer AAT shaping over OT if both available
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1529
5 years ago
blueshade7
82545c5e2b
more coding style fixes
5 years ago
blueshade7
2e7c1239c8
minor: coding style
5 years ago
blueshade7
ed94e41065
fixed api test test-ot-glyphname
5 years ago
blueshade7
7a4745ba8d
added api test test-ot-glyphname
5 years ago
blueshade7
ab525ac66d
fix HB_TINY buid
5 years ago