|
da1fba88
|
2025-02-09T11:24:44
|
|
[cff] Regain speed re skipping applying variations
|
|
e0c6c980
|
2025-03-02T13:32:54
|
|
[VARC] Implement get_extents()
Fixes https://github.com/harfbuzz/harfbuzz/issues/5007
|
|
2032da01
|
2025-02-18T20:54:56
|
|
[ot-font] Centralize painting an outline glyph
|
|
a94a5c63
|
2024-04-16T17:10:43
|
|
[varc] Add get_point_at to glyf/CFF2
|
|
f3985d94
|
2022-12-22T10:11:28
|
|
[paint] Fix drawing non-color glyphs
|
|
c2219339
|
2022-12-21T18:39:27
|
|
[paint] Preserve foreground information
|
|
6387004c
|
2022-12-21T16:43:19
|
|
[paint] Simplify api
Drop the hb_paint_context_t struct from the API, and
only pass the font where we need it.
|
|
71bd5a0d
|
2022-12-21T16:18:46
|
|
[paint] Resolve colors
We don't need to pass the index/alpha pairs to
client callbacks, and can just resolve the colors
internally.
Update test results.
|
|
9be01b6b
|
2022-12-21T14:04:32
|
|
[paint] Pass hb_paint_context_t along
Replace the font argument with a hb_paint_context_t
that carries the font, the palette index and the
foreground color.
The hb_font_paint_glyph() api now takes the palette
index and the foreground color as extra arguments.
Update all callers and regenerate test results.
|
|
97224f3b
|
2022-12-21T02:11:36
|
|
[paint] Pass font to all callbacks
This will lead to easier implementations.
At the same time, we change the push_clip_glyph
callback to use the font as-is, no unscaling needed.
Update all callers and expected test results.
|
|
686e627b
|
2022-12-17T12:44:16
|
|
[paint] Set up root transform in one place
Instead of spreading this in all the tables,
make hb_paint_funcs_t provide a push/pop_root_transform
that does all the setup.
|
|
3e39dd49
|
2022-12-16T23:46:15
|
|
cff2: Implement paint_glyph
|
|
392463bf
|
2022-12-22T08:34:01
|
|
[cff] Fix extent rounding
I broke it in b0abbfd8684e9970ed2cac78781643edb7cce0ae.
|
|
b0abbfd8
|
2022-12-22T07:26:14
|
|
[font] Centralize glyph-extents scaling
Needs more testing...
Some rounding was removed, namely in cff1 and cff2.
|
|
bff78e65
|
2022-05-10T16:33:37
|
|
[cff] Convert interpretation environment to use constructor
|
|
96140db4
|
2022-05-10T15:34:33
|
|
[cff] Convert cff2_extents_param_t to use constructor
|
|
0a42410d
|
2022-05-10T12:05:19
|
|
[cff2] Change extents/shape stack to be just a number
Do the blending immediately.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3559
Benchmark on AdobeVFPrototype shows 35% speedup. Now we're faster
than FreeType:
Benchmark Time CPU Time Old Time New CPU Old CPU New
------------------------------------------------------------------------------------------------------------------------------------------------
BM_Font/glyph_extents/AdobeVFPrototype.otf/hb -0.3792 -0.3792 1584 983 1581 982
BM_Font/glyph_extents/AdobeVFPrototype.otf/ft +0.0228 +0.0224 1220 1248 1218 1245
BM_Font/glyph_extents/AdobeVFPrototype.otf/var/hb -0.3513 -0.3518 1616 1048 1613 1046
BM_Font/glyph_extents/AdobeVFPrototype.otf/var/ft +0.0172 +0.0169 1232 1254 1230 1251
|
|
8aa54aac
|
2022-05-09T16:09:56
|
|
[cff] Replace byte_str_t with hb_bytes_t use
|
|
370bec93
|
2022-02-04T18:40:44
|
|
[draw] Rename internal draw_session_t to hb_draw_session_t
|
|
c681331c
|
2022-02-03T14:36:12
|
|
[draw] Rename internal draw_helper_t to draw_session_t
|
|
35190dc9
|
2022-02-02T16:08:40
|
|
[draw] Convert API to float instead of hb_position_t
|
|
dd7b6e2c
|
2022-02-02T14:46:10
|
|
[draw] Remove EXPERIMENTAL_API tag
|
|
79e4f436
|
2021-02-17T10:21:58
|
|
Apply rounding correctly when calculating glyph extents for CFF and CFF2; adjust expected test results
|
|
755a77d6
|
2020-01-29T22:26:04
|
|
Move outline draw API behind HB_EXPERIMENTAL_API directive
|
|
9fe0dc34
|
2020-02-26T17:40:44
|
|
[draw] Pass draw_helper_t itself around instead recreating it
Specially helpful if we want to change the design
|
|
0ebf3a4e
|
2020-02-26T15:14:41
|
|
[draw] Move common CFF path building logic to draw_helper_t
|
|
acc2d473
|
2020-02-25T18:05:48
|
|
[cff] Make path extract easier to read and more defensive
|
|
0cf050a7
|
2020-02-23T23:00:48
|
|
[draw] Merge consequent move-to commands of CFF/CFF2
|
|
86bd5a0b
|
2020-02-23T22:46:26
|
|
[draw] End CFF paths with a line-to
Issue a line-to command when start and end point of a path isn't same, matches freetype also.
|
|
ac81e940
|
2020-01-28T12:34:47
|
|
Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t
|
|
981125aa
|
2020-01-25T21:31:36
|
|
Rename hb_ot_glyph_* to hb_outline_*
|
|
02f324c9
|
2020-01-23T15:12:12
|
|
[ot-glyph] remove open callback
Apparently it wasn't requested actually and can be detected easily
as paths are opened usually when move command is issued anyway.
|
|
684ff3e0
|
2020-01-23T14:48:59
|
|
[ot-glyph] noop->nil, fix close path
|
|
79fed9a1
|
2020-01-14T17:23:30
|
|
[ot-glyph] Add open/close callbacks
|
|
ec1fba13
|
2020-01-13T19:31:18
|
|
[ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque
|
|
06a1fcb3
|
2020-01-10T23:12:30
|
|
[ot-glyphs] fix the tests
|
|
084a8182
|
2020-01-10T22:14:46
|
|
[ot-glyphs] Move CFF glyph decompose logic to their tables
Thus making path decompose zero alloc on CFF/CFF2
|
|
04ac7fb1
|
2019-10-21T13:06:12
|
|
[ot-glyph] Add cff2 support
|
|
dc45f225
|
2019-10-08T23:27:37
|
|
[ot-metrics] Don't use mixed scaled and not scaled for generating extents
|
|
d73cdcf3
|
2019-10-06T18:09:14
|
|
[ot-font] Apply font scaling before turning to int
|
|
0558413f
|
2019-10-01T13:49:55
|
|
Minor, tweak spaces
|
|
1cc844da
|
2019-08-14T19:10:02
|
|
minor
Use hb_font_t coords directly
|
|
7ca54811
|
2019-07-02T16:00:58
|
|
[amalgam] Fix CFF
Part of https://github.com/harfbuzz/harfbuzz/issues/1809
|
|
737436d3
|
2019-06-18T13:07:44
|
|
Streamline HB_NO_CFF
|
|
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
|
|
31c591d6
|
2019-05-10T23:39:53
|
|
[cff] Prune more code if HB_NO_OT_FONT_CFF
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
22da1231
|
2019-04-24T10:53:16
|
|
[map] Fix TODO
|
|
63a21084
|
2019-04-18T13:54:58
|
|
silence MVC warnings 3rd attempt
|
|
705dde57
|
2019-04-18T11:32:10
|
|
silence MVC warnings 2nd attempt
|
|
dd4c3752
|
2019-04-18T10:38:57
|
|
silence MVC warnings
|
|
29f0b6bc
|
2018-12-22T07:47:04
|
|
CFF renaming (#1507)
* reimplement ByteStr as byte_str_t based on hb_ubytes_t
Unuse start_embed<ByteStr>
Also renamed SubByteStr to byte_str_ref_t
More renaming to come
* substr renamed to str_ref in line with its type byte_str_ref_t
* uncamelize non-table struct names
* uncamelized non-struct types OpCode etc
* add byte_str_t copy ctor
* test
* test2
* undo tests
* fix bot failure
* undo the previous change
* fixed tabs, added inline
* Revert "fixed tabs, added inline"
This reverts commit 21163c30e9d18759414f7fe2518628241599f039.
* fix tabs
|
|
e4120085
|
2018-12-17T21:31:01
|
|
Remove redundant void from C++ sources (#1486)
|
|
b2ebaa9a
|
2018-12-16T22:38:10
|
|
Remove redundant 'inline' from methods (#1483)
|
|
825df6db
|
2018-11-30T23:04:59
|
|
[CFF] Change spaces to tabs
|
|
0dfa584c
|
2018-11-12T08:47:07
|
|
changed Adobe company name
|
|
2840a104
|
2018-11-01T16:18:13
|
|
tweaks to build with new merge
|
|
df964a09
|
2018-10-08T15:38:05
|
|
fixed test-subset-cff2
|
|
b51418f5
|
2018-10-08T15:05:36
|
|
added CFF2 get_extents
added source hb-ot-cff2-table.cc
augmented VariationData to return scalars
misc bug fixes, renaming, cleanup
|