Michiharu Ariza
8af9690ac7
Merge branch 'master' into cff-subset
...
Renamed cff "private" source/headers without the suffix
6 years ago
Michiharu Ariza
0ad081ec32
attempt to fix build failure
6 years ago
Michiharu Ariza
a11420b48c
Subroutine flattener for CFF1
...
Subr-flattened charstrings are temporarily re-encoded in ByteStrBuff during "plan" phase, then copied to hb_serialize_context_t during "write" phase
CSOpSet may callback opcode processing "virtual" functions via CRTP
Numer struct may store a value as fixed optionally in addition to int and float
6 years ago
Behdad Esfahbod
fee0f41c6c
Don't declare extern symbols as inline
...
clang -O3 was completely removing _get_gdef(), causing link
failure when needed from another compilation unit. Surprisingly,
"extern inline" didn't fix it.
6 years ago
Behdad Esfahbod
967741e4c4
Add explicit to hb_auto_t 1param constructors
6 years ago
Behdad Esfahbod
c0a3f38f78
Fix distcheck
6 years ago
Behdad Esfahbod
2dde6c803a
Explicitly pass reference in hb_auto_t constructor
...
Fixes clang bots as well as fuzzer issue.
6 years ago
Behdad Esfahbod
a268068010
[ot-face] Remove tables_t. The face_data_t is what tables_t was
6 years ago
Behdad Esfahbod
3a0b3a29cc
Free up hb-ot-face.hh from includes
...
There might be a better way to do this, but I couldn't find...
6 years ago
Behdad Esfahbod
a84309afc8
[face] Use saved cmap in collect_unicodes() APIs
6 years ago
Behdad Esfahbod
c624e18a24
[OT] Move code around
6 years ago
Behdad Esfahbod
3999094682
[OT] Use relaxed ops for recursing into GSUB/GPOS lookups again
6 years ago
Behdad Esfahbod
d8c57e85d9
[GDEF] Move code around
6 years ago
Behdad Esfahbod
453e0c60b1
Add template keyword
...
I swear I have no idea why this is needed, but it is...
6 years ago
Behdad Esfahbod
c44b0caf0d
Fixup
6 years ago
Behdad Esfahbod
4096fbe487
[ot-face] Port GDEF to unified table accelerator model as well
6 years ago
Behdad Esfahbod
b929100f87
[ot-face] Unify GSUB/GPOS accelerators in the table accelerator framework
6 years ago
Behdad Esfahbod
963413fc54
WIP
6 years ago
Behdad Esfahbod
e6cb938065
[ot-face] Unify accelerators and tables
6 years ago
Behdad Esfahbod
7f8b6fe67d
Minor
6 years ago
Behdad Esfahbod
59bca0d2cb
[ot-font] Rename
6 years ago
Behdad Esfahbod
1c48a7ef06
[ot-font] Cache tables on face, not font
6 years ago
Behdad Esfahbod
71f8893eff
[ot-font] Use init0
6 years ago
Behdad Esfahbod
f36ae6f8a8
[ot-font] Make everything (cmap/metrics) lazy
6 years ago
Behdad Esfahbod
62fc54725a
[ot-font] Fallback vertical advance to UPEM
...
Used to be ascent+descent. Whatever. This is more convenient for
upcoming changes.
6 years ago
Behdad Esfahbod
d950022c8a
Add hb-ot-face.cc/hh
6 years ago
Behdad Esfahbod
dae39c58fb
[face] Introduce character-map API
...
New API:
+hb_face_collect_unicodes
+hb_face_collect_variation_selectors
+hb_face_collect_variation_unicodes
6 years ago
Behdad Esfahbod
66384db97c
Minor
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
Behdad Esfahbod
82b12bcadd
[unicode] Add HB_UNICODE_MAX
...
New API:
HB_UNICODE_MAX
6 years ago
Behdad Esfahbod
b09a0336ca
[cmap] More hb_auto_t<>(...)
6 years ago
Behdad Esfahbod
28634db07e
[cmap] Fix skipping gid0 in Format4 collect_unicodes()
6 years ago
Behdad Esfahbod
acce1fa3ea
Use new hb_auto_t<> constructor with Coverage::Iter
6 years ago
Behdad Esfahbod
ddea4d19cf
Add 1-param passthrough constructor to hb_auto_t<>
...
And use.
6 years ago
Behdad Esfahbod
c8cfb702e9
[cmap] Minor
6 years ago
Behdad Esfahbod
1dcf5fb038
[cmap Add hb_subset_collect_variation_unicodes()
...
To be moved to hb-face.h later.
6 years ago
Behdad Esfahbod
4806b3800d
[cmap] Add hb_subset_collect_variation_selectors()
...
To be moved to hb-face later.
6 years ago
Behdad Esfahbod
3336de2479
[cmap] Remove unused code
6 years ago
Behdad Esfahbod
1becabe06c
[cmap] Use bsearch to find subtables
6 years ago
Behdad Esfahbod
02fe03e09a
[cmap] Factor out find_best_subtable
6 years ago
Behdad Esfahbod
b41c43b4e1
Minor
6 years ago
Behdad Esfahbod
7d382fa276
[cmap] Implement collect_unicodes() for Format0/6/10
6 years ago
Behdad Esfahbod
bd0e542525
[cmap] Simplify collect_unicodes()
...
Don't use accelerator (almost). Hooks up Format13 as well.
6 years ago
Behdad Esfahbod
d60c465627
Rename get_all_codepoints() to collect_unicodes()
6 years ago
Behdad Esfahbod
531051b8b9
[ot-font] Return char-not-found if mapped to gid 0
...
OpenType cmap table can use gid=0 to mean "not covered" to produce
more optimized cmap subtables. Return false from get_nominal_glyph()
for those. hb-ft already does this.
6 years ago
Behdad Esfahbod
aadb2a9188
Add face-builder
...
New API:
+hb_face_builder_create
+hb_face_builder_add_table
6 years ago
Behdad Esfahbod
6cac9dc9cc
[blob] Add as_bytes()
6 years ago
Behdad Esfahbod
29a9a08838
[sanitize] Document how sanitize machinery works
6 years ago
Behdad Esfahbod
142ac5a6be
[serialize] Add copy_bytes() and copy_blob()
6 years ago
Behdad Esfahbod
1c6b369324
[ot] Rename hb_ot_layout_t to hb_ot_face_data_t
6 years ago