Behdad Esfahbod
|
dfc5780245
|
Fix more double-promotion errors
WHy do only some of the clang bots catch this I have no idea :(.
|
5 years ago |
Behdad Esfahbod
|
41248cce0e
|
Remove MIN/MAX in favor of hb_min/hb_max
|
5 years ago |
Ebrahim Byagowi
|
92588782d7
|
Remove space between right angle brackets now that we have C++11 (#1689)
|
5 years ago |
Behdad Esfahbod
|
ef00654962
|
Convert tag enum class consts to static constexpr
Part of https://github.com/harfbuzz/harfbuzz/issues/1553
|
6 years ago |
Ebrahim Byagowi
|
e412008599
|
Remove redundant void from C++ sources (#1486)
|
6 years ago |
Ebrahim Byagowi
|
b2ebaa9afa
|
Remove redundant 'inline' from methods (#1483)
|
6 years ago |
Ebrahim Byagowi
|
7ee5c52345
|
minor style fix, use void in methods on no argument
|
6 years ago |
Behdad Esfahbod
|
5c4fead734
|
Convert "static const hb_tag_t" constants to enum
|
6 years ago |
Behdad Esfahbod
|
fc44dea341
|
Use atomic ints for upem and num_glyphs on face
|
6 years ago |
Behdad Esfahbod
|
da6aa3b033
|
Add hb_blob_ptr_t.destroy()
|
6 years ago |
Behdad Esfahbod
|
0b0fad3ea8
|
[color] Port to hb_blob_ptr_t
Fix hb_blob_ptr_t::get_length () as well.
|
6 years ago |
Behdad Esfahbod
|
0b0b38ec1e
|
Fix null accelerator's
Fixes all except for cmap. To be done separately.
Part of https://github.com/harfbuzz/harfbuzz/issues/1146
|
6 years ago |
Behdad Esfahbod
|
995bf6c6f8
|
[sbix] Rely on blob->as<> checking size against Type::min_size
|
6 years ago |
Khaled Hosny
|
0af3d176a6
|
[sbix] Fix memory leak in early return
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11210
|
6 years ago |
Behdad Esfahbod
|
98bddbc8ef
|
[sbix] Minor
|
6 years ago |
Behdad Esfahbod
|
574579d376
|
[color] Rename get_strike() to choose_strike()
|
6 years ago |
Behdad Esfahbod
|
e998fb9fbf
|
[color] Round extents when scaling
|
6 years ago |
Ebrahim Byagowi
|
c929ccfcea
|
[ot-color/png] Consider strike ppem on scaling
|
6 years ago |
Behdad Esfahbod
|
4876c938a2
|
[sbix] Comment
|
6 years ago |
Behdad Esfahbod
|
6562172381
|
[sbix] Use LOffsetLArrayOf<>
|
6 years ago |
Behdad Esfahbod
|
a3ddd8067f
|
[sbix] Add get_strike
|
6 years ago |
Behdad Esfahbod
|
95524ed9bc
|
[sbix] Remove sbix_len
|
6 years ago |
Behdad Esfahbod
|
69e9846452
|
[sbix] Fix get_glyph_blob() on Null object
|
6 years ago |
Behdad Esfahbod
|
4e0ee2af09
|
[sbix] Simplify ppem access
If struct members are simple and needed publicly, we make them public.
|
6 years ago |
Behdad Esfahbod
|
6ac9a4eaa3
|
[sbix] Simplify glyph_length calc
|
6 years ago |
Behdad Esfahbod
|
0730d62385
|
[sbix] Check glyph data end is in range
|
6 years ago |
Behdad Esfahbod
|
b76dc03108
|
[sbix] Reduce code
|
6 years ago |
Behdad Esfahbod
|
50fb02a219
|
[sbix] Check glyph id before looking into unsafe array
That 'Z' at end of imageOffsetsZ is a reminder that you should check...
|
6 years ago |
Behdad Esfahbod
|
a8cb9c73da
|
[sbix] Simplify 'dupe' handling logic
|
6 years ago |
Behdad Esfahbod
|
d7eb534e59
|
[sbix] Check offsets before proceeding
|
6 years ago |
Behdad Esfahbod
|
c8380bd3e4
|
[color] Remove more dump-emoji cruft
|
6 years ago |
Behdad Esfahbod
|
68f2c832c8
|
Remove dump-emoji
|
6 years ago |
Behdad Esfahbod
|
b46de42b3a
|
[sbix] Fix order of parameters
|
6 years ago |
Behdad Esfahbod
|
a91cda72ab
|
[sbix] Remove redundant parameter
|
6 years ago |
Behdad Esfahbod
|
c712005f55
|
[sbix] Add get_strike()
|
6 years ago |
Behdad Esfahbod
|
400bc3f030
|
[sbix] Remove a couple of extra checks
|
6 years ago |
Behdad Esfahbod
|
3770282c83
|
[sbix] Rename sbix_table to table in accelerator
|
6 years ago |
Behdad Esfahbod
|
1f33b8525d
|
[sbix] Rename ugly reference_blob_for_glyph() to reference_png()
|
6 years ago |
Behdad Esfahbod
|
946b534419
|
[sbix] Fix uninitialized variables
|
6 years ago |
Behdad Esfahbod
|
01c7d53fb7
|
[sbix] Select best strike based on ppem
|
6 years ago |
Behdad Esfahbod
|
f9f26bff4c
|
[sbix] Move code around. Add get_extents()
|
6 years ago |
Behdad Esfahbod
|
48bc3039cb
|
[sbix] Check blob length against PNG header leangth
|
6 years ago |
Ebrahim Byagowi
|
d3ec31a57c
|
[ot-color] More on PNGHeader fields
|
6 years ago |
Ebrahim Byagowi
|
35fa3d3260
|
[ot-color] Apply Behdad comment
|
6 years ago |
Ebrahim Byagowi
|
307d61867a
|
[ot-color] Make PNGHeader reading actually work
|
6 years ago |
Ebrahim Byagowi
|
632e9af862
|
[ot-color] Implement PNGHeader and test it, it doesn't work however
|
6 years ago |
Ebrahim Byagowi
|
38706a0746
|
[ot-color] Preparation for setting PNG width/height in extents
|
6 years ago |
Ebrahim Byagowi
|
3d4c1f6a41
|
[ot-color] Apply Behdad reviews
|
6 years ago |
Ebrahim Byagowi
|
8ef0d2ef92
|
[ot-color] Apply Behdad comment
|
6 years ago |
Ebrahim Byagowi
|
5e2a52f71a
|
[sbix] Remove dump method from sbix accelerator
|
6 years ago |