|
858b6279
|
2019-12-10T13:18:32
|
|
[machinery] Remove CastR<>()
|
|
0558413f
|
2019-10-01T13:49:55
|
|
Minor, tweak spaces
|
|
a0b4ac4d
|
2019-08-24T17:57:14
|
|
Turn 8 spaces to tab across the project
According to the current code style of the project
|
|
a6065d05
|
2019-07-10T16:41:40
|
|
Don't call memcpy when a table is empty
|
|
41248cce
|
2019-05-07T20:54:31
|
|
Remove MIN/MAX in favor of hb_min/hb_max
|
|
92588782
|
2019-04-30T13:05:10
|
|
Remove space between right angle brackets now that we have C++11 (#1689)
|
|
07776b60
|
2019-04-15T16:43:34
|
|
More tweaks to previous commit
Delete assignment operator of OffsetTo<> instead of Offset<>.
In simple ArrayOf<>::sanitize() assert that Type has assignment operator.
Ideally we should SFINAE this and fallback to calling Type::sanitize()
if assignment operator is not available. But we don't have a case of
that in the codebase.
|
|
95df00ae
|
2019-04-12T17:50:03
|
|
Hide a few static methods
Looks like static methods that do not get inlined end up exported.
We have a lot more. Need to protect all at some point. Wish there
was an easier way, like the visibility flag we pass that automatically
hides all inline methods.
Was exposed by check-symbols.sh when compiling on OS X 10.14 with:
$ make CPPFLAGS=-Oz CXXFLAGS=-flto=thin LDFLAGS=-lc++
|
|
b986c6a3
|
2019-03-29T20:17:46
|
|
[C++11] Remove IntType::set() in favor of operator=
|
|
6e1c3eaf
|
2019-01-28T14:12:41
|
|
Fix sign comparison error
|
|
b1152d5e
|
2019-01-17T18:17:04
|
|
Use NNOffsetTo<>
|
|
474a1205
|
2018-12-21T18:46:51
|
|
[array/vector] Rename len to length
|
|
f1e95e40
|
2018-12-18T16:49:08
|
|
[arrays] Remove hb_supplier_t<>
|
|
cf39c242
|
2018-12-17T22:36:23
|
|
[arrays] Rename Supplier to hb_supplier_t
|
|
e4120085
|
2018-12-17T21:31:01
|
|
Remove redundant void from C++ sources (#1486)
|
|
0d0fe9df
|
2018-12-16T22:29:40
|
|
[arrays] Remove need of stride in Supplier<>
|
|
b2ebaa9a
|
2018-12-16T22:38:10
|
|
Remove redundant 'inline' from methods (#1483)
|
|
d77a098b
|
2018-11-24T10:06:13
|
|
[arrays] Improve bfind() interface
Much more useful now. :)
|
|
30cb45b3
|
2018-11-24T00:35:31
|
|
Change ArrayOf.bsearch() return semantics
Towards consolidating all array bsearch/...
|
|
e2ffb33a
|
2018-11-23T16:24:28
|
|
Remove lsearch for small TableDirectorys
|
|
72462eb7
|
2018-11-02T11:46:24
|
|
Add UnsizedArrayOf::as_array() instead of hb_array() template
|
|
8d689f8a
|
2018-10-22T21:33:18
|
|
Add hb_array<>() specialization for UnsizedArrayOf
Related https://github.com/harfbuzz/harfbuzz/issues/1301
|
|
abfbba19
|
2018-10-22T21:27:45
|
|
Add hb_array<>()
Simplifies transient object creation.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1301
|
|
d7865107
|
2018-10-22T16:18:34
|
|
Remove const from hb_array_t details
Will come in through <T> if desired.
|
|
257d0e5a
|
2018-10-19T22:49:21
|
|
Fix typos.
|
|
f8ccb545
|
2018-09-14T18:59:53
|
|
[dfont] Disable null-processsing for offsets
An offset to unsized arrayis not safe to be redirected to our fixed-sized
null pool. Plus, we want to reject, not repair, bad-looking dfonts.
|
|
67449c39
|
2018-09-14T10:58:00
|
|
Don't dereference offset before check_struct()
|
|
ca746f26
|
2018-09-13T20:35:21
|
|
[dfont] Also check dataLen range in sanitize
Just to disagree with myself re being done with this code...
|
|
3789c557
|
2018-09-13T20:30:04
|
|
[dfont] Solve the mystery +2 offset thing!
Previously, ResourceForkHeader was defined as 30 bytes, having the typeCountM1 as last member.
There was a mysterious offset-by-2 in the code, derived from FontTools and JDK code this was
ported from.
In testing, I observed that typeListZ offset is actually 28. Suggesting that the typeCountM1
does NOT actually belong to ResourceForkHeader, but belongs to the array itself. Adjusting for
that resolves the mystery +2 offset hack, so everything is clean and good now.
This, concludes my dfont hacking. The code looks great now, and I'm happy to leave it.
Fuzzers might disagree though, we will see!
|
|
180a88a9
|
2018-09-13T19:19:57
|
|
[dfont] Some more
|
|
0ab0f1e5
|
2018-09-13T19:13:01
|
|
[dfont] Push methods further down
|
|
8c9bdcc1
|
2018-09-13T19:08:22
|
|
[dfont] Minor
|
|
4479d3a2
|
2018-09-13T19:05:59
|
|
[dfon]t Sanitize OpenTypeFontFace
|
|
3fba4190
|
2018-09-13T18:49:16
|
|
[dfont] Minor
|
|
bf852f0e
|
2018-09-13T18:47:53
|
|
[dfont] Make test pass
Offset 0 is not null in this context.
|
|
82f4d776
|
2018-09-13T18:27:20
|
|
[dfont] Minor
|
|
dbb764dc
|
2018-09-13T16:49:26
|
|
[dfont] Clean up sanitize()
I don't think I broke anything. Fuzzers will let me know..
|
|
bd75fd45
|
2018-09-11T18:12:26
|
|
[dfont] Some renaming, plus add link to reference doc
|
|
4134ec13
|
2018-09-11T17:56:03
|
|
[dfont] Sanitize only sfnt resources as OpenTypeFontFile
|
|
6b5e4d07
|
2018-09-11T17:26:24
|
|
[dfont] Minor
|
|
d5c50927
|
2018-09-11T17:18:21
|
|
[dfont] Fix test expecatation and minor touch up
I have no way to authoritatively know, but looks like test font only has one
face. So, adjust test expectation instead.
|
|
9479ffef
|
2018-09-11T16:41:26
|
|
[dfont] Re-enable and fix offset handling
Fixes https://github.com/harfbuzz/harfbuzz/pull/1085
|
|
a1814e2b
|
2018-09-11T14:45:23
|
|
Whitespace
|
|
fda994e1
|
2018-09-07T15:02:57
|
|
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
|
|
22acd424
|
2018-08-31T16:38:04
|
|
[serialize] Add a couple small methods
|
|
c77ae408
|
2018-08-25T22:36:36
|
|
Rename hb-*private.hh to hb-*.hh
Sorry for the noise, downstream custom builders. Please adjust.
|