Behdad Esfahbod
|
84d38df828
|
[Coverage] Minor use range-based loop
|
2022-07-21 12:12:04 -06:00 |
Behdad Esfahbod
|
b017b73ffe
|
[Coverage] Minor remove a couple unnecessary as_array()'s
|
2022-07-21 12:06:55 -06:00 |
Behdad Esfahbod
|
9e650b4e0c
|
[Coverage] Speedup intersect_set
|
2022-07-21 12:01:52 -06:00 |
Behdad Esfahbod
|
efa388074d
|
[subset/SingleSubsetFormat1] Use Coverage.intersect_set
|
2022-07-21 11:52:36 -06:00 |
Behdad Esfahbod
|
00dfbbce1c
|
[Coverage] Rename and templatize intersected_coverage_glyphs
|
2022-07-21 11:45:05 -06:00 |
Behdad Esfahbod
|
d0eb273791
|
[subset/GSUB/GPOS] Use more intersected_coverage_glyphs()
|
2022-07-21 11:24:56 -06:00 |
Behdad Esfahbod
|
450d834679
|
[subset/PairPosFormat1] Speed up significantly
|
2022-07-21 11:05:35 -06:00 |
Behdad Esfahbod
|
5d7556e184
|
Revert "[subst/SingleSubstFormat1] Rewrite nicer"
This reverts commit bababe1072 .
The hand-written code is still much faster :(.
|
2022-07-21 10:58:36 -06:00 |
Behdad Esfahbod
|
71ce931e6d
|
[PairPos] Don't compute newFormat
It was wrong, because it would be writing wrong values.
Test suite doesn't seem to catch any.
|
2022-07-21 10:41:29 -06:00 |
Behdad Esfahbod
|
02ca025443
|
[layout] Add large_int to Types
|
2022-07-21 10:30:23 -06:00 |
Behdad Esfahbod
|
bababe1072
|
[subst/SingleSubstFormat1] Rewrite nicer
|
2022-07-21 10:25:27 -06:00 |
Behdad Esfahbod
|
cf123e6a0d
|
[Coverage] Add get_population ()
|
2022-07-21 10:24:04 -06:00 |
Behdad Esfahbod
|
fa471043fc
|
[subset] Fix previous commit
|
2022-07-20 22:42:18 -06:00 |
Behdad Esfahbod
|
c4d2ef9004
|
[subset] Speed up subsetting of SingleSubstFormat1_3
|
2022-07-20 22:36:35 -06:00 |
Behdad Esfahbod
|
d01e6babe6
|
[subset] Speed up SingleSubstFormat1_3 closure
|
2022-07-20 22:17:33 -06:00 |
Behdad Esfahbod
|
aae8c74e05
|
[>64k:layout:SingleSubstFormat3] Fix masking
https://github.com/be-fonts/boring-expansion-spec/issues/31
|
2022-07-20 11:51:27 -06:00 |
Behdad Esfahbod
|
3c137ef041
|
[GPOS/CursivePos] Fix unsafe-to-break marking
Fixes test.
|
2022-07-20 11:29:30 -06:00 |
Behdad Esfahbod
|
54e9ab4a91
|
[GPOS/Cursive] Fix breaking of parent-child attachment
Mostly fixes https://github.com/harfbuzz/harfbuzz/issues/2469
|
2022-07-18 18:57:14 -06:00 |
Behdad Esfahbod
|
89de8c700f
|
[CoverageFormat2] Another fix for broken tables
Fixes https://oss-fuzz.com/testcase-detail/6005342714068992
|
2022-07-18 13:07:29 -06:00 |
Behdad Esfahbod
|
d8574b44cc
|
[CoverageFormat2] Fix iterator to avoid infinite loop
on invalid data.
Fixes https://oss-fuzz.com/testcase-detail/5304497047470080
|
2022-07-17 18:44:27 -06:00 |
Behdad Esfahbod
|
af84680f23
|
[GSUB] Remove a reinterpret_cast
|
2022-07-17 12:00:04 -06:00 |
Garret Rieger
|
d82ace5c6f
|
[reorg] add TODO to RangeRecord.
|
2022-07-13 20:25:13 -06:00 |
Garret Rieger
|
c1e280ea78
|
[reorg] Move Coverage, RangeRecord into new namespace layout.
|
2022-07-13 20:25:13 -06:00 |
Behdad Esfahbod
|
a2f0723148
|
[GPOS] Adjust mark attachment on multiple substitution some more
Fixes https://github.com/harfbuzz/harfbuzz/issues/1545
|
2022-07-13 16:02:39 -06:00 |
Behdad Esfahbod
|
cc83b0b8fd
|
[>64k:layout:MarkBasePos/MarkMarkPos/MarkLigPos] Implement format 2
Implements https://github.com/be-fonts/boring-expansion-spec/issues/40
Subset does NOT lower format.
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
4b43070e2f
|
[>64k:layout] Templatize MarkBasePos/MarkMarkPos/MarkLigPos
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
f0d6dda5a6
|
[>64k:layout:PairPos] Implement format 3
Implements rest of https://github.com/be-fonts/boring-expansion-spec/issues/38
Subset does NOT lower format.
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
298ee47c55
|
[>64k:layout] Templatize PairPosFormat1
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
e9f8010fd0
|
[>64k:layout:PairPos] Templatize & implement format 4
Implements part of https://github.com/be-fonts/boring-expansion-spec/issues/38
Subset does NOT lower format.
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
ecd8bc5a9c
|
[>64k:layout:LigatureSubst] Implement format 2
Implements https://github.com/be-fonts/boring-expansion-spec/issues/33
Subset does NOT lower format.
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
704e696ad0
|
[>64k:layout] Templatize LigatureSubst
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
27d24212db
|
[>64k:layout:AlternateSubst] Implement format 2
Implements rest of https://github.com/be-fonts/boring-expansion-spec/issues/32
Subset does NOT lower format.
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
c53d3ad51e
|
[>64k:layout] Templatize AlternateSet
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
a58a48622a
|
[>64k:layout:MultipleSubst] Implement format 2
Implements part of https://github.com/be-fonts/boring-expansion-spec/issues/32
Subset is NOT updated to lower format.
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
684c8fcea7
|
[>64k:layout] Templatize MultipleSubst
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
8775e9b4a4
|
[>64k:layout:SingleSubst] Implement format 3/4
Implements https://github.com/be-fonts/boring-expansion-spec/issues/31
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
e3caf8d50a
|
[>64k:layout] Templatize SingleSubst
|
2022-07-12 13:42:52 -06:00 |
Behdad Esfahbod
|
d15041be7d
|
[GSUB/GPOS] Trace toplevel sanitize
|
2022-07-12 11:11:22 -06:00 |
Behdad Esfahbod
|
5192294f83
|
.
|
2022-07-08 14:09:04 -06:00 |
Behdad Esfahbod
|
8a107125a5
|
[layout] Make SubstLookup:serialize_single take iterators
|
2022-07-08 12:02:11 -06:00 |
Behdad Esfahbod
|
ea11029a6e
|
[GPOS] Split LigatureArray.hh
|
2022-07-08 11:58:43 -06:00 |
Behdad Esfahbod
|
68b2742fe4
|
[GPOS] Move code around
|
2022-07-07 16:11:15 -06:00 |
Behdad Esfahbod
|
6a3043a0c1
|
Fix tests
|
2022-07-07 14:51:37 -06:00 |
Behdad Esfahbod
|
0b0e3b30ce
|
[GPOS] Break down PairPosFormat1 into new layout
|
2022-07-07 14:06:44 -06:00 |
Kleis Auke Wolthuizen
|
79eb0f7486
|
[GSUB] Fix build on GCC < 7
|
2022-07-06 14:00:16 +02:00 |
Kleis Auke Wolthuizen
|
3238cb744b
|
[GPOS] Fix build on GCC < 7
|
2022-07-06 14:00:16 +02:00 |
Behdad Esfahbod
|
d9ab805e61
|
Fix LookupFlag negation
Fixes https://github.com/harfbuzz/harfbuzz/issues/3703
|
2022-07-05 11:45:10 -06:00 |
Garret Rieger
|
900476c635
|
Move GSUB.hh GPOS.hh back into the GPOS/GSUB sub directories.
|
2022-06-30 15:33:20 -06:00 |
Garret Rieger
|
5fdae68481
|
[reorg] Move GSUB.hh up one level and change GSUB namespace to GSUB_impl.
|
2022-06-30 15:33:20 -06:00 |
Garret Rieger
|
910a137f4e
|
[reorg] Fix propagate_attachment_offsets definition.
|
2022-06-28 18:47:50 -06:00 |
Garret Rieger
|
3fbf2dece7
|
[reorg] Move OT::Layout::GPOS_impl::GPOS to OT::Layout::GPOS.
|
2022-06-28 18:47:50 -06:00 |
Garret Rieger
|
88ef3c5a9a
|
[reorg] Change OT::Layout::GPOS to OT::Layout::GPOS_impl.
|
2022-06-28 18:47:50 -06:00 |
Garret Rieger
|
49ddf069e0
|
[reorg] Move GPOS reverse_cursive_minor_offset implementation into new directory layout.
|
2022-06-28 18:47:50 -06:00 |
Garret Rieger
|
74f45f7c2a
|
[reorg] Move remaining GPOS lookup types to new directory.
|
2022-06-28 18:47:50 -06:00 |
Garret Rieger
|
197d9a5c99
|
[reorg] Move more GPOS lookups to new directory.
|
2022-06-28 18:47:50 -06:00 |
Garret Rieger
|
c7307ca06a
|
[reorg] Begin moving GPOS into the new directory layout.
|
2022-06-28 18:47:50 -06:00 |
Behdad Esfahbod
|
9fc9b1ece4
|
[layout] Minor, add using Lookup to GSUB/GPOS
|
2022-06-08 12:37:31 -06:00 |
Behdad Esfahbod
|
4119f73c21
|
[subset/layout] Rename dispatch_closure_lookups_recurse_func to dispatch_recurse_func<>
|
2022-06-08 18:42:09 +01:00 |
Behdad Esfahbod
|
c13ff39520
|
[layout] Rename apply_recurse_func to specialization of dispatch_recurse_func
|
2022-06-08 18:42:09 +01:00 |
Garret Rieger
|
444c2375a1
|
[reorg] Use relative includes for hb-ot-layout-gsubgpos.hh
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
b342adeb96
|
[reorg] Move GSUB into OT::Layout::GSUB namespace.
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
a9910e258f
|
[reorg] Move SubstLookup and GSUB into the new layout.
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
90af2143d5
|
[reorg] Move ReverseChainSingleSubst to new layout.
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
403feb3804
|
[reorg] Move LigatureSubst to new layout.
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
6a369389d6
|
[reorg] Move AlternateSubst to new layout.
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
dea0681db2
|
[reorg] Move MultipleSubst into new layout.
|
2022-03-23 18:05:24 -06:00 |
Behdad Esfahbod
|
7243bf3e41
|
[reorg] Use relative include
|
2022-03-23 18:05:24 -06:00 |
Behdad Esfahbod
|
c180f93766
|
[reorg] Move sanitize/dispatch and size macros to top
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
f577d02f4a
|
[reorg] Fix check-* scripts to work with sources files in directories.
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
3ef180db44
|
[reorg] Move SingleSubst opentype fields to top of the classes.
|
2022-03-23 18:05:24 -06:00 |
Garret Rieger
|
7dfd9e7001
|
[reorganization] WIP move single substitution into separate files.
|
2022-03-23 18:05:24 -06:00 |