src


Log

Author Commit Date CI Message
Aaron Boxer 68f98241 2019-07-22T12:12:02 meson: update to latest master
Mathieu Duponchelle 99b26789 2018-05-17T14:53:20 meson: more windows fixes
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.
Mathieu Duponchelle 920efc0e 2018-05-17T01:28:53 Add Meson build definitions Fixes #490 http://mesonbuild.com
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 83ebbe4a 2018-11-12T16:56:56 meson: add option and build system plumbing for DirectWrite on Windows Untested though.
Tim-Philipp Müller b7796a5d 2018-11-12T16:56:56 meson: add option and build system plumbing for uniscribe on Windows Untested though.
Tim-Philipp Müller c81290b0 2018-11-12T15:58:09 meson: add feature option for internal ucdn lib
Tim-Philipp Müller 7eaf3754 2018-11-16T16:26:06 meson: update for changes in master And remove header files from sources list, Meson figures out header dependencies by itself (via the compiler).
Tim-Philipp Müller 535186fd 2018-12-03T20:51:06 meson: provide a harfbuzz-config for use from CMake See #822 and #1437.
Khaled Hosny 04438554 2018-11-15T00:25:41 meson: Update build files after rebase
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 618584e9 2018-11-14T20:19:36 meson: rename incbase to incconfig Makes it clearer what it's for: config.h. See #4.
Khaled Hosny 14b5c774 2018-11-14T21:05:47 meson: Fix include directory when used as subproject HarfBuzz headers are under src/ not the root directory, without using incsrc no headers will be found by the dependent project. I think incbase is superfluous, it should be replaced by incsrc or dropped.
Mathieu Duponchelle 29c47d8e 2018-06-05T18:19:29 meson: pass subdirs to pkgconfig.generate()
Tim-Philipp Müller 6abe7983 2018-11-14T13:49:03 meson: add g-i introspection
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
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 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 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 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 60262e4c 2020-02-29T22:57:59 [var] Build end-points array on gvar itself
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
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 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 c66ee213 2020-02-27T12:25:01 Limit the number of feature indices processed during feature collection.
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
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 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 4cdaa9d1 2020-02-26T16:27:04 [glyf] Simplify contour end logic So no need for infinite loop here
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
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
ariza 173b745d 2020-02-24T22:56:57 fixed bug & added tests
ariza a5012e97 2020-02-24T17:09:48 optimize hb_set_del_range() fix issue #2193
Ebrahim Byagowi 1f5a54c7 2020-02-24T13:18:24 [gvar] fix infinite loop introduced by 11f3fca The attempt on removing end_points had made the code unreadable and has intrdouced infinite, fixed by making the code clear what it tries to achieve.
Ebrahim Byagowi f00eb4eb 2020-02-24T09:21:25 [gvar] Don't compare against Null address
Ebrahim Byagowi 19b78d56 2020-02-24T09:08:01 [gvar] Accept coord_count even if is higher than gvar's axisCount
Ebrahim Byagowi 197e2e92 2020-02-24T08:53:53 [gvar] Return gracefully even if gvar wasn't used at all
Ebrahim Byagowi 346ab988 2020-02-24T08:46:08 [gvar] Return gracefully even if coords_count != gvar's axis count It shouldn't be that common to have the situation, even so, no need to reject entire a glyph even if gvar isn't used.
Ebrahim Byagowi 5f23a76e 2020-02-24T08:23:23 [cff] Don't remove coords const qualification We should find some way to audit all the const removals, perhaps by enabling -Wold-style-cast warning on the project and turning all the implicit const removals to const_cast.
Michiharu Ariza ff5223ba 2020-02-23T15:53:21 remove invalid glyphs from closure (#2188) fix issue #2186
Ebrahim Byagowi e17fd0d9 2020-02-23T23:58:39 [tools] More on py3 compatibility
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 a46ba770 2020-02-22T17:15:00 [number] minor
ariza 4aa354be 2020-02-20T05:03:15 chain second OffsetTo::serialize_copy() to first
ariza 6120f50c 2020-02-19T13:55:39 fix Head with link.bias
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 4ca8e0d9 2020-02-19T12:52:18 re-implement Tail; rewrote name table with it
ariza c1313e4b 2020-02-17T17:33:18 minor: undid unintended change