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


Log

Author Commit Date CI Message
Behdad Esfahbod a411de2b 2024-08-14T10:19:40 [cff] Try to silence static code analyzer Part of https://github.com/harfbuzz/harfbuzz/issues/4832
Behdad Esfahbod bf84135e 2023-12-05T11:58:21 [cff] Support negative offsets Fixes https://github.com/harfbuzz/harfbuzz/issues/4508
Behdad Esfahbod cb320d22 2023-07-27T10:43:07 Revert "[cff] Use float instead of double" This reverts commit c8f67ac28eb18e65adda75818e2c472ad3936874. Tests failing.
Behdad Esfahbod c8f67ac2 2023-07-27T10:34:45 [cff] Use float instead of double Reduces memory usage slightly.
Behdad Esfahbod 7c74fc96 2023-02-19T14:43:07 [CFF] Remove unused member single_val
Behdad Esfahbod bff78e65 2022-05-10T16:33:37 [cff] Convert interpretation environment to use constructor
Behdad Esfahbod c37100e7 2020-04-18T16:02:55 Clean up math.h and float.h includes
ariza e8f010d7 2020-03-04T16:54:27 removed unused code & data; rename
Ebrahim Byagowi 1083df8b 2019-09-04T01:22:21 Use hb_parse_double in CFF::dict_opset_t::parse_bcd
Ebrahim Byagowi d3b984d3 2019-09-02T18:18:25 Revert in-house pow10 (d80a3ea) and fix oss-fuzz/16922 Probably can be fixed but merging it was wrong so let's revert.
Ebrahim Byagowi d80a3ea9 2019-09-01T14:05:16 [cff] Implement in-house power of 10 A minimal power only for natural numbers exponents of ten, for portability. Found the idea in Tcl/Tk but wrote it myself after weeks and it turned out being a different implementation, reverse direction, constexpr, etc.
Ebrahim Byagowi 9b853f75 2019-06-09T11:49:25 [cff] Use switch on multi-format structs (#1762)
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
fanc999 3ee4ea94 2018-12-20T11:26:54 Fix build on older Visual Studio versions (#1499) * src/hb-cff-interp-dict-common.hh: Use ull for unsigned int64_t The llu suffix does not work for older Visual Studio versions (pre-2013), but ull works for all the compilers that we attempt to support. * test/api: Fix build on pre-C99 compilers Ensure variables are declared at the top of the block. * src/hb-dsalgs.hh: Add specialization for hb_is_signed<> for __int8 Pre-Visual Studio 2010 does not consider __int8 (which is typedef'ed to int8_t) to be equivilant to signed char, so the compiler cannot find the corresponding hb_is_signed<> specialization that is needed. The interesting thing is unsigned __int8 is considered to be equivilant to unsigned char, so as the other types (short, int, long) that we look for here, so only the specialization for __int8 is added here. This will fix builds on Visual Studio 2008 at least.
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 20245f00 2018-12-06T10:27:37 Fix likely check Ouch!
Michiharu Ariza a5fa843c 2018-12-05T11:18:16 fixed a bug with fractional part in a negative value
Michiharu Ariza 620d1ef5 2018-12-05T00:36:11 fix unsigned long const
Michiharu Ariza 28dfb4c1 2018-12-05T00:26:03 fix signed/unsigned comparison
Michiharu Ariza f9cee08e 2018-12-04T23:58:26 use sized int types in parse_bcd
Michiharu Ariza c01a5f32 2018-12-04T23:23:23 refix
Michiharu Ariza 755fefc9 2018-12-04T23:18:28 fix bug
Michiharu Ariza 0e81b153 2018-12-04T22:40:07 fix typo
Michiharu Ariza 85d4b15c 2018-12-04T22:30:33 include float.h
Michiharu Ariza 5a7c371e 2018-12-04T22:24:38 check overflow & clamp
Michiharu Ariza 9e5180cd 2018-12-03T15:32:42 more double changes
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 0dfa584c 2018-11-12T08:47:07 changed Adobe company name
Michiharu Ariza 0996c0ff 2018-11-07T14:48:37 implented no-desubroutinize with CFF2 along with API test replaced AdobeVFPrototype.abc.otf with a hinted (maually) & subroutinized copy replaced expected results as well
Michiharu Ariza 7b21319e 2018-11-06T13:59:07 don't reject empty Dict
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 36c2c374 2018-10-23T15:11:09 removed unused multi_val from DictVal
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 e7a045e4 2018-10-04T14:16:07 fixed leak exposed by test-ot-extents-cff
Michiharu Ariza 35b64dfb 2018-10-02T14:13:36 silence & fix new warnings
Michiharu Ariza 497e7fb2 2018-09-11T16:47:55 misc bug fixes Added OpCode_FontMatrix to TopDictOpSet (yet to parse values) fixed a wrong assert in encode_int
Michiharu Ariza 1499029a 2018-09-11T13:56:52 fixed a bug
Michiharu Ariza 0bd5912a 2018-09-11T13:24:27 make parse_bcd locale free
Michiharu Ariza bb38d0f6 2018-09-11T10:43:15 Implement parse_bcd
Michiharu Ariza 1666b89e 2018-09-10T16:00:20 subset CFF1 String Index Repurposed FDMap as Remap then subclassed for remapping SIDs misc code cleanup
Michiharu Ariza aca73c9d 2018-09-06T17:28:15 subset CFF1 Encoding & Charset fixed misc Charset bugs added source file hb-ot-cff1.table.cc renamed things for clarity & consistency
Michiharu Ariza 5ea03d29 2018-09-04T11:29:15 fix build by untemplatizing DictOpSet & DictVal as they aren't instantiated with BlendArg (yet)
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 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