Log

Author Commit Date CI Message
Tim-Philipp Müller 6abe7983 2018-11-14T13:49:03 meson: add g-i introspection
Tim-Philipp Müller 6147df33 2018-11-14T10:12:40 meson: add option to disable tests
Tim-Philipp Müller 4840c823 2018-11-12T16:56:56 meson: add option and build system plumbing for CoreText on macOS/iOS Untested though.
Tim-Philipp Müller 49ba211a 2018-11-12T15:36:27 meson: add options to enable/disable various features And fix build without GLib. Fixes #2.
Mathieu Duponchelle 484313ff 2018-06-05T02:15:43 meson: install
Mathieu Duponchelle d4a72373 2018-05-17T16:25:22 meson: all tests passing on Windows / MSVC
Tim-Philipp Müller c5f2e5e5 2018-11-12T10:05:04 meson: use proxy-libintl from frida
Mathieu Duponchelle 99b26789 2018-05-17T14:53:20 meson: more windows fixes
Mathieu Duponchelle 7ee650b1 2018-05-17T23:52:36 meson: refactor fuzzing test
Tim-Philipp Müller 83ebbe4a 2018-11-12T16:56:56 meson: add option and build system plumbing for DirectWrite on Windows Untested though.
Tim-Philipp Müller 54417b12 2018-11-12T10:04:15 meson: fix glib git url It's on gitlab now. Fixes #1
Mathieu Duponchelle fce88f99 2018-05-17T16:20:10 meson: add subproject wraps for dependencies
Mathieu Duponchelle 920efc0e 2018-05-17T01:28:53 Add Meson build definitions Fixes #490 http://mesonbuild.com
Nirbheek Chauhan f65def4d 2018-10-12T19:41:49 meson: Declare dependencies for use as a subproject Also use fallbacks for dependencies that have meson build files
Tim-Philipp Müller d230a020 2018-11-12T19:41:39 meson: generate .def file for MSVC symbol export on the fly Fix symbol export with MSVC when features are disabled, such as GLib. We need to generate the list of exported symbols on the fly to make sure we only export symbols that are actually available. Needs some minor modifications to the gen-def.py script: - accept header list also via command line args; we can't pass things to a configure_file() command via the environment in Meson. - strip any leading 'src/' from library filename. This might be there because in Meson the script might be called from the top-level directory and not the current source directory. Remove .def files again which had been checked in for earlier versions of the Meson port.
Tim-Philipp Müller b7796a5d 2018-11-12T16:56:56 meson: add option and build system plumbing for uniscribe on Windows Untested though.
Mathieu Duponchelle 14432b3d 2018-07-04T17:54:28 meson: remove debug message
Mathieu Duponchelle 07cadc9c 2018-06-18T17:18:05 meson: update minimum meson version
Tim-Philipp Müller c81290b0 2018-11-12T15:58:09 meson: add feature option for internal ucdn lib
Mathieu Duponchelle 04bcdb9c 2018-06-05T20:59:29 meson: misc fixes
Mathieu Duponchelle 29c47d8e 2018-06-05T18:19:29 meson: pass subdirs to pkgconfig.generate()
Khaled Hosny 0615c7b6 2020-03-10T21:57:31 Remove workaround for old pkg-config Add FreeType dependency to .pc, Ubuntu 14.4 is long dead. Fixes https://github.com/harfbuzz/harfbuzz/issues/1565
Ebrahim Byagowi 78eabf24 2020-03-10T13:34:42 [test] Enable OT funcs on tests that are working
Ebrahim Byagowi 47f5a860 2020-03-10T13:57:46 minor, use NN on every OffsetTo<UnsizedArrayOf<>>
Ebrahim Byagowi 648338c7 2020-03-10T13:12:00 [gvar] Add fields docs from ot-spec as other tables
Ebrahim Byagowi 1b3b9697 2020-03-10T12:46:09 [gvar] Don't copy shared tuples into gvar's accelerator
Ebrahim Byagowi 29dd1fe5 2020-03-10T11:41:51 [gvar] Don't check again against face num glyph Done once by sanitize_shallow
Ebrahim Byagowi d4b11817 2020-03-10T11:29:56 [gvar] minor, rename gvar_table to table
Ebrahim Byagowi 5c376938 2020-03-10T10:51:38 [gvar] Remove axisCount comparison with fvar as we runtime check that
Ebrahim Byagowi ba22df36 2020-03-10T10:42:20 minor makes search for sanitize calls easier for me
Ebrahim Byagowi 8ca9df7a 2020-03-10T10:40:05 [subset] Remove not needed blob sanitize call
Ebrahim Byagowi 07acd1a0 2020-03-08T23:39:24 [subset] Rename src_base args to base to match sanitize methods So it will become easier to follow that serialize methods signatures should match with their sanitize methods counterparts.
ariza 188a0a47 2020-03-07T11:02:36 removed default base; replaced w/ bias if required
blueshade7 4c3af7d4 2020-03-05T15:40:44 add "add_link()" with bias arg issue #2227
Ebrahim Byagowi bdf372b2 2020-03-08T00:47:25 [subset/cbdt] Release the referenced cbdt table on error Just accidentally spotted it, when the table has less than 4 bytes
Ebrahim Byagowi 0d729b4b 2020-03-07T11:53:12 [avar] Fix out-of-bound read when input is bigger than all the coords 'i' shouldn't become equal to array's length which as the increament is happened at end of the loop, if the input is bigger than all the table coords, it will be equal to array's length. Fixes https://crbug.com/oss-fuzz/21092
Ebrahim Byagowi 6924e29f 2020-03-03T13:11:11 [var] Fix hb_ot_var_get_axis_infos's offset semantic The API was adding offset to input's infos buffer index also which is unusual between our APIs and wrong.
Ebrahim Byagowi b7617f6b 2020-03-05T12:07:33 [glyf] Update to latests of ttf-parser
ariza 0b290538 2020-03-04T22:31:21 removed unused code
ariza e8f010d7 2020-03-04T16:54:27 removed unused code & data; rename
Garret Rieger 14a7b6f1 2020-02-26T15:09:04 Set hb_buffer_t to use array_t.reverse().
ariza 5935a1dc 2020-03-03T12:12:51 add pop_discard() calls to errror returns
ariza c05458ec 2020-03-02T16:51:19 update cff & cff2 subsetters
Ebrahim Byagowi 446d1e3b 2020-03-04T23:32:50 [fuzz] Add more of fixed cases
Ebrahim Byagowi 90048485 2020-03-04T12:12:35 [gvar] Make sure font's num_coords matches with gvar.axisCount
Ebrahim Byagowi 1af3363f 2020-03-04T11:32:01 [gvar] Use hb_array_t instead indexing raw pointers
Ebrahim Byagowi 99b5b3f1 2020-03-04T11:15:46 [gvar] Make sure TupleVarHeader has the needed size Fixes https://crbug.com/oss-fuzz/21026
Ebrahim Byagowi b398748d 2020-03-04T11:18:19 [algs] Add hb_clamp Similar to stl and glsl's clamp
Ebrahim Byagowi 558f9227 2020-03-03T20:27:19 [fuzz] Avoid empty memcpy and ubsan complain by length checking before memcpy
Ebrahim Byagowi 6543d166 2020-03-03T20:26:46 [fuzz] Remove the not yet fixed timeout, going to investigate
Ebrahim Byagowi 2bbf1c86 2020-03-03T19:42:38 [fuzz] Add more of supposed to already be fixed cases from Chromium bug tracker
Ebrahim Byagowi f745777c 2020-03-03T19:14:41 minor, debug bit, ops
Ebrahim Byagowi f253f06c 2020-03-03T18:57:13 [fuzz] Add another fixed case https://crbug.com/oss-fuzz/14626 another numerous subtables count which is fixed by d38360397
Ebrahim Byagowi d3836039 2020-03-02T22:41:08 Limit OT::Lookup subtables (#2219) Fixes https://crbug.com/oss-fuzz/13943
Ebrahim Byagowi 29efd964 2020-03-02T14:22:29 [fuzz] Add cases that marked as wontfix Let's see if they were really false alarms, if so, let's just have them.
Ebrahim Byagowi 60262e4c 2020-02-29T22:57:59 [var] Build end-points array on gvar itself
Ebrahim Byagowi cb65150f 2020-02-29T16:12:54 [draw] minor
Ebrahim Byagowi 44169f33 2020-02-29T16:04:03 [draw] Fix invalid rendering of some glyph on Estedad-VF Basically reverts 11f3fca so I can do the same tested and better later Fixes #2215
Ebrahim Byagowi 86c40b3a 2020-02-29T14:11:46 [fuzz/draw] Call _get_glyph_extents Other render related APIs also may be added also later such as ot-color and future rendering things.
Michiharu Ariza 5ab50eeb 2020-02-29T01:32:29 collect_unicodes() with clamp, calling add_range() Use add_range instead an inner loop, clamp its input number by number of glyphs a face has. Even the face cmap12 and 13 have 32-bit hb_codepoint_t, which is here used to make timeout, face's maxp has 16-bit gid limitation at least for now, using that makes sure we both fix and the timeout and don't need to change much things here also in order to support 32-bit gids also someday. Fixes #2204
Garret Rieger c66ee213 2020-02-27T12:25:01 Limit the number of feature indices processed during feature collection.
Garret Rieger 414529e4 2020-02-28T15:15:55 [subset] Limit the number of feature indices processed during script subsetting.
Garret Rieger 75622b0d 2020-02-28T14:11:48 [subset] Limit the number of features processed in the feature closure.
Garret Rieger 410b4881 2020-02-28T10:38:27 [subset] Add fuzzer timeout testcase.
Ebrahim Byagowi e57ced5f 2020-02-28T23:29:05 [gvar] Add other possibly fixed fuzzer case Speculatively should've been fixed by 61208401 https://crbug.com/oss-fuzz/20924 related
Ebrahim Byagowi 758fda72 2020-02-28T23:19:06 [glyf] Don't accept gids higher than maxp's glyphs number This specially becomes concerning on sub-components where a gvar table that is sanitized using maxp's glyphs number overflows when a high gid accepted here goes to it, maybe an additional check can be put there also, this however feels to be enough. Fixes https://crbug.com/oss-fuzz/20944
Ebrahim Byagowi e642aab1 2020-02-28T22:24:25 [subset] Add source_blob as a hb_subset_context_t field (#2203) So no more double sanitizing source table.
Ebrahim Byagowi e9021386 2020-02-28T21:24:27 Revert "collect_unicodes() to check gid < num_glyphs with cmap 12" Didn't fix the case actually, making bots to fail. This reverts commit 15b43a410400c74a32d40f4b89dbea02fa7cd6e1.
Ebrahim Byagowi 61208401 2020-02-28T21:09:07 [gvar] Use hb_bytes_t.check_range instead having in house one And use TupleVarHeader calculated size for validity check. Fixes https://crbug.com/oss-fuzz/20919 and possibly other gvar related issues
Michiharu Ariza 15b43a41 2020-02-28T08:45:39 collect_unicodes() to check gid < num_glyphs with cmap 12 fixes #2204
Ebrahim Byagowi 868ecf7b 2020-02-28T19:50:30 [draw] Add fuzzer runner
Qunxin Liu b0749bfa 2020-02-14T13:49:44 [subset] GDEF LigCaretList subsetting support
ariza 002f0e20 2020-02-27T17:34:26 reimplment serialize_int using check_assign()
Ebrahim Byagowi 14b13437 2020-02-27T15:58:58 [gvar] Minor, check whether sub_array result also have enough room
Ebrahim Byagowi 8eba66c1 2020-02-27T15:58:58 [gvar] Fix invalid memory access by refactoring GlyphVarData fetch logic Fixes https://crbug.com/oss-fuzz/20906
Evgeniy Reizner f44e1dc0 2020-02-27T02:02:22 Fix spelling.
Qunxin Liu 5ad761b9 2020-02-11T13:05:40 [subset] GDEF MarkGlyphSets subsetting support
Qunxin Liu fcd7f33b 2020-02-10T10:36:50 [subset] GDEF glyphClassDef subsetting support glyphClassDef uses the same ClassDef format. However, glyphClassDef table uses predefined class values so we do not remap class values.
Garret Rieger 50129b03 2020-02-25T17:39:59 Add a reverse () call to hb_array_t.
Garret Rieger 38c6598c 2020-02-25T17:20:05 Switch to C style comments.
Garret Rieger 52b6e0ba 2020-02-10T12:26:40 When serializing cmap14 order the offsets from smallest to largest. Current versions of OTS fail fonts with cmap 14's who's last offset does not point to the a block at the end of the table.
ariza a99134c5 2020-02-26T09:58:03 add oss-fuzz 20886 test file
ariza d0aaba5c 2020-02-26T09:35:32 fixes oss-fuzz 20886 hb_set_t::resize () is needed after compact()
Ebrahim Byagowi 05a25c1a 2020-02-26T19:35:27 [cff] minor, remove unused fields
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 1b8b8638 2020-02-26T16:36:48 minor
Ebrahim Byagowi 4cdaa9d1 2020-02-26T16:27:04 [glyf] Simplify contour end logic So no need for infinite loop here
Ebrahim Byagowi 132fcfbc 2020-02-26T16:15:17 [fuzz] minor don't abort main.cc when the file was empty or not found
Ebrahim Byagowi 84163c83 2020-02-26T15:58:11 [draw] Skip commands and paths not contributing anything They aren't contributing to rendering and making issue for stroking, let's skip them ourselves as Skia does also https://skia-review.googlesource.com/c/skia/+/268166 They are useful for extracting extents and so which that functionality won't be effected by this change.
Ebrahim Byagowi 073d4954 2020-02-26T15:40:40 [draw] Port glyf path extract to draw_helper_t
Ebrahim Byagowi 0ebf3a4e 2020-02-26T15:14:41 [draw] Move common CFF path building logic to draw_helper_t
Michiharu Ariza c400cb88 2020-02-25T16:06:03 Re-implement hb_set_t::del_range (#2194) * optimize hb_set_del_range() fix issue #2193 * fixed bug & added tests * coding & comment tweaks
Ebrahim Byagowi c21eb86b 2020-02-26T02:54:38 Merge pull request #2163 from harfbuzz/absolute-link added add_link_abs()
ariza 4081439d 2020-02-25T15:03:12 tweak reflecting review & add test cases
Ebrahim Byagowi 152000d9 2020-02-25T20:07:25 [fuzz] Practice variations on font object
Ebrahim Byagowi 036d8689 2020-02-24T10:34:51 [draw] Add a fuzzer Specially checks correctness of the API semantics: * no move happens when a path is already opened with move-to. * no path will be left open and close-path will happen at the end of opened paths. * no path opens with a move-to and will be closed with no length. * paths start and ending points matches. * no line/quadratic/cubic command will be issued when no path is started.
ariza de896278 2020-02-25T07:12:20 coding & comment tweaks
Ebrahim Byagowi 2f97aa65 2020-02-25T18:07:44 [cff] Make sure previous is ended on processing a seac
Ebrahim Byagowi acc2d473 2020-02-25T18:05:48 [cff] Make path extract easier to read and more defensive
Ebrahim Byagowi b59eb54f 2020-02-25T10:30:59 [glyf] Refactor, move get_points inside Glyph