Ebrahim Byagowi
c930ae2bd8
Avoid stdint.h in Kernel module compiles
5 years ago
Ebrahim Byagowi
412d6cac3a
Extract an avoid errno compile flag
5 years ago
Ebrahim Byagowi
8a16d6f1c1
[doc] fix minor typo
5 years ago
Ebrahim Byagowi
aab279b33d
[ci] Install cmake on macOS cmake/amalgam tester
5 years ago
Ebrahim Byagowi
f3214df6f6
[coretext] Fix double promotion warnings by making casts explicit
5 years ago
Ebrahim Byagowi
cbbb6fa455
[ci] Don't build cmake tests in macOS bot
5 years ago
Ebrahim Byagowi
6e4736a3c5
[name] Undef entry_{index,score} to avoid collision in amalgam builds
5 years ago
Ebrahim Byagowi
d512087e4d
Rename GlyphID to HBGlyphID
...
Avoid collision with macOS's ATSUnicodeTypes.h GlyphID
5 years ago
Ebrahim Byagowi
bf08611044
[ci] Update and compile cmake/amalgam on macOS bot
5 years ago
Behdad Esfahbod
229ef1d29d
Rename Fixed to HBFixed
...
Fixes(!!) https://github.com/harfbuzz/harfbuzz/issues/1966
5 years ago
Behdad Esfahbod
170b5dd856
[aat] Minor
5 years ago
Behdad Esfahbod
a0695687eb
[aat] Minor
5 years ago
Ebrahim Byagowi
4905a2198b
[number] Add static to hb-number-parser.hh functions
5 years ago
Ebrahim Byagowi
30e5cdfbf1
[number] Optimize _pow10 constants ( #1963 )
5 years ago
Behdad Esfahbod
3f2cdf07a4
Change HB_VAR_ARRAY to 1 again
...
To fix MSVC bots, while I work on changing this to 0 permanently.
5 years ago
Ebrahim Byagowi
39cf8e21be
[number] Add overflow checks used to be done in parse_bcd
...
Which were removed in 1083df8
5 years ago
Ebrahim Byagowi
47d82713a1
Replace strtod with a ragel implementation
...
Use a ragel based number parser when strtod_l couldn't be found
as libc's strtod may is locale sensetivity which we need to not.
5 years ago
Ebrahim Byagowi
80613e5b9e
Minor, remove unused header
5 years ago
Behdad Esfahbod
5902198cee
[kerx] Fix offset issue in kern format 2
...
Fixes tests with HB_VAR_ARRAY != 1, as done in previous commit.
5 years ago
Behdad Esfahbod
861547d531
Change HB_VAR_ARRAY from 1 to 0
...
Going to see which compilers it breaks and special-case those...
5 years ago
Behdad Esfahbod
0e294c455e
Rename VAR to HB_VAR_ARRAY
5 years ago
Behdad Esfahbod
c379faed2b
Fix a few struct size declarations
...
Was wrong. As excercised by defining VAR to other than 1 in hb.hh.
5 years ago
Evgeniy Reizner
7d4da8b862
Remove duplicated tests from test-ot-tag ( #1958 )
5 years ago
Behdad Esfahbod
3aceee2527
Revert "[null] Silence undefined-behavior complaints with too-small null bytes"
...
This reverts commit 911c76abcd
.
Broke tests. I'm not sure I understand why. At any rate, this was a
bad way to fix. I'll look into understanding as well as better fix.
5 years ago
Behdad Esfahbod
911c76abcd
[null] Silence undefined-behavior complaints with too-small null bytes
...
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1577584
5 years ago
Behdad Esfahbod
3c81246f66
[subset] Use newer iter tools in SinglePosFormat1
5 years ago
Behdad Esfahbod
9510e918f7
[iter] Partialize hb_zip()
5 years ago
Behdad Esfahbod
52d19ba459
Minor
5 years ago
Ebrahim Byagowi
cad698568a
Use roundf to fix cast to int difference of msys2 w64
5 years ago
Ebrahim Byagowi
88c73359da
Check roundf availibity in autotools
...
Hmm, not sure how I missed it.
5 years ago
Ebrahim Byagowi
1083df8b80
Use hb_parse_double in CFF::dict_opset_t::parse_bcd
5 years ago
Ebrahim Byagowi
57f88e11d4
[number] Turn hb_parse_float into hb_parse_double
5 years ago
Ebrahim Byagowi
65690b5a4b
[number] Add whole buffer check and test it
5 years ago
Ebrahim Byagowi
3661eb6105
Don't check null terminaion of source in hb_codepoint_parse
...
This isn't what intended originally, just checking if consumed
all the buffer is enough.
5 years ago
Ebrahim Byagowi
3a16272750
[test] resolve msvc complain on signedness comparing
5 years ago
Ebrahim Byagowi
005389beb5
Use hb_parse_uint in deserializer token parser
5 years ago
Ebrahim Byagowi
3d5b1df7ab
[number] Add test
5 years ago
Ebrahim Byagowi
b5e6805ee7
[number] Minor tweak on parser related codes
5 years ago
Ebrahim Byagowi
e2cecf1f34
[number] Remove parsing code duplication of the calls using lambda
5 years ago
Ebrahim Byagowi
a77bb7eb41
Move hb_codepoint_parse to hb_parse_uint
5 years ago
Ebrahim Byagowi
43372fbb5a
Merge and aggregate number parsing logics to form hb-number
5 years ago
Ebrahim Byagowi
d50d2fcbc7
Fallback if roundf didn't exist, like in dietlibc ( #1953 )
5 years ago
Ebrahim Byagowi
d3b984d379
Revert in-house pow10 ( d80a3ea
) and fix oss-fuzz/16922
...
Probably can be fixed but merging it was wrong so let's revert.
5 years ago
Ebrahim Byagowi
41d6e95b0d
[subset] Use internal API of hb_set_t
5 years ago
Ebrahim Byagowi
8ccf328d54
[subset] Run once for a tag
5 years ago
Khaled Hosny
0954c8f7a0
[ft] Prefer symbol cmap subtable if found ( #1948 )
...
Similar to commit d304d60e4d
for ot-font.
5 years ago
Ebrahim Byagowi
4375858792
[editorconfig] Treat Ragel files also as C sources
5 years ago
Ebrahim Byagowi
d80a3ea983
[cff] Implement in-house power of 10
...
A minimal power only for natural numbers exponents of ten, for portability.
Found the idea in Tcl/Tk but wrote it myself after weeks and it turned out
being a different implementation, reverse direction, constexpr, etc.
5 years ago
Ebrahim Byagowi
f441a7c008
Don't allow reference blob be accessed using empty tag in hb_face_reference_table ( #1947 )
5 years ago
Behdad Esfahbod
c9eb913f4c
[iter] Simplify hb_chop()
5 years ago