|
a6fb8ce9
|
2020-07-04T23:43:21
|
|
Minor, fix -Wrange-loop-analysis warnings
Fixing these complains raised by newer versions of clang,
./hb-ot-layout-common.hh:1720:53: error: loop variable 'gid_klass_pair' is always a copy because the range of type 'hb_map_iter_t<hb_sorted_array_t<OT::HBGlyphID>, (lambda at ./hb-ot-layout-common.hh:1672:29), hb_function_sortedness_t::RETAINS_SORTING, nullptr>' does not return a reference [-Werror,-Wrange-loop-analysis]
for (const hb_pair_t<hb_codepoint_t, unsigned>& gid_klass_pair : + it)
And
./hb-ot-color-colr-table.hh:177:44: error: loop variable '_' is always a copy because the range of type 'hb_map_iter_t<hb_filter_iter_t<hb_map_iter_t<hb_range_iter_t<unsigned int, unsigned int>, (lambda at ./hb-ot-color-colr-table.hh:209:31), hb_function_sortedness_t::RETAINS_SORTING, nullptr>, (anonymous struct at ./hb-algs.hh:331:1) &, (anonymous struct at ./hb-algs.hh:51:1) &, nullptr>, (anonymous struct at ./hb-algs.hh:338:1) &, hb_function_sortedness_t::RETAINS_SORTING, nullptr>' does not return a reference [-Werror,-Wrange-loop-analysis]
for (const hb_item_type<BaseIterator>& _ : + base_it.iter ())
|
|
21e1b131
|
2020-02-11T17:08:55
|
|
[colr] minor style fix
|
|
cbb45c3e
|
2020-02-11T16:46:14
|
|
[subset/colr] minor improve to resolve msvc complain
MSVC says,
hb-ot-color-colr-table.hh(215): warning C4700: uninitialized local variable 'new_record' used [build\harfbuzz-subset.vcxproj]
harfbuzz-subset.vcxproj -> build\Debug\harfbuzz-subset.lib
|
|
92f43a99
|
2020-01-29T16:06:55
|
|
[subset] COLR, simplify logic and use add_array
|
|
fba5128a
|
2020-01-29T10:24:55
|
|
Fix build
|
|
7d542a52
|
2020-01-29T10:20:00
|
|
Refactor to two iterators
|
|
0aed54dc
|
2020-01-24T15:51:06
|
|
Use one-liner methods
|
|
81c469eb
|
2020-01-24T15:49:25
|
|
Try to fix Wrange-loop-analysis
|
|
0d1ba94a
|
2020-01-24T15:44:40
|
|
Minor style fixes
|
|
ed857c46
|
2020-01-24T08:52:23
|
|
[subset] Add COLR support
|
|
d512087e
|
2019-09-14T10:36:29
|
|
Rename GlyphID to HBGlyphID
Avoid collision with macOS's ATSUnicodeTypes.h GlyphID
|
|
d67201da
|
2019-07-30T17:20:18
|
|
[colr] minor
|
|
e5cf9718
|
2019-07-30T04:44:23
|
|
[colr][feat][meta] Port sub_array iteration to dagger (#1868)
|
|
92588782
|
2019-04-30T13:05:10
|
|
Remove space between right angle brackets now that we have C++11 (#1689)
|
|
ef006549
|
2019-01-22T12:08:57
|
|
Convert tag enum class consts to static constexpr
Part of https://github.com/harfbuzz/harfbuzz/issues/1553
|
|
b1152d5e
|
2019-01-17T18:17:04
|
|
Use NNOffsetTo<>
|
|
474a1205
|
2018-12-21T18:46:51
|
|
[array/vector] Rename len to length
|
|
e4120085
|
2018-12-17T21:31:01
|
|
Remove redundant void from C++ sources (#1486)
|
|
b2ebaa9a
|
2018-12-16T22:38:10
|
|
Remove redundant 'inline' from methods (#1483)
|
|
5c4fead7
|
2018-11-29T15:04:34
|
|
Convert "static const hb_tag_t" constants to enum
|
|
ae96c98d
|
2018-11-24T10:25:10
|
|
[color] Use SortedUnsizedArrayOf<>
|
|
1d82b476
|
2018-11-10T18:08:11
|
|
[colr/feat/trak] minor
|
|
17ffbc07
|
2018-10-22T21:22:25
|
|
[color] Use Index for colorIdx
Doesn't matter, but matches the description.
|
|
3bf91bd2
|
2018-10-22T12:40:38
|
|
[color] Rewrite colr access
COLR table has one function: return layers for a glyph, and we expose exactly
that, so should just wire it through. Also use sub_array() for verifiable
safety.
Also, BaseGlyphRecord's null object is enough. We don't need to special-case
the not-found.
|
|
3b3668ac
|
2018-10-21T19:23:11
|
|
[color] Rename / reorder a bit
Implement has_data() for realz.
|
|
228fa71b
|
2018-10-21T17:43:29
|
|
[colr] Move sanitize
|
|
b92b9d7e
|
2018-10-21T17:42:51
|
|
[colr] Move compare function into a static
Not sure if MSVC would be unhappy about this.
|
|
b6b17173
|
2018-10-21T17:41:49
|
|
[colr] Minor
|
|
a6ade347
|
2018-10-21T17:39:39
|
|
[colr] Move sanitize() to right place
Sanitize always comes just before data member definitions, so
it's easy to cross-check.
|
|
24adc157
|
2018-10-21T17:39:00
|
|
[colr] Touch up a bit
When a struct is plain old data with no references, etc, it's okay
to mark its members public.
|
|
d4e928b1
|
2018-05-01T17:16:46
|
|
[color] Minimal API for COLR/CPAL
|
|
10642b3f
|
2018-09-15T19:43:33
|
|
Disallow null-enabled offsets to unsized structures...
...like UnsizedArrayOf<>.
This fixes a class of crasher bugs, mostly with color and AAT tables. We
cannot use nullable offsets to varsized data that does not declare min_size,
because it's nost safe to use our fixed-size null pool for types that have
their size external. So, use non_null'able offsets for these.
A further enhancement would be to make use of min_size in Null<> itself.
Will try that after.
|
|
c77ae408
|
2018-08-25T22:36:36
|
|
Rename hb-*private.hh to hb-*.hh
Sorry for the noise, downstream custom builders. Please adjust.
|
|
a47070cd
|
2018-04-18T12:09:37
|
|
Minor, annotate the added tables with likely/unlikely (#997)
|
|
92480316
|
2018-04-17T15:32:02
|
|
[colr] Check layer record access
|
|
a02c3ee7
|
2018-04-12T13:38:19
|
|
Add or update tables specifications links
|
|
a62554af
|
2018-04-10T00:53:50
|
|
[colr/cpal] Improvements and add a sample renderer (#927)
|
|
56946d21
|
2018-03-14T16:26:33
|
|
[color/COLR] Simplify
|
|
6418ae4e
|
2018-03-14T16:18:42
|
|
[color/COLR] Clean up
|
|
150c53ee
|
2018-03-14T16:08:12
|
|
[color/COLR] Fix bad sanitize
Bad bad bad bad code. Don't do that. If compiler's not happy, understand why.
|
|
399c800b
|
2018-03-14T16:03:01
|
|
[color/COLR] Clean up
|
|
e4cbb87b
|
2018-03-07T09:37:22
|
|
Minor
|
|
54cbe670
|
2018-03-06T16:41:08
|
|
[ot-color] Further improvements on COLR/CPAL implementation (#859)
* Implemented a bsearch on get_base_glyph_record
* Made get_color_record_argb actually work
|
|
c446c23f
|
2018-03-03T22:43:23
|
|
[ot-color] Move the related tables to hb-ot-color-* (#858)
|