Log

Author Commit Date CI Message
ariza e65bff09 2020-02-19T13:38:04 workaround whence_t as bit-field
ariza 1aed6d22 2020-02-19T13:20:29 fix whence=Head; position as 28 bits
ariza c1313e4b 2020-02-17T17:33:18 minor: undid unintended change
ariza 9c65680b 2020-02-17T16:59:45 rename enums to avoid conflict on win
ariza 4ca8e0d9 2020-02-19T12:52:18 re-implement Tail; rewrote name table with it
ariza 555f6f1d 2020-02-17T16:29:40 merge add_link_abs() into add_link()
ariza 017cd945 2020-02-06T16:11:58 added add_link_abs()
Ebrahim Byagowi 07504569 2020-02-21T13:05:44 [gsub] minor format
Garret Rieger 41122542 2020-02-20T13:43:06 Fix glyph closure for alternate substitution. It was not filtering on the glyphs to be retained.
Ebrahim Byagowi da37880e 2020-02-20T19:01:43 [draw] Add a private bit field instead null-checking quad-to callback This doesn't imply the the design is good or stable just is better to not fail due to null quad-to callback so as our quad-cubic curves translation is currently table limited which can be revisited anytime.
Ebrahim Byagowi 79b2b8a9 2020-02-19T16:41:13 minor
Ebrahim Byagowi 8c652f72 2020-02-19T16:32:44 Minor, switch to https links where possible
Ebrahim Byagowi bbcbcafc 2020-02-19T16:21:47 [tool] Minor, move input files link
Ebrahim Byagowi 83db1e11 2020-02-19T15:15:18 [ci] Compatibility with Python 3 Disabled CMake test runners as it goes for Python 2 and updated the bots Install Python 3 on macOS 10.12 bot
Ebrahim Byagowi 8d199077 2020-02-19T14:56:55 Remove python2 support from tests/utils scripts
Rico Tzschichholz 2c9fbf55 2020-02-12T14:59:52 Improve GIR build
Ebrahim Byagowi bd13470f 2020-02-19T13:19:38 [ci] Update Ubuntu bots versions
Qunxin Liu 493e40ff 2020-02-18T13:09:08 [subset] add one empty byte to glyf table if it's going to end up empty after subsetting This will make OTS happy and match what fontTools is doing now.
Ebrahim Byagowi a7dec0cb 2020-02-18T16:22:12 [glyf] Tweak path_builder_t
Ebrahim Byagowi d52ea2a4 2020-02-18T15:46:02 [glyf] minor
Ebrahim Byagowi 3b0c58f8 2020-02-18T15:42:48 [glyf] minor, use private font coords to simplify
Ebrahim Byagowi dcd2729e 2020-02-18T15:38:57 [glyf] Move contour_bounds_t into scope it is actually used
Ebrahim Byagowi 8bb47fa1 2020-02-18T15:06:43 [glyf] minor, spacing
Ebrahim Byagowi 21a5fe4f 2020-02-18T14:38:55 [glyf] Make returning phantoms to not require another vector
Ebrahim Byagowi 5c03fbe7 2020-02-18T13:55:28 [glyf] do a phantom only iteration when possible
Ebrahim Byagowi 11f3fca0 2020-02-18T12:53:20 [glyf/gvar] Remove need of passing end points vector around
Ebrahim Byagowi 0f2c2d98 2020-02-18T11:52:16 [glyf] Push consumer machine one more level further
Ebrahim Byagowi 11f5f7c5 2020-02-17T23:44:31 [glyf] Adopt a state machine like style for the path builder Toward making glyf path reader alloc free at least on gvar absence.
Ebrahim Byagowi 60f8f384 2020-02-17T10:11:49 [glyf] Switch to ttf-parser's glyf to path algorithm It consumes each point at a time and doesn't need to know contour size before hand
ariza 71552ecc 2020-02-13T12:58:22 add hb_get_type
ariza 3c792c2a 2020-02-17T07:18:08 add test cases for hb_unwrap_type
ariza 168ceeac 2020-02-14T11:56:56 renamed to hb_unrwap_type(); now recursive
ariza 65858463 2020-02-16T17:16:29 pop_pack(share=false) in end_serialize() issue #2177
Michiharu Ariza 39fb57c0 2020-02-16T08:38:41 add share option to pop_pack() (#2176) as a solution for #2164
ariza 9c6499d9 2020-02-16T00:56:31 rewrite read_points() to take lambda & consts args replacing awkward x/y_setter_t structs
Ebrahim Byagowi a94d1af1 2020-02-12T19:25:10 [fuzz] minor style fixes
Ebrahim Byagowi 1c015d3e 2020-02-12T19:19:37 [fuzz] minor fuzzer case move, oops
Ebrahim Byagowi 49341fae 2020-02-12T19:15:16 [fuzz] minor, move two fuzzer cases to their correct place
Behdad Esfahbod d663e28a 2020-02-12T15:41:21 [serialize] Catch signedness overflows in check_assign() Should address https://github.com/harfbuzz/harfbuzz/pull/2163#pullrequestreview-355137936
Ebrahim Byagowi 97229244 2020-02-12T15:41:22 [fuzzer] Fix hb-set-fuzzer minor overflow issue Size shouldn't be smaller than the struct not its pointer size. Fixes https://crbug.com/oss-fuzz/20655
Garret Rieger 7b42403c 2020-02-11T12:25:57 Add explicit values to the set fuzzer enums.
Garret Rieger e8059233 2020-02-11T12:20:54 Add a few basic seeds for the set fuzzer.
Ebrahim Byagowi ff984ed3 2020-02-11T19:50:51 Use multiplication to avoid undefined behaviour per clang Newer versions of MSVC with /we4146 don't like putting negative sign behind a unsigned number as https://github.com/harfbuzz/harfbuzz/pull/2069 That however have made https://crbug.com/1050424 this complain: src/hb-ot-color-sbix-table.hh:304:28: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself which apparently can be fixed using this change. Let's see if this won't make another ubsan complain!
Ebrahim Byagowi 21e1b131 2020-02-11T17:08:55 [colr] minor style fix
Ebrahim Byagowi cbb45c3e 2020-02-11T16:46:14 [subset/colr] minor improve to resolve msvc complain MSVC says, hb-ot-color-colr-table.hh(215): warning C4700: uninitialized local variable 'new_record' used [build\harfbuzz-subset.vcxproj] harfbuzz-subset.vcxproj -> build\Debug\harfbuzz-subset.lib
Garret Rieger bca9bc6b 2020-02-06T13:02:58 Add hb-set-fuzzer. It fuzzes all of the hb_set process methods (intersection, subtraction, union, and symmetric difference).
Ebrahim Byagowi 352ac63e 2020-02-11T03:03:03 Fix an unlikely UAF on the deprecated _set_glyph_func API Fixes https://github.com/harfbuzz/harfbuzz/issues/2168
Ebrahim Byagowi 6a390df8 2020-02-10T17:19:23 [tools] Print unicode links on gen-* tools output As Behdad's review
Evgeniy Reizner 4dc87365 2020-02-09T18:39:33 Add links to files used by python scripts. Closes #2150
Ebrahim Byagowi 40166eb0 2020-02-08T13:17:06 [var] Fix the just introduced hb_font_set_var_coords_design storing bug The memcpy call was using the current coords count which is zero initially so no copy at all. Sad that no test has caught it, should see why, will however with the upcoming style API tests.
Ebrahim Byagowi 5c1a023f 2020-02-08T10:57:07 [tool] Optimize COLR glyph dump Move palette colors fetching out of gid iteration so not fetching all the colors of a palette each time.
Ebrahim Byagowi 0b76e813 2019-08-20T15:15:22 Don't use _normalize_variations to avoid twice axis fetch
Ebrahim Byagowi ab2d3ec5 2019-08-14T18:42:51 [var] Implement hb_font_get_var_coords_design Hold design coords and simulate when normalized coords are set directly.
Garret Rieger 5a10f3a0 2020-02-07T10:38:27 Use vector instead of map during page compaction in hb-set.
Garret Rieger 2742c816 2020-01-28T13:55:31 Fix page_map corruption in hb_set_t during process(). If a process operation results in less pages then the current set has, it will likely corrupt the page_map since it overwrites page_map entries ahead of where it's processing. This fixes that problem by removing page_map entries that will be dropped. Then dropping orphaned pages and re-indexing retained pages.
Qunxin Liu eb7849a8 2020-02-05T15:29:03 [subset] GPOS6 MarkToMark subsetting support
Qunxin Liu 82afc758 2020-02-04T13:24:37 [subset] GPOS4 MarkBase subsetting support
Ebrahim Byagowi 4dc3db73 2020-02-06T12:12:41 Minor, fix warnings raised when built with -std=c++2a Follow up to c184180, It was raising, src/hb-ot-layout-common.hh:1067:63: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] | hb_filter ([=] (const OffsetTo<TSubTable> &_) { return (this+_).intersects (glyphset, lookup_type); }) ^ src/hb-ot-layout-common.hh:1067:19: note: add an explicit capture of 'this' to capture '*this' by reference | hb_filter ([=] (const OffsetTo<TSubTable> &_) { return (this+_).intersects (glyphset, lookup_type); }) ^ , this and src/hb-ot-layout-common.hh:2626:38: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] { r.collect_lookups (this, lookup_indexes); }) ^ src/hb-ot-layout-common.hh:2625:18: note: add an explicit capture of 'this' to capture '*this' by reference | hb_apply ([=] (const FeatureTableSubstitutionRecord& r) ^ , this and src/hb-ot-hdmx-table.hh:141:44: error: implicit capture of 'this' with a capture default of '=' is deprecated [-Werror,-Wdeprecated-this-capture] return device_record->widthsZ.as_array (get_num_glyphs ()) [_]; ^ src/hb-ot-hdmx-table.hh:137:17: note: add an explicit capture of 'this' to capture '*this' by reference | hb_map ([=] (hb_codepoint_t _) ^ , this
Ebrahim Byagowi b4d3bf1d 2020-02-02T14:32:38 [draw] Add hb_draw_funcs_is_immutable and hb_draw_funcs_make_immutable
Ebrahim Byagowi 63b8190d 2020-02-06T11:38:11 [test] minor Remained from previous naming.
Ebrahim Byagowi 3a98c7fa 2020-02-06T01:11:00 [glyf] Skip empty contours As https://savannah.nongnu.org/bugs/index.php?57701
Ebrahim Byagowi c31762e9 2020-02-05T23:12:37 [test] minor don't test first ten glyph, just testing cp just like other API calls is enough
ckitagawa 03f778cf 2020-02-05T09:26:45 [cmap] remove dead code
Ebrahim Byagowi 43253e40 2020-02-05T17:45:19 Merge remote-tracking branch 'upstream/master'
Ebrahim Byagowi 71a20186 2020-02-05T17:15:50 [cbdt] minor, tweak spaces
Ebrahim Byagowi eaa2402a 2020-02-05T17:02:03 [cbdt] Merge hb-ot-color-cbdt-table.cc into its header file Not needed as far as can be said.
Ebrahim Byagowi a7f694d4 2020-02-05T16:31:21 Merge branch 'subset_cblc' into master
ckitagawa-work 774725b4 2020-02-05T07:43:10 [subset] Avoid incorrectly dropping cmap for NotoColorEmoji.ttf NotoColorEmoji.ttf uses two cmap subtables Format 14 | Platform ID 0 | Platform Encoding ID 5 Format 12 | Platform ID 3 | Platform Encoding ID 10 This combination results in the cmap table being dropped during subsetting despite being valid/required.
Ebrahim Byagowi 43016715 2020-02-05T15:02:20 [subset] minor on _subset
Ebrahim Byagowi dcb5dfc9 2020-02-05T15:01:25 [subset] minor on tables iteration
Ebrahim Byagowi a8593339 2020-02-05T15:00:25 [subset] minor on switch statements
Ebrahim Byagowi b1f63109 2020-02-05T00:28:21 [subset] Optimize _is_table_present One call for most of the fonts and no malloc
Ebrahim Byagowi 25707e37 2020-02-05T00:27:28 [cff] minor
ckitagawa 0d61926c 2020-02-04T13:36:51 [subset] Keep head when no glyf table
Ebrahim Byagowi 7f9b2228 2020-02-04T23:05:46 [glyf] minor Improve using https://developer.blender.org/diffusion/B/browse/master/source/blender/blenlib/intern/freetypefont.c$572
Ebrahim Byagowi 5b436033 2020-02-04T21:29:19 [subset] Rename _subset2 to _subset
ariza 2792fb8b 2020-02-02T22:00:53 first rewrite of cff/cff2 _subset with _subset2
ckitagawa b114b26a 2020-02-04T09:49:24 Add guard to copy_glyph_at_idx
Ebrahim Byagowi b2a68ed5 2020-02-01T23:16:26 [name] Minor, use subtraction instead ternary operator Guess ternary was a bit more legible, apparently however we agreed to use subtraction, https://github.com/harfbuzz/harfbuzz/pull/2139#discussion_r372582005
Qunxin Liu 490ef1cc 2020-01-28T15:57:33 [subset] Fix namerecord ordering This will fix inconsistency with fontTools. Also according to the spec, namerecords must be sorted first by platform ID, then by platform-specific ID, then by language ID, and then by name ID.
ckitagawa e128f802 2020-01-21T13:35:43 parent 777ba47b50f6379b9f9abf1d72559316b7116b9e author ckitagawa <ckitagawa@chromium.org> 1579631743 -0500 committer ckitagawa <ckitagawa@chromium.org> 1580506176 -0500 [subset] Add CBLC support
Evgeniy Reizner b4377afd 2020-01-31T15:11:45 Minor hb_ot_layout documentation fixes.
Qunxin Liu 0216a96b 2020-01-30T12:36:58 [subset] Fix simple glyph trim_padding in glyf table Detail: when numOfContours = 1 and flag = 0x31 xCoordinates and yCoordinates would be empty
Qunxin Liu b6a8f5e6 2020-01-28T09:30:51 [subset] CMAP table subsetting fix Not all codepoints smaller than 0xFFFF go to cmap4 table. Only subset codepoints existing in each table. This will also make harfbuzz consistent with fontTools' behavior
Ebrahim Byagowi 777ba47b 2020-01-30T22:38:43 Merge pull request #2132 from ckitagawa-work/subset_colr [subset] Add COLR support
Ebrahim Byagowi 5b069c36 2020-01-30T18:05:01 [draw][docs] update to new terminology
Ebrahim Byagowi 920dca45 2020-01-30T18:03:06 [draw][docs] update to new terminlogy
Ebrahim Byagowi 1632726c 2020-01-30T16:48:34 [draw] minor
ckitagawa 92f43a99 2020-01-29T16:06:55 [subset] COLR, simplify logic and use add_array
ckitagawa fba5128a 2020-01-29T10:24:55 Fix build
ckitagawa 7d542a52 2020-01-29T10:20:00 Refactor to two iterators
ckitagawa 0aed54dc 2020-01-24T15:51:06 Use one-liner methods
ckitagawa 81c469eb 2020-01-24T15:49:25 Try to fix Wrange-loop-analysis
ckitagawa 0d1ba94a 2020-01-24T15:44:40 Minor style fixes
ckitagawa 49b98e86 2020-01-24T15:39:02 Fix nullptr de-reference failure if both blobs in a subset test are 0 in size
ckitagawa ed857c46 2020-01-24T08:52:23 [subset] Add COLR support
Ebrahim Byagowi d106900b 2020-01-28T15:26:13 [draw][glyf] Implement quadratic to cubic call translation
Ebrahim Byagowi 74fdcdca 2020-01-28T13:45:22 [draw] Rename conic_to to quadratic_to
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 cf5f9467 2020-01-27T23:38:39 [outline] use hb_object_is_immutable instead comparing to Null