src/hb-cff-interp-cs-common.hh


Log

Author Commit Date CI Message
Behdad Esfahbod 84354d3f 2023-05-23T11:57:22 [cff] When max-ops is reached return false Slight speedup too.
Behdad Esfahbod ae208963 2022-12-26T12:30:39 Add hb-limits.hh
Behdad Esfahbod 3723b854 2022-07-18T14:00:14 [cff] Better max op counting
Behdad Esfahbod 3c84aa84 2022-07-18T13:57:59 [cff] Add a max work counter Set to 10,000 per interpretation right now. Fixes https://github.com/harfbuzz/harfbuzz/issues/3700 Fixes https://oss-fuzz.com/testcase-detail/5667125715927040
Behdad Esfahbod bff78e65 2022-05-10T16:33:37 [cff] Convert interpretation environment to use constructor
Behdad Esfahbod 8fd70362 2022-05-10T15:15:49 [cff] Use hb_ubytes_t() instead of Null(hb_ubytes_t)
Behdad Esfahbod b31ef081 2022-05-10T14:52:40 Revert "[cff] Add an unlikely()" This reverts commit 9ba9adb7ed6d48504e97a2af117b7da1fdb28450. This shows slowdown in benchmarks.
Behdad Esfahbod 9ba9adb7 2022-05-10T14:42:50 [cff] Add an unlikely()
Behdad Esfahbod 8aa54aac 2022-05-09T16:09:56 [cff] Replace byte_str_t with hb_bytes_t use
Behdad Esfahbod 8d24ac26 2022-01-18T13:14:42 [cff] Remove init/fini from number_t
Ebrahim Byagowi 2be859d2 2020-04-20T23:48:23 minor, replace nullptr checks with implicit ones
Ebrahim Byagowi 2dda6dd7 2020-04-20T14:12:45 minor, tweak spacing turn 8 spaces to tab, add space before Null/Crap
Khaled Hosny 57da16bc 2019-11-17T21:32:12 [cff] Check rcurveline and rlinecurve arguments Make sure the number of arguments is not too many or too few, otherwise skip the command.
Khaled Hosny 9f1524ce 2019-11-17T16:17:20 [cff] Fix a typo in processing rlinecurve We want to process all pairs of arguments except the last 6 as lines, so should have been subtracting 6 here, otherwise if the number of arguments happens to be multiples of 6 they will be all treated as curves. See https://github.com/harfbuzz/harfbuzz/pull/2016#issuecomment-554640098
Ebrahim Byagowi 9fea6b4d 2019-07-05T18:46:41 [amalgam] Use it in cmake port and fix conflicts (#1812)
Michiharu Ariza 01832fd1 2019-06-26T15:58:38 alternate fix for https://crbug.com/971933
Ebrahim Byagowi 9b853f75 2019-06-09T11:49:25 [cff] Use switch on multi-format structs (#1762)
Michiharu Ariza 02ae2591 2019-05-08T13:44:03 initialize return param subr_num in popSubrNum also snake_cased popSubrtNum and other surrounding function names
Behdad Esfahbod 750d5af4 2019-05-08T12:01:55 Make compiler happy with -Og
Ebrahim Byagowi 92588782 2019-04-30T13:05:10 Remove space between right angle brackets now that we have C++11 (#1689)
Michiharu Ariza 28917e58 2019-01-18T09:43:51 init interp_env_t::hintmask_size fixes issue #1547
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)
Michiharu Ariza 32cc46c7 2018-12-04T21:32:34 [CFF] fix oss-fuzz issue 11670: NULL dereference (#1450) * guard against no subr access * code tweak * add minimized testcase for oss-fuzz 11670 (Null deference)
Behdad Esfahbod 825df6db 2018-11-30T23:04:59 [CFF] Change spaces to tabs
Behdad Esfahbod 592f39b3 2018-11-30T22:54:57 [CFF] Whitespace
Michiharu Ariza 3787c078 2018-11-14T13:38:03 Implemented seac for extents & subset along with API tests
Michiharu Ariza 0dfa584c 2018-11-12T08:47:07 changed Adobe company name
Michiharu Ariza d56e338a 2018-10-31T22:30:34 CFF1 no-desubroutinize + no-hinting no-desubroutinize option is disabled for now code cleanup (esp. CFF1 width handling) bug fixes & renaming
Michiharu Ariza 8679d02b 2018-10-18T13:04:21 implement flex ops for glyph extents/subset also removed unused CSInterpEnv::move_[xy]_with_arg fixed bug a width being left over on argStack with CFF1
Michiharu Ariza 7d99a6ce 2018-10-12T02:16:07 overhauled error handling in CFF interpreter minimized "if (error) return false" idiom
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
Michiharu Ariza 51d5bf4c 2018-10-02T14:38:06 silence warnings
Michiharu Ariza 76e54d2b 2018-09-21T12:16:36 fixed subroutinized CFF2 flattening and some code cleanup
Michiharu Ariza ebeccf3e 2018-09-18T17:24:30 fixed char widths & standard Encoding in subset CFF also merged flush_n_args to flush_args into one takes start index of the arguments on stack instead of count
Michiharu Ariza e75e7224 2018-09-17T15:34:39 include curve control points in extents this makes results consistent with FT also optimized handling of path end points
Michiharu Ariza c0c85b85 2018-09-17T11:14:56 implemented get_glyph_extents with CFF1 Implemented path operators in a new struct PathProc hooked up to CSOpSet Added current point to CSInterpEnv
Michiharu Ariza fcf17788 2018-08-31T16:28:47 templatized ArgStack as a prep to store blends
Michiharu Ariza 968168bf 2018-08-31T13:28:16 drop hints from CFF1 charstrings renamed confusing Stack.size to Stack.count
Michiharu Ariza 8c5e03b5 2018-08-30T17:21:56 Added drop_hints to SubrFlattener
Michiharu Ariza 1d1afddf 2018-08-29T13:36:39 corrected preprocessor guards
Michiharu Ariza 8af9690a 2018-08-29T13:26:17 Merge branch 'master' into cff-subset Renamed cff "private" source/headers without the suffix