Behdad Esfahbod
ad28f973f3
Rename offset types to be explicit about their size
...
Add Offset16To<>, Offset24To<>, and Offset32To<> for most use-cases.
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Ebrahim Byagowi
08428a15c3
minor, spacing
5 years ago
Ebrahim Byagowi
47f5a86036
minor, use NN on every OffsetTo<UnsizedArrayOf<>>
5 years ago
Ebrahim Byagowi
e5cf9718c0
[colr][feat][meta] Port sub_array iteration to dagger ( #1868 )
5 years ago
Ebrahim Byagowi
2c2a2b97db
[meta] Rename hb_ot_meta_t to hb_ot_meta_tag_t
5 years ago
Ebrahim Byagowi
53853c044a
[meta] minor
5 years ago
Ebrahim Byagowi
aaffe41094
[meta] minor, simplify iterator
5 years ago
Ebrahim Byagowi
62932c14bd
[meta] Rename ot-metadata to ot-meta per review
5 years ago
Ebrahim Byagowi
821d9e9034
Use .sub_array for DataMap tags iteration
5 years ago
Ebrahim Byagowi
bc65ebbce7
[meta] hb_ot_metadata_get_entries, tags iteration API
5 years ago
Ebrahim Byagowi
3ac03bd67c
[meta] New API, hb_ot_metadata_reference_entry for fetching meta entries
5 years ago
Ebrahim Byagowi
41ab56e095
Implement meta table parsing
5 years ago
Ebrahim Byagowi
92588782d7
Remove space between right angle brackets now that we have C++11 ( #1689 )
6 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
Behdad Esfahbod
b1152d5e66
Use NNOffsetTo<>
6 years ago
Ebrahim Byagowi
b2ebaa9afa
Remove redundant 'inline' from methods ( #1483 )
6 years ago
Behdad Esfahbod
5c4fead734
Convert "static const hb_tag_t" constants to enum
6 years ago
Behdad Esfahbod
327546e633
[name] Hook up ltag table
6 years ago
Behdad Esfahbod
10642b3fbf
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.
6 years ago
Behdad Esfahbod
c77ae40852
Rename hb-*private.hh to hb-*.hh
...
Sorry for the noise, downstream custom builders. Please adjust.
6 years ago
Ebrahim Byagowi
a47070cd40
Minor, annotate the added tables with likely/unlikely ( #997 )
7 years ago
Ebrahim Byagowi
a02c3ee70f
Add or update tables specifications links
7 years ago
Ebrahim Byagowi
b799fc8077
minor, use LOffsetTo and LArrayOf whenever possible ( #966 )
7 years ago
Ebrahim Byagowi
211da5efdc
[aat] Cosmetic changes ( #964 )
7 years ago
Ebrahim Byagowi
aa53cb50ba
[aat] Unprefix not essentially layout tables ( #921 )
7 years ago
Behdad Esfahbod
a289aaff47
[aat/ltag] Whitespace
7 years ago
Ebrahim Byagowi
158f2810b2
[aat/ltag] Implement the table parsing ( #911 )
7 years ago
Behdad Esfahbod
28c4245e9f
[aat/ankr] Define Anchor struct
7 years ago
Behdad Esfahbod
05fbd14e71
[aat/ankr] Minor
...
DEFINE_SIZE_MIN is to be used only in rare cases. For fixed-size structs
we want DEFINE_SIZE_STATIC.
7 years ago
Behdad Esfahbod
f90cd9b1f5
[aat/ankr] Hook up Lookup table
7 years ago
Behdad Esfahbod
c36598450e
[aat/ankr] Simplify
7 years ago
Ebrahim Byagowi
becb1d9eea
[aat] minor
...
Ops, this was done for testing
7 years ago
Ebrahim Byagowi
ae14dd0fb0
[aat] Implement ankr
7 years ago