src/hb-ot-cff2-table.cc


Log

Author Commit Date CI Message
Behdad Esfahbod bff78e65 2022-05-10T16:33:37 [cff] Convert interpretation environment to use constructor
Behdad Esfahbod 96140db4 2022-05-10T15:34:33 [cff] Convert cff2_extents_param_t to use constructor
Behdad Esfahbod 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
Behdad Esfahbod 8aa54aac 2022-05-09T16:09:56 [cff] Replace byte_str_t with hb_bytes_t use
Behdad Esfahbod 370bec93 2022-02-04T18:40:44 [draw] Rename internal draw_session_t to hb_draw_session_t
Behdad Esfahbod c681331c 2022-02-03T14:36:12 [draw] Rename internal draw_helper_t to draw_session_t
Behdad Esfahbod 35190dc9 2022-02-02T16:08:40 [draw] Convert API to float instead of hb_position_t
Behdad Esfahbod dd7b6e2c 2022-02-02T14:46:10 [draw] Remove EXPERIMENTAL_API tag
justvanrossum 79e4f436 2021-02-17T10:21:58 Apply rounding correctly when calculating glyph extents for CFF and CFF2; adjust expected test results
Ebrahim Byagowi 755a77d6 2020-01-29T22:26:04 Move outline draw API behind HB_EXPERIMENTAL_API directive
Ebrahim Byagowi 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
Ebrahim Byagowi 0ebf3a4e 2020-02-26T15:14:41 [draw] Move common CFF path building logic to draw_helper_t
Ebrahim Byagowi acc2d473 2020-02-25T18:05:48 [cff] Make path extract easier to read and more defensive
Ebrahim Byagowi 0cf050a7 2020-02-23T23:00:48 [draw] Merge consequent move-to commands of CFF/CFF2
Ebrahim Byagowi 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.
Ebrahim Byagowi 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
Ebrahim Byagowi 981125aa 2020-01-25T21:31:36 Rename hb_ot_glyph_* to hb_outline_*
Ebrahim Byagowi 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.
Ebrahim Byagowi 684ff3e0 2020-01-23T14:48:59 [ot-glyph] noop->nil, fix close path
Ebrahim Byagowi 79fed9a1 2020-01-14T17:23:30 [ot-glyph] Add open/close callbacks
Ebrahim Byagowi ec1fba13 2020-01-13T19:31:18 [ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque
Ebrahim Byagowi 06a1fcb3 2020-01-10T23:12:30 [ot-glyphs] fix the tests
Ebrahim Byagowi 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
Ebrahim Byagowi 04ac7fb1 2019-10-21T13:06:12 [ot-glyph] Add cff2 support
Ebrahim Byagowi dc45f225 2019-10-08T23:27:37 [ot-metrics] Don't use mixed scaled and not scaled for generating extents
Ebrahim Byagowi d73cdcf3 2019-10-06T18:09:14 [ot-font] Apply font scaling before turning to int
Ebrahim Byagowi 0558413f 2019-10-01T13:49:55 Minor, tweak spaces
Ebrahim Byagowi 1cc844da 2019-08-14T19:10:02 minor Use hb_font_t coords directly
Behdad Esfahbod 7ca54811 2019-07-02T16:00:58 [amalgam] Fix CFF Part of https://github.com/harfbuzz/harfbuzz/issues/1809
Behdad Esfahbod 737436d3 2019-06-18T13:07:44 Streamline HB_NO_CFF
Behdad Esfahbod 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
Behdad Esfahbod 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
Behdad Esfahbod 22da1231 2019-04-24T10:53:16 [map] Fix TODO
Michiharu Ariza 63a21084 2019-04-18T13:54:58 silence MVC warnings 3rd attempt
Michiharu Ariza 705dde57 2019-04-18T11:32:10 silence MVC warnings 2nd attempt
Michiharu Ariza dd4c3752 2019-04-18T10:38:57 silence MVC warnings
Michiharu Ariza 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
Ebrahim Byagowi e4120085 2018-12-17T21:31:01 Remove redundant void from C++ sources (#1486)
Ebrahim Byagowi b2ebaa9a 2018-12-16T22:38:10 Remove redundant 'inline' from methods (#1483)
Behdad Esfahbod 825df6db 2018-11-30T23:04:59 [CFF] Change spaces to tabs
Michiharu Ariza 0dfa584c 2018-11-12T08:47:07 changed Adobe company name
Michiharu Ariza 2840a104 2018-11-01T16:18:13 tweaks to build with new merge
Michiharu Ariza df964a09 2018-10-08T15:38:05 fixed test-subset-cff2
Michiharu Ariza 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