Behdad Esfahbod
616fd34a69
[subset] Disable GSUB/GPOS subsetting for now
...
So I can get a release out. I haven't debugged those yet, and they
are producing bad tables.
6 years ago
Behdad Esfahbod
d42f0e5809
[atomic] Fix pointer type passed to InterlockedExchangeAdd()
...
John Emmas reported on mailing list that build with MSVC is failing.
Not sure why bots don't catch it, but this should fix.
6 years ago
Behdad Esfahbod
fda994e1d4
Use enum instead of "static const" in class scope
...
Technically, static const needs an out-of-class definition. Eg:
CXXLD libharfbuzz-subset.la
Undefined symbols for architecture x86_64:
"OT::FeatureVariationRecord::min_size", referenced from:
bool OT::GSUBGPOS::subset<OT::PosLookup>(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o
bool OT::GSUBGPOS::subset<OT::SubstLookup>(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o
"OT::Record<OT::LangSys>::min_size", referenced from:
OT::Script::subset(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o
"OT::IntType<unsigned short, 2u>::min_size", referenced from:
OT::Script::subset(hb_subset_context_t*) constin libharfbuzz_subset_la-hb-subset.o
OT::RecordListOf<OT::Feature>::subset(hb_subset_context_t*) const in libharfbuzz_subset_la-hb-subset.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[4]: *** [libharfbuzz-subset.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Exited with code 2
6 years ago
Behdad Esfahbod
ebe67137ab
Try fixing bots
6 years ago
Behdad Esfahbod
5f17dbc302
[subset] Fix div-by-zero
6 years ago
Garret Rieger
21bf147054
[subset] Fix hdmx subsetted size calculation.
6 years ago
Behdad Esfahbod
1e6599f596
Fix older compilers re '>>' at nested template declarations
6 years ago
Behdad Esfahbod
a1e5e07c73
[subset] Hook up GSUB/GPOS, but still disabled
...
They are still in the drop list.
6 years ago
Behdad Esfahbod
0d160d5ff5
[subset] Implement subsetting of SingleSubst
6 years ago
Behdad Esfahbod
3f00d0b0df
[subset] Keep glyph set in plan
...
Should remove the vector version at some point...
6 years ago
Behdad Esfahbod
dc50493a8d
[subset] Towards subsetting SingleSubstFormat1
...
Why does subset plan not have a hb_set_t of glyphs?
6 years ago
Behdad Esfahbod
339d3603b9
[subset] Wire up subset() call down to subtables
6 years ago
Behdad Esfahbod
7b2ef551da
Templatize Lookup::sanitize()
6 years ago
Behdad Esfahbod
9c3747c5e5
[subset] More
6 years ago
Behdad Esfahbod
6d618522d6
Templatize GSUBGPOS::sanitize()
6 years ago
Behdad Esfahbod
49c44b58f6
[subset] Fix serialize_subset() calls
...
Ouch.
6 years ago
Behdad Esfahbod
7c9cfa2b40
Add intersects() method to GSUB/GPOS lookups
6 years ago
Behdad Esfahbod
61ce62e554
[subset] Minor
...
Remove Lookup::subset().
6 years ago
Behdad Esfahbod
bfa72a9a72
[subset] Towards GSUB/GPOS subsetting
...
Add subset() call for GSUBGPOS struct and its dependencies.
Not hooked up anywhere.
6 years ago
Behdad Esfahbod
6803ed8674
[serialize] Add reset()
6 years ago
Behdad Esfahbod
e58b190292
[subset] De-templatize hb_subset_context_t
...
We're going to (finally) use virtual methods for hb_serialize_context_t
customization, so don't need to carry a Serializer template variable
around... Simplifies code.
6 years ago
Behdad Esfahbod
22acd424ca
[serialize] Add a couple small methods
6 years ago
Behdad Esfahbod
d1f29908c2
[subset] Add hb_subset_context_t<>
6 years ago
Behdad Esfahbod
aba0a945c5
[subset] Add hb-subset-input.hh and make hb-subset.hh toplevel include
6 years ago
Behdad Esfahbod
18d01eac7f
Minor
6 years ago
Behdad Esfahbod
a23b892fe6
Shuffle
6 years ago
Behdad Esfahbod
93fe0faaee
[subset] Clean up hb_subset_input_t API
6 years ago
Behdad Esfahbod
d237ce7181
[subset] Bail if subsetting a table failed
6 years ago
Behdad Esfahbod
f39166f0c0
[subset] Remove unused hb_subset_profile_t
...
We might reintroduce it later, but for now remove, as it was unused.
Some things that should have been in this object (drop_hints, etc)
are already in hb_subset_input_t. So, for now, keep everything there.
6 years ago
Behdad Esfahbod
2ccc322cf8
[ot-font] Clean up cmap with gid=0
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1145
6 years ago
Ross Burton
0c7b633f52
Delete pkg.m4
...
pkg.m4 is provided by pkg-config, which is a requirement to build, and this copy is ancient. Delete it to avoid it being used instead of the host copy.
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