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
|
70e32a662f
|
[subset] Add layout_scripts to subset input.
|
2022-06-30 21:00:48 +00:00 |
Behdad Esfahbod
|
13c499cb26
|
[hvar] Minor internal rewiring
Not passing font to functions makes it more clear that they don't
scale values.
|
2022-06-30 14:25:09 -06:00 |
Garret Rieger
|
41d2c335bc
|
[subset] Apply script list filter when doing layout collection.
|
2022-06-30 20:24:42 +00:00 |
Garret Rieger
|
e5c8a2f4e1
|
[subset] Pass plan through to collect methods.
Allows to more easily access the filtering sets as they are added and enables propagating errors to the plan.
|
2022-06-30 20:14:29 +00:00 |
Behdad Esfahbod
|
aba4a4957a
|
[ot-font] Disable VORG variation code in HB_NO_VAR
|
2022-06-30 14:13:44 -06:00 |
Behdad Esfahbod
|
d5921b379b
|
[tt-font] Apply VVAR.vOrg variation to VORG origin
Mostly fixes https://github.com/harfbuzz/harfbuzz/issues/1694
|
2022-06-30 14:09:09 -06:00 |
Behdad Esfahbod
|
eee29f7327
|
[hmtx] Specialize var_table
|
2022-06-30 14:09:09 -06:00 |
Garret Rieger
|
1bf051ef3b
|
[subset] refactor feature tag filtering so it can be used for scripts as well.
|
2022-06-30 20:03:33 +00:00 |
Khaled Hosny
|
f6f93c30f3
|
[docs] Fix warning
These comment blocks don’t use gtk-doc syntax.
|
2022-06-30 08:50:59 +02:00 |
Khaled Hosny
|
98e90cc67c
|
[docs] Reduce warnings
Use markdown syntax for inline code blocks instead of %true, %false, and
%NULL.
|
2022-06-30 08:44:40 +02:00 |
Behdad Esfahbod
|
c69ec6f5bb
|
[kern2] Fix sanitize issue on 32bit systems
Fixes https://github.com/harfbuzz/harfbuzz/issues/3483
|
2022-06-29 16:32:59 -06:00 |
Khaled Hosny
|
34d3d49e78
|
[docs] Fix Since annotation
|
2022-06-29 07:46:21 +02:00 |
Khaled Hosny
|
096aaa62a6
|
4.4.1
|
2022-06-29 07:30:05 +02:00 |
Behdad Esfahbod
|
050f169078
|
[GPOS/kerx] Call into impl namespace from kerx
|
2022-06-28 18:52:27 -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
|
9909d11f6f
|
[indic generator] Fix regression
Fixes https://github.com/harfbuzz/harfbuzz/issues/3690
|
2022-06-28 16:02:51 -06:00 |
Behdad Esfahbod
|
4499ae0225
|
[coretext] Fix positioning of out-of-order glyphs
Unfortunately this now generates negative advances. To be fixed...
|
2022-06-28 15:44:34 -06:00 |
Behdad Esfahbod
|
58d2e93099
|
[coretext] Fix up clusters only if needed
|
2022-06-28 15:44:34 -06:00 |
Behdad Esfahbod
|
eaba5e74a9
|
[directwrite] Simplify
|
2022-06-28 13:51:50 -06:00 |
Behdad Esfahbod
|
33e3bf2d79
|
[font] Drop caches on variation changes
|
2022-06-28 13:51:50 -06:00 |
Behdad Esfahbod
|
c90130e625
|
[coretext] Remove old hack now that font layer takes care...
of invalidating font data when font settings change.
|
2022-06-28 13:30:44 -06:00 |
Behdad Esfahbod
|
c1c78ade71
|
[font] When font changes, drop font shaper data
https://github.com/harfbuzz/harfbuzz/issues/3683#issuecomment-1168016509
|
2022-06-28 13:19:30 -06:00 |
Behdad Esfahbod
|
34c6c0193c
|
[glyf] Fix byterange check again
|
2022-06-27 20:26:57 -06:00 |
Behdad Esfahbod
|
20572f914c
|
[glyf] Move read_flags into a function
|
2022-06-27 20:22:09 -06:00 |
Behdad Esfahbod
|
31e985d7d1
|
[buffer] Likely that not messaging
|
2022-06-27 16:32:02 -06:00 |
Behdad Esfahbod
|
4be074e2cb
|
[gvar] Whitespace
|
2022-06-27 16:12:42 -06:00 |
Behdad Esfahbod
|
a96647841a
|
[gvar] Optimize apply_deltas_to_points
|
2022-06-27 15:41:02 -06:00 |
Behdad Esfahbod
|
e9af9062c0
|
[gvar] Optimize unpack_deltas
|
2022-06-27 15:38:42 -06:00 |
Behdad Esfahbod
|
573e77280b
|
[gvar] Optimize unpack_deltas
|
2022-06-27 15:35:28 -06:00 |
Behdad Esfahbod
|
698f51464c
|
[gvar] Share vector allocation across delta-sets
|
2022-06-27 15:30:19 -06:00 |
Behdad Esfahbod
|
39e280c256
|
[gvar] Handle a couple of error conditions
|
2022-06-27 15:28:30 -06:00 |
Behdad Esfahbod
|
5be6e5dd57
|
[gvar] Rewrite linear interpolation
|
2022-06-27 15:22:16 -06:00 |
Behdad Esfahbod
|
57519b532d
|
[gvar] Use pointer-to-member instead of function
|
2022-06-27 15:18:56 -06:00 |
Behdad Esfahbod
|
ab15fe082a
|
[gvar] Handle a couple of error conditions
|
2022-06-27 15:13:10 -06:00 |
Behdad Esfahbod
|
b7e9e8785c
|
[gvar] Optimize deltas and points loading
|
2022-06-27 15:09:25 -06:00 |
Behdad Esfahbod
|
6e72c2e3fa
|
[glyf] Add an assertion
|
2022-06-27 15:09:25 -06:00 |
Behdad Esfahbod
|
5da341ce92
|
[map] Another try at hiding minus1
To fix https://github.com/harfbuzz/harfbuzz/issues/3684
|
2022-06-27 14:00:34 -06:00 |
Behdad Esfahbod
|
c72d3104ed
|
[map] Return const reference in operator[]
|
2022-06-27 13:31:05 -06:00 |
Behdad Esfahbod
|
69d53f3e7f
|
[map] Make default_value() inline
See if it make fix https://github.com/harfbuzz/harfbuzz/issues/3684
|
2022-06-27 13:17:10 -06:00 |
Behdad Esfahbod
|
3a0e27e794
|
[glyf] Move comment
|
2022-06-27 13:07:39 -06:00 |
Behdad Esfahbod
|
d0836dee7a
|
[glyf] Minor typo change
|
2022-06-27 13:05:58 -06:00 |
Behdad Esfahbod
|
5cca25e5d0
|
[glyf] Accumulate points as int
Everything is int at this stage.
Doesn't seem to matter for performance though.
|
2022-06-27 13:03:06 -06:00 |
Behdad Esfahbod
|
d6f60b3c19
|
[glyf] Minor optimization
|
2022-06-27 13:00:08 -06:00 |
Behdad Esfahbod
|
b30a3dcba3
|
[glyf] Another bounds check
Very unlikely that is needed but technically possible.
|
2022-06-27 12:56:54 -06:00 |
Behdad Esfahbod
|
2e9dbdcbbe
|
[glyf] Protect against an unlikely overflow
|
2022-06-27 12:55:13 -06:00 |
Khaled Hosny
|
8537d68172
|
4.4.0
|
2022-06-27 20:51:16 +02:00 |
Behdad Esfahbod
|
f1fb8c4489
|
[glyf] Optimize Glyph layout
|
2022-06-27 12:41:46 -06:00 |
Behdad Esfahbod
|
34e3f561b5
|
[glyf] Fix a bug I introduced recently
Pass gid to Glyph in trim_padding codepath.
|
2022-06-27 12:39:35 -06:00 |
Behdad Esfahbod
|
97cbc2d40a
|
[gvar] Remove condition that font num_coords should match gvar's
|
2022-06-27 12:37:11 -06:00 |
Behdad Esfahbod
|
19cbfb9ce9
|
[glyf] Relax a condition that font num_coords be equal to gvar's
gvar itself still checks the same.
|
2022-06-27 12:32:18 -06:00 |
Behdad Esfahbod
|
d5cfbaa068
|
[glyf] Optimize composite points loading
|
2022-06-27 12:24:20 -06:00 |
Behdad Esfahbod
|
32dc0641e1
|
[glyf] Remove an unnecessary condition
|
2022-06-27 12:22:06 -06:00 |
Behdad Esfahbod
|
95bfa0913d
|
[gvar] Optimize translate()
|
2022-06-27 12:10:16 -06:00 |
Behdad Esfahbod
|
9f067582b8
|
[gvar] Optimize transform()
|
2022-06-27 12:10:16 -06:00 |
Behdad Esfahbod
|
cfc57ef862
|
[glyf] Optimize contour_point_t layout
|
2022-06-27 12:10:16 -06:00 |
Behdad Esfahbod
|
75ca78a6bb
|
[glyf] Optimize hb_contour_points_t::extend
|
2022-06-27 12:10:16 -06:00 |
David Corbett
|
04c4767150
|
[lao] Decompose and reorder U+0EB3 around U+0EBB
|
2022-06-27 11:31:32 -06:00 |
Behdad Esfahbod
|
d3308f4713
|
[font] Optimize font scaling further
|
2022-06-27 11:28:57 -06:00 |
Matthias Clasen
|
e72506d085
|
Fix the annotation for hb_blob_get_data
This function will return NULL for the the
empty blob. That is important information for
bindings that treat nullability as a type trait.
|
2022-06-27 10:59:02 -06:00 |
Behdad Esfahbod
|
3c49a6a60a
|
[glyf] Fix an allocation error
Try fixing assertion failure found by fuzzers:
hb-draw-fuzzer: ../../src/harfbuzz/src/OT/glyf/glyf.hh:175: bool OT::glyf_accelerator_t::get_points(hb_font_t *, hb_codepoint_t, T) const [T = OT::glyf_impl::path_builder_t]: Assertion `count >= glyf_impl::PHANTOM_COUNT' failed.
|
2022-06-27 10:57:51 -06:00 |
Behdad Esfahbod
|
556e7078f0
|
[font] Optimize glyph scaling
|
2022-06-26 17:48:43 -06:00 |
Behdad Esfahbod
|
a1c45bbb55
|
[glyf] Minor simplify
|
2022-06-26 17:30:16 -06:00 |
Behdad Esfahbod
|
a21a9bb855
|
[glyf] Optimize flags decoding byte range checking
|
2022-06-26 17:24:29 -06:00 |
Behdad Esfahbod
|
0f1fdf461c
|
[glyf] Optimize points decoding byte range checking
|
2022-06-26 17:22:45 -06:00 |
Behdad Esfahbod
|
51cfcf2957
|
[glyf] Optimize points decoding
|
2022-06-26 17:04:47 -06:00 |
Behdad Esfahbod
|
86b7022503
|
[glyf] Optimize flag decoding
|
2022-06-26 17:02:32 -06:00 |
Behdad Esfahbod
|
30d58bfd0f
|
[glyf] Don't translate/transform components if has no effect
|
2022-06-26 16:49:40 -06:00 |
Behdad Esfahbod
|
2bb0fa878a
|
[glyf] Remove unneeded point init()
|
2022-06-26 16:43:05 -06:00 |
Behdad Esfahbod
|
fc72a1d22d
|
[glyf] Add a pre-allocation for phantom points
|
2022-06-26 16:42:01 -06:00 |
Behdad Esfahbod
|
8d242aaa8b
|
[glyf] Rewrite a loop harmlessly
I hope...
|
2022-06-26 16:36:08 -06:00 |
Behdad Esfahbod
|
cf57f04ddb
|
[glyf/path-builder] Optimize scaling code
Scale each point once upon entry to function.
This makes our shape fetching code as fast as FreeType for all
benchmark cases now.
|
2022-06-26 16:26:17 -06:00 |
Behdad Esfahbod
|
36dd5d32fb
|
[draw] Use multiplication instead of division in quadratic conversion
|
2022-06-26 16:16:43 -06:00 |
Behdad Esfahbod
|
b095df1343
|
[glyf/path-builder] Use operator bool for style
|
2022-06-26 16:12:50 -06:00 |
Behdad Esfahbod
|
abb433d0f4
|
[glyf] Avoid a copy of points in shape fetching for simple glyphs
Matches performance with freetype now.
|
2022-06-26 16:09:32 -06:00 |
Behdad Esfahbod
|
7eac779abf
|
Revert "Revert "[glyf] Optimize shape loading""
This reverts commit 164bd288cf .
|
2022-06-26 16:02:27 -06:00 |
Behdad Esfahbod
|
164bd288cf
|
Revert "[glyf] Optimize shape loading"
This reverts commit f0819301b7 .
Broke tests. To be debugged and redone.
|
2022-06-26 16:01:15 -06:00 |
Behdad Esfahbod
|
f0819301b7
|
[glyf] Optimize shape loading
Do away with a copy for simple glyph load.
|
2022-06-26 15:52:54 -06:00 |
Behdad Esfahbod
|
65b066f18e
|
[glyf/path-builder] Simplify initialization
|
2022-06-26 13:18:00 -06:00 |
David Corbett
|
b2abd5c7e8
|
[thai] Reword to include all relevant marks
|
2022-06-26 13:12:12 -06:00 |
Behdad Esfahbod
|
2d4557fe04
|
[glyf/SimpleGlyph] Use member pointer instead of lambda
|
2022-06-26 13:08:37 -06:00 |
Behdad Esfahbod
|
9ce9773040
|
[glyf/SimpleGlyph] Minor use constructor for contour_point_t
|
2022-06-26 13:08:37 -06:00 |
Behdad Esfahbod
|
f897978f21
|
[glyf] Adjust a check-range
|
2022-06-26 13:08:37 -06:00 |
Behdad Esfahbod
|
db039d97ff
|
[glyf/Composite] Make glyphIndex public
|
2022-06-26 13:08:37 -06:00 |
Behdad Esfahbod
|
1b14bf8aa8
|
[glyf] Rename CompositeGlyphChain to CompositeGlyphRecord
|
2022-06-26 13:08:37 -06:00 |
Behdad Esfahbod
|
a5ac7f2ea6
|
[glyf/composite_iter_t] Renames
|
2022-06-26 13:08:37 -06:00 |
Behdad Esfahbod
|
d15260ca95
|
[gpos] Limit recursion depth in propagate_attachment_offsets()
Fixes https://github.com/harfbuzz/harfbuzz/issues/2927
|
2022-06-25 19:53:11 -06:00 |
Behdad Esfahbod
|
449bdeed5f
|
[glyf] Rename get_iterator() to iter()
That's the standard name.
|
2022-06-25 18:32:30 -06:00 |
Behdad Esfahbod
|
11d2670676
|
[glyf] Split off glyf-helpers.hh
|
2022-06-25 18:19:09 -06:00 |
Behdad Esfahbod
|
7c4b8c9bf4
|
[glyf] path-builder minor header guards fix test
|
2022-06-25 18:14:42 -06:00 |
Behdad Esfahbod
|
499c637922
|
[glyf] Split off path-builder.hh
|
2022-06-25 18:07:49 -06:00 |
Behdad Esfahbod
|
13aadc8961
|
[glyf] Split off CompositeGlyph.hh
|
2022-06-25 18:03:15 -06:00 |
Behdad Esfahbod
|
f0ec2b728e
|
[glyf] Split off SimpleGlyph.hh
|
2022-06-25 17:55:16 -06:00 |
Behdad Esfahbod
|
8ed78627f0
|
[glyf] Split off GlyphHeader.hh
|
2022-06-25 17:53:13 -06:00 |