|
82bbec30
|
2019-05-16T15:14:01
|
|
Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into glyf
|
|
9d09ac13
|
2019-05-11T23:16:40
|
|
[subset] Tweak hint stripping
|
|
3a4c928f
|
2019-05-11T22:06:46
|
|
[subset] Fix glyf tests except hint stripping & local test asan
|
|
b77dde8f
|
2019-05-10T16:52:19
|
|
[subset] Destroy blob
|
|
14db6512
|
2019-05-10T09:32:43
|
|
[subset] Correct flipped use short computation
|
|
ab3fe5de
|
2019-05-09T22:12:20
|
|
[subset] Glyf by iter now runs but fails tests
|
|
0d7fef2d
|
2019-05-08T16:52:00
|
|
[subset] Dinner time, checkpoint
|
|
240bc86e
|
2019-05-08T14:59:03
|
|
[subset] Remove subset-glyf; want everything to point to new iter-based edition. Some of the code will resurface as impl builds out.
|
|
02d4d4f3
|
2019-05-08T14:43:18
|
|
[subset] Starting to sketch glyf as iter
|
|
8f174870
|
2019-05-08T16:52:00
|
|
[subset] Dinner time, checkpoint
|
|
723d054d
|
2019-05-08T16:45:35
|
|
Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into glyf
|
|
ed727d4b
|
2019-05-08T16:39:45
|
|
Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into glyf
|
|
fb9bff95
|
2019-05-08T14:59:03
|
|
[subset] Remove subset-glyf; want everything to point to new iter-based edition. Some of the code will resurface as impl builds out.
|
|
f9b089b6
|
2019-05-08T14:43:18
|
|
[subset] Starting to sketch glyf as iter
|
|
b7be5931
|
2019-05-16T13:32:56
|
|
Fix msan issue
The fact that HB_AUTO_RETURN will return rvalue-references for rvalues
is very disturbing.
Even apart from that, I'm totally lost re any hb_move needs or
hb_forward'ing to functions/templates where the type is fixed by
explicitly specifying template parameters.
==1==ERROR: AddressSanitizer: stack-use-after-return on address 0x7f6ad65e51e0 at pc 0x0000005da240 bp 0x7ffc104ab670 sp 0x7ffc104ab668
READ of size 4 at 0x7f6ad65e51e0 thread T0
SCARINESS: 55 (4-byte-read-stack-use-after-return)
#0 0x5da23f in bool OT::Coverage::serialize<hb_map_iter_t<hb_map_iter_t<hb_filter_iter_t<OT::Coverage::iter_t, hb_set_t const&, $_7&, (void*)0>, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, (void*)0>(hb_serialize_context_t*, hb_map_iter_t<hb_map_iter_t<hb_filter_iter_t<OT::Coverage::iter_t, hb_set_t const&, $_7&, (void*)0>, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>) harfbuzz/src/hb-ot-layout-common.hh:1055:16
#1 0x5d88f9 in bool OT::SingleSubstFormat1::serialize<hb_map_iter_t<hb_map_iter_t<hb_filter_iter_t<OT::Coverage::iter_t, hb_set_t const&, $_7&, (void*)0>, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, (void*)0>(hb_serialize_context_t*, hb_map_iter_t<hb_map_iter_t<hb_filter_iter_t<OT::Coverage::iter_t, hb_set_t const&, $_7&, (void*)0>, OT::SingleSubstFormat1::subset(hb_subset_context_t*) const::'lambda'(unsigned int), (hb_function_sortedness_t)1, (void*)0>, $_20&, (hb_function_sortedness_t)1, (void*)0>, unsigned int) harfbuzz/src/hb-ot-layout-gsub-table.hh:98:9
|
|
bcd3ffc9
|
2019-05-16T13:22:09
|
|
Whitespace
|
|
05bc5f96
|
2019-05-16T13:05:58
|
|
[subset] Remove extra iteration
|
|
6555f209
|
2019-05-15T09:42:38
|
|
[subset] Truncate empty gids at the end in retain-gids mode.
|
|
23768676
|
2019-05-15T21:57:26
|
|
Use hb_map(hb_add(this)) to dereference OffsetTo<>'s
|
|
6f51e555
|
2019-05-15T21:41:12
|
|
[algs] Rename hb_bind to hb_partial
Since our API is the invers of what std::bind is, and closer to Python
functools.partial().
|
|
0888e7bc
|
2019-05-15T21:36:42
|
|
[algs] Change hb_bind parameter number to be from one
To match std:;bind, even though our interfaces are very different.
|
|
dfa5e429
|
2019-05-15T21:18:14
|
|
Add back symmetric OffsetTo<>::friend operator+
Finally seems to be working now.
|
|
a06a2368
|
2019-05-15T21:12:22
|
|
[algs] Partialize all operators
|
|
edc69ec9
|
2019-05-15T21:09:56
|
|
[algs] Rewrite bind API
And add a partialization API use example to hb_add()
|
|
16a3540e
|
2019-05-15T20:48:20
|
|
[algs] Add hb_bind0 and hb_bind1
|
|
d214b078
|
2019-05-15T19:07:39
|
|
Fix clang build
Ugh.
In file included from hb-ot-face.cc:41:
./hb-ot-layout-gsub-table.hh:293:7: error: template parameter redefines default argument
hb_requires (hb_is_sorted_source_of (Iterator,
^
./hb-meta.hh:59:27: note: expanded from macro 'hb_requires'
define hb_requires(Cond) hb_enable_if((Cond))
^
./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if'
define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr
^
./hb-ot-layout-gsub-table.hh:40:5: note: previous default template argument defined here
hb_requires (hb_is_sorted_source_of (Iterator,
^
./hb-meta.hh:59:27: note: expanded from macro 'hb_requires'
define hb_requires(Cond) hb_enable_if((Cond))
^
./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if'
define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr
^
|
|
371b55c7
|
2019-05-15T18:54:07
|
|
Fix clang build
In file included from hb-ot-face.cc:41:
./hb-ot-layout-gsub-table.hh:293:7: error: template parameter redefines default argument
hb_requires (hb_is_sorted_source_of (Iterator,
^
./hb-meta.hh:59:27: note: expanded from macro 'hb_requires'
define hb_requires(Cond) hb_enable_if((Cond))
^
./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if'
define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr
^
./hb-ot-layout-gsub-table.hh:40:5: note: previous default template argument defined here
hb_requires (hb_is_sorted_source_of (Iterator,
^
./hb-meta.hh:59:27: note: expanded from macro 'hb_requires'
define hb_requires(Cond) hb_enable_if((Cond))
^
./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if'
define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr
^
1 error generated.
|
|
243a5a6a
|
2019-05-15T19:03:59
|
|
[algs] Remove pair copy constructor
Use default.
|
|
f92d188d
|
2019-05-15T18:52:57
|
|
Whitespace
|
|
962f95cf
|
2019-05-09T13:04:11
|
|
[subset] Switch SingleSubst to use iterators in serialize.
|
|
78d35f0e
|
2019-05-15T18:15:05
|
|
Reduce captures of lambdas
|
|
5266ca86
|
2019-05-15T17:59:00
|
|
Fix tests
Oops.
|
|
5da8a3a9
|
2019-05-15T17:11:18
|
|
Remove variadic form of hb_min/hb_max
Unused, and why here and not in other functions...
|
|
e5cfe9d5
|
2019-05-15T16:59:36
|
|
Add arithmetic operators
|
|
f7a45851
|
2019-05-15T16:49:35
|
|
Add hb_bitwise_* ops
|
|
d822e0a1
|
2019-05-15T16:30:08
|
|
[array] Adjust operator!=
See comments.
|
|
203ea58b
|
2019-05-15T16:14:40
|
|
More adjustment to OffsetTo<>::friend opeator+
Let's see if I break any bots. But yeah, it wasn't accepting a
non-const pointer. It just happens that we don't use that in the
code it seems.
|
|
ebf47a95
|
2019-05-15T15:14:26
|
|
[iter] Simplify operator!= of iterator filters
Both to save ops, and also because lambdas don't implement operator!=,
so this was failing in range-based for loop if a lambda was passed to
hb_map() or hb_filter(). Just check end-condition assuming that we
are comparing to .end() or iterators that are otherwise derived from
current iterator. Ie. don't compare things that are expected to be
in common.
|
|
d3e1d504
|
2019-05-15T14:25:54
|
|
Add all pair_t comparison operators
|
|
f244224d
|
2019-05-15T14:19:20
|
|
[iter] Use default operators instead of redefining empty ones
|
|
125c45ed
|
2019-05-15T17:02:32
|
|
Convert Consonant_Initial_Postfixed to CONS_MED
|
|
e2767e43
|
2019-05-15T13:14:09
|
|
[ci][test] Ignore other gcov symbols also
To fix https://travis-ci.org/harfbuzz/harfbuzz/jobs/532693197
|
|
763ea422
|
2019-05-15T01:15:11
|
|
Another try
|
|
e1b2edb0
|
2019-05-15T01:12:04
|
|
Completely revert the thing back
|
|
c58eeb5f
|
2019-05-15T01:10:31
|
|
Another try at fix
Fails locally. Trying to understand. Sigh
|
|
004edf3b
|
2019-05-15T01:02:50
|
|
Ugh. How was the Travis bot happy before, but isn't now?! :(
|
|
e01c7b16
|
2019-05-15T00:52:17
|
|
Move OffsetTo operator+ back out of class
Apparently there's different overload resolution rules that apply, at
least with some (older?) version of gcc.
hb-ot-name-table.hh: In member function ‘void OT::name::accelerator_t::init(hb_face_t*)’:
hb-ot-name-table.hh:244:62: error: ambiguous overload for ‘operator+’ (operand types are ‘hb_blob_ptr_t<OT::name>’ and ‘OT::NNOffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> > > {aka const OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<short unsigned int, 2u>, false>}’)
this->pool = (const char *) (const void *) (this->table+this->table->stringOffset);
^
hb-ot-name-table.hh:244:62: note: candidates are:
hb-ot-name-table.hh:244:62: note: operator+(const C*, long int) <built-in>
hb-ot-name-table.hh:244:62: note: operator+(const char*, long int) <built-in>
|
|
b213042f
|
2019-05-15T00:50:48
|
|
Revert "Revert symmetric OffsetTo overloads"
This reverts commit 01912efb74fc554a81c8cfe572145ce45b8fa58b.
Actually this didn't break things. Fixing
|
|
01912efb
|
2019-05-15T00:42:47
|
|
Revert symmetric OffsetTo overloads
Reverts 57f65ae9355004044325dd6441cde761bca5e0a3
Caused ambiguous-overload on some gcc...
|
|
d0df996c
|
2019-05-15T00:32:41
|
|
Use implicit lambda return type
|
|
57f65ae9
|
2019-05-14T22:52:59
|
|
Add symmetric friend operator+ for OffsetTo
|
|
71208e50
|
2019-05-14T22:51:59
|
|
Move OffsetTo<> deref operators in-class as friends
|
|
e6d6f4b9
|
2019-05-14T22:45:03
|
|
Whitespace
|
|
889dc1eb
|
2019-05-14T22:28:07
|
|
[iter] Remove sort categorization
See comments.
|
|
b4eff383
|
2019-05-14T09:07:20
|
|
Start of gen-ucd.py, to replace UCDN
|
|
02e5e5d9
|
2019-05-13T09:38:42
|
|
[subset] retian nameids from STAT and fvar tables
|
|
ff799520
|
2019-05-14T07:44:03
|
|
Hopefully last warning fix
|
|
9e7c9c3a
|
2019-05-14T15:58:51
|
|
Fix -Wunused-function on HB_NO_SHAPE_AAT
We should add a bot for it
Part of #1652
|
|
c73d7ba7
|
2019-05-14T13:26:18
|
|
Fix building with HB_NO_SUBSET_LAYOUT
Fixes an unused function warning when building with HB_NO_SUBSET_LAYOUT
as part of the Chrome build.
|
|
f3993498
|
2019-05-14T00:13:21
|
|
[ucdn] Fix Hangul composition
https://github.com/grigorig/ucdn/issues/23
|
|
b2ab15a7
|
2019-05-13T23:47:28
|
|
Fix more warnings
|
|
42ae468a
|
2019-05-13T23:43:45
|
|
[config] Add NDEBUG and HB_NDEBUG
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
0a01deb7
|
2019-05-13T18:04:09
|
|
One more warning fix
No idea where these appear from...
|
|
f76e9f2e
|
2019-05-13T17:39:46
|
|
[icu] Comment
|
|
70fe9e73
|
2019-05-13T17:35:02
|
|
Fix moreeeeeeeeeee
|
|
68e12e68
|
2019-05-13T17:28:59
|
|
Fix more semi-colon issues
|
|
4d3cf2ad
|
2019-05-13T17:25:07
|
|
[iter] Fix zip iterator sortedness classification logic
|
|
c572732f
|
2019-05-13T15:41:09
|
|
Fix more excess semi-colon errors
|
|
51376284
|
2019-05-13T15:36:14
|
|
[iter] Track strictly-sorted iterators
This make output of hb_enumerate() sorted regardless of input iterator.
|
|
7e02063f
|
2019-05-13T15:26:00
|
|
[iter] Minor
|
|
a5fb44a8
|
2019-05-13T14:57:40
|
|
[subset] Fix shadowed 'groups' param in cmap.
|
|
73943bdf
|
2019-05-13T14:48:31
|
|
Adjust uniscribe_bug_compatible mode
More correct behavior. We were commenting out some legit conditions
before.
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
809c5870
|
2019-05-13T14:45:51
|
|
[config] Better compile away morx/kerx/trak
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
b1d3e54b
|
2019-05-13T14:35:04
|
|
[indic] Don't constrain how many C, M, ... occur
Fixes https://github.com/harfbuzz/harfbuzz/issues/1709
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
a487fc33
|
2019-05-13T14:16:33
|
|
Another extra semi-colon
|
|
8461ade7
|
2019-05-13T14:10:48
|
|
Revert "[ragel] Regenerate ragel-generated files using ragel 7.0.0.11 May 2018"
This reverts commit 9b05db33b54e6e5f0b4658f4c06e7fe563f8923b.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1708
|
|
52c15b05
|
2019-05-13T14:10:28
|
|
Revert "[ragel] Switch to -T1 output instead of -F1"
This reverts commit ae8719eb596485ebff07dd5016256015cd0cf86b.
Part of https://github.com/harfbuzz/harfbuzz/issues/1708
|
|
e98f0ddd
|
2019-05-13T13:53:06
|
|
Fix extra semi-colon
|
|
ae8719eb
|
2019-05-13T12:27:10
|
|
[ragel] Switch to -T1 output instead of -F1
Fedora upgraded to ragel 7, which is buggy if char is signed.
Switching to -G2 output fails with sign-compare error:
../../src/hb-buffer-deserialize-json.hh:107:12: error: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const char’ [-Werror=sign-compare]
if ( 9u <= ( (*( p))) && ( (*( p))) <= 13u ) {
~~~^~~~~~~~~~~~~
Switching to -T1 for now. It actually results in smaller code,
at the expense of some binary searching instead of flat tables.
In the not distant future, we might actually generate two different
outputs and choose between depending on size-optimize options.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1708
|
|
df3f36f0
|
2019-05-12T20:56:36
|
|
Minor
|
|
ccc88e98
|
2019-05-12T16:12:06
|
|
Fix MSVC build
|
|
f8f9cb93
|
2019-05-12T15:56:25
|
|
[config] Define HB_NO_SUBSET_LAYOUT in HB_LEAN
Assumning subsetter would be used for printing-like uses in that case,
which don't need GSUB/GPOS.
|
|
a1394a28
|
2019-05-12T15:47:46
|
|
[config] Add HB_NO_UNISCRIBE_BUG_COMPATIBLE
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
dba1ac1b
|
2019-05-12T15:33:31
|
|
[config] Disable buffer serialize routines in HB_TINY
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
3d9be2ad
|
2019-05-12T20:03:29
|
|
Merge pull request #1665 from n8willis/docs-gtkdoc-colormath
[Docs] Add gtk-doc comments for OT color and OT math
|
|
a20db496
|
2019-05-12T11:08:45
|
|
Fix builds
|
|
8694d608
|
2019-05-12T11:05:24
|
|
[config] Enable HB_NO_MT in HB_TINY
Now that user can override it if needed...
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
7f6fca4e
|
2019-05-12T10:29:47
|
|
Force-disable CFF code under disabling conditions
Subsetter size goes down from 190kb to 119kb. Main library about 7kb.
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
5249eee4
|
2019-05-11T16:12:07
|
|
[config] Allow overriding chosen config
|
|
1a850abd
|
2019-05-11T20:16:57
|
|
Merge branch 'master' into docs-gtkdoc-colormath
|
|
8a544171
|
2019-05-11T20:11:49
|
|
Corrections to OT Color gtk-doc comments.
|
|
301f5091
|
2019-05-11T20:11:36
|
|
Corrections to OT Math gtk-doc comments.
|
|
a6048e4c
|
2019-05-11T12:11:22
|
|
Fix build
|
|
32d3c06b
|
2019-05-11T11:59:18
|
|
Disable sbix if no-color or no-ot-font-bitmap
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
606841b0
|
2019-05-11T11:54:30
|
|
[iter] Check for more before forwarding/rewinding past ends
|
|
c1c122e7
|
2019-05-11T11:38:06
|
|
[iter] Fix filter rewinding
|
|
b854d4ff
|
2019-05-10T22:51:49
|
|
[array] Fix rewinding
|
|
76e80c5c
|
2019-05-11T19:51:24
|
|
Update src/hb-ot-color.cc
Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
|
|
79126df3
|
2019-05-11T11:23:31
|
|
[iter] Add hb_map_sorted() and hb_map_retains_sorting()
|
|
bcd81932
|
2019-05-11T14:10:32
|
|
Update src/hb-ot-math.cc
Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
|