Log

Author Commit Date CI Message
Jonathan Kew b1c0b9da 2020-04-02T14:39:13 [AAT] Don't map OT tags to AAT feature types that are not exposed. If an AAT feature type is not exposed in the 'feat' table, we assume it is not intended to be user-controllable and so we should not map any OT feature tag requests to it. Fixes #2285.
Qunxin Liu e0c3979a 2020-04-01T16:49:53 typo fix
ariza 65f41363 2020-04-01T19:49:18 minor; fixes #2292
Garret Rieger 014e038b 2020-03-31T16:29:29 [subset] Bail out of context lookup expansion once the lookup limit is encountered.
Garret Rieger 5d345d0c 2020-03-31T17:46:19 [subset] Limit the number of lookup indices processed subsetting Feature. > Also, remove two unnessecary full iterations of the lookup index iterator during serialization of the index array. Fixes fuzzer found timeout.
Khaled Hosny 1b64b730 2020-03-30T16:49:23 Revert "Add messages for GPOS/GSUB phases" This reverts commit b07714d6b53bb20a2796f5efa607dc32aac587f1.
Ebrahim Byagowi 2e1bf61d 2020-03-26T22:59:26 [gsubgpos] Use FeatureVariations::NOT_FOUND_INDEX instead Index:: As noted by https://github.com/harfbuzz/harfbuzz/issues/2280#issuecomment-604386389 Added on b143e34, fixed on 2571891 Closes #2280
Ebrahim Byagowi 96d792ae 2020-03-24T14:05:47 [avar] Prevent mul overflow Fixes https://crbug.com/oss-fuzz/21350
Ebrahim Byagowi 18fc9197 2020-03-26T13:34:28 [meson] Run check-symbols.sh and check-static-inits.sh correctly * Search src/ build directory for objects in check-static-inits.sh * Find .def files in src/ build directory in src/check-symbols.sh * Pass builddir also in autotools also, we may just remove libs passing after autotools removal * Move harfbuzz_subset_def target so can be referenced as a check-static-inits.sh dependency
Ebrahim Byagowi 9c2c9553 2020-03-26T13:24:38 [test] Check -subset also doesn't link to lib[std]c++
Ebrahim Byagowi 25718913 2020-03-26T14:04:37 [gsubgpos] minor build fix
Ebrahim Byagowi b143e34e 2020-03-26T11:58:45 [gsubgpos] Initialize variation index on HB_NO_VAR hb_shape_plan_key_t::equal expects hb_ot_shape_plan_key_t be initialized by hb_ot_layout_table_find_feature_variations calls but it won't get initialized when HB_NO_VAR build config is used. Related to https://github.com/harfbuzz/harfbuzz/issues/2280
Ebrahim Byagowi 071e2e34 2020-03-26T12:01:53 minor
Ebrahim Byagowi cc977b6e 2020-03-26T11:18:02 [gsubgpos] Minor simplification Just changed the order, no functional change
Ebrahim Byagowi 1a482785 2020-03-26T11:15:09 [gsubgpos] Minor style improve
Garret Rieger 4ad686b9 2020-03-25T23:32:28 [subset] fix fuzzer timeout in layout closure Bail out of chain context lookup expansion once the lookup limit is encountered.
Ebrahim Byagowi 6a8a1dc5 2020-03-24T16:04:33 [meson] Port src/ binary artifacts to meson
Ebrahim Byagowi d57fc627 2020-03-24T16:03:04 [meson] raise timeout value of subset fuzzer
Ebrahim Byagowi f0ce56bb 2020-03-24T22:53:38 [meson] Don't compile test-bimap on msvc either MSVC doens't like its NullPool, test-bimap.cc.obj : error LNK2019: unresolved external symbol "unsigned __int64 const * const _hb_NullPool" (?_hb_NullPool@@3QB_KB) referenced in function
Ebrahim Byagowi 4738dff1 2020-03-23T23:37:49 [make] minor move on Makefile.am
Ebrahim Byagowi 22f311e1 2020-03-24T22:43:02 [meson] Don't compile noinst_programs in msvc for now
Ebrahim Byagowi 7054b122 2020-03-24T22:35:41 [meson] Mark rest of non-install executables explicitly
Ebrahim Byagowi 68df3f7d 2020-03-24T20:58:38 [meson] test/api, separate subset tests
Ebrahim Byagowi 600bf21f 2020-03-24T20:08:40 [meson] Add draw-fuzzer runner
Ebrahim Byagowi 466dbaa2 2020-03-24T19:52:43 [meson] Add a note on meson stability status
Ebrahim Byagowi 28deb6b7 2020-03-24T19:41:53 [meson] test/fuzzing simplify
Ebrahim Byagowi 78622231 2020-03-24T19:39:42 [meson] More comment on tests are causing timeout failure
Ebrahim Byagowi 9bc792f4 2020-03-24T19:37:56 [meson] Don't set MALLOC_PERTURB_ as it is already set by meson
Ebrahim Byagowi e8808c1c 2020-03-24T19:15:09 [meson] Minor, replace tabs with spaces
Ebrahim Byagowi 4dfda9fe 2020-03-24T19:33:31 [meson] Update and simplify test/shaping
Ebrahim Byagowi f22e92bb 2020-03-24T19:32:55 [meson] Update test/api from autotools
Ebrahim Byagowi e248a4e4 2020-03-24T18:56:49 [make] Minor reordering on test/api/Makefile.am
Ebrahim Byagowi 2db82791 2020-03-24T18:55:56 [meson] Don't compile test-{algs,iter,meta} on msvc
Ebrahim Byagowi 3385afac 2020-03-24T18:55:01 [meson] Don't run check-includes if is amalgam build
Simon Cozens b07714d6 2020-03-14T17:55:27 Add messages for GPOS/GSUB phases
Ebrahim Byagowi 748e1cf8 2020-03-21T23:31:52 [subset] Avoid linking to libstdc++ in libharfbuzz-subset.so Just like other targets (except harfbuzz-icu) avoid linking to libstdc++
Ebrahim Byagowi 76169526 2020-03-19T11:43:37 [tests] Remove py2 workaround for lack of timeout in subprocess
Ebrahim Byagowi b5526a09 2020-03-18T23:58:20 [tools] Remove in-house 'which' now that we have py3
Ebrahim Byagowi a0c58be3 2020-03-18T23:40:59 [tools] Remove py2 remains
Ebrahim Byagowi 2e29a407 2020-03-14T16:34:36 [ci/appveyor] Adopt with Meson
Ebrahim Byagowi 03564fd2 2020-03-14T20:09:00 [test] fix misspell
Ebrahim Byagowi 1b8a37f7 2020-03-14T20:06:41 [test] minor fix oops...
Ebrahim Byagowi 0423da33 2020-03-14T20:05:23 [test] minor fix macos tests are using absolute path which aren't relevant in Windows
Ebrahim Byagowi 74fdd34f 2020-03-14T20:03:14 [test] make run-tests.py work on Windows
Tim-Philipp Müller 93b3e302 2020-03-14T11:27:50 [meson] fix icu-related linking errors in test with amalgam build test-unicode.c:960: undefined reference to `hb_icu_get_unicode_funcs' test-unicode.c:961: undefined reference to `hb_icu_get_unicode_funcs' For now add the icu sources to libharfbuzz also for the amalgam build, later we need to have a separate harfbuzz-icu module and link against that, and/or generate harfbuzz.cc.
Tim-Philipp Müller a3892be7 2020-03-14T01:08:15 [meson] fix spurious warning when building test/api C sources Fixes compiler warning test-unicode.c:589:1: warning: ‘test_unicode_properties_lenient’ defined but not used which didn't happen with autotools. Reason it does with meson is that the setup for C was slightly wrong. We would only add -DHAVE_CONFIG_H to cpp_args which is only valid when compiling C++ code, but not plain C code, and many of these tests were plain C. Instead pass -DHAVE_CONFIG_H via add_project_arguments() and make sure to set both c_args and cpp_args when building test executables. Fixes https://github.com/harfbuzz/harfbuzz/issues/2257
Tim-Philipp Müller bb8aaa31 2020-03-14T01:05:38 [meson] use add_project_arguments() instead of add_global_arguments() .. and simplify, can pass two languages in one go. add_global_arguments() won't work if harfbuzz is used as a meson subproject.
Garret Rieger 2f556c38 2020-03-13T12:21:10 [subset] Fix crash when serializer runs out of room during gpos subsetting.
Garret Rieger 430bf696 2020-03-13T11:20:34 Add potentially crashing font as a fuzzer seed.
Ebrahim Byagowi c54ab9ba 2020-03-13T14:41:28 Provide meson wrap files on release tarball
Ebrahim Byagowi f1dd605c 2020-03-13T14:40:07 [docs] Update to mention meson
Chun-wei Fan 838346c5 2020-03-13T18:01:17 meson: Support GDI integration ...and supersede the configuration option uniscribe with gdi, as Uniscribe is tightly tied to GDI. This means that enabling GDI would also mean enabling Uniscribe.
Chun-wei Fan 9d0e6aef 2020-03-13T16:56:55 Meson: Look harder for Cairo on Visual Studio Since Cairo's build system for Visual Studio does not generate pkg-config files for us, look for cairo.h and cairo.lib manually if the pkg-config files cannot be found. Also look for cairo-ft more carefully: ensure that we have cairo-ft.h, and one of its symbols can be found in the same cairo.lib that we previously found.
Chun-wei Fan 5efce600 2020-03-13T16:40:20 Meson: Try harder to look for ICU on Visual Studio ICU's Visual Studio build files do not generate pkg-config files for us, unless it is built with Cygwin instead of the project files. If pkg-config files for ICU cannot be found, look for its headers and .lib manually.
Chun-wei Fan 7baa8e0d 2020-03-13T16:21:25 meson: Updates to Uniscribe and DirectWrite build support Update the DirectWrite support to look for dwrite_1.h, and give the green light for both the DirectWrite and Uniscribe build options.
Chun-wei Fan 733414b2 2020-03-13T16:15:21 meson: Try harder to find FreeType on Visual Studio If we can't find FreeType via pkg-config or CMake, try looking for it manually, before we attempt to build it as a fallback.
Chun-wei Fan 4b4d5c29 2020-03-13T16:00:09 src/meson.build: Some cleanups for Visual Studio builds We don't actually need the .def files (vs_module_defs) entry when we are building DLLs with Visual Studio as long as we have HB_DLL_EXPORT defined. Plus, to maintain compatibility with the CMake builds, for Visual Studio builds we do not prefix the libraries with 'lib', nor have a '-0' suffix for the DLL file name.
Chun-wei Fan da95a8c2 2020-03-13T15:49:08 Shaping tests: Skip FreeType tests if support not present HarfBuzz could have been built without FreeType, so we skip the test when hb-shape reports that the font function `ft' is unknown
Chun-wei Fan 91ca17e1 2020-03-13T12:19:32 src/hb-gobject-enums.cc.tmpl: Replace © with (C) This was, we also avoid Visual Studio compiler warnings C4828 as that sign is not favored when /utf-8 is enabled, which is the norm nowadays as Visual Studio 2015 or later is required to build harfbuzz nowadays.
Chun-wei Fan 62fb6738 2020-03-13T12:18:09 Fix gen-def for harefbuzz-gobject The © sign is causing issues for the script, so replace those with (C)
Chun-wei Fan 8d425ed4 2020-03-13T12:15:28 meson: Fix harfbuzz-gobject builds without introspection Make the `sources:` field reflect the items depending on whether introspection is being built
Chun-wei Fan 3341d534 2020-03-13T12:07:06 meson: Don't apply -DHB_DLL_EXPORT to all targets Only have it apply to the libraries when they are not built statically on Visual Studio
Ebrahim Byagowi a224f417 2020-03-13T08:33:34 Turn more of simple dagger chains to foreach Less noise, as was agreed before and applied 385741d also
Ebrahim Byagowi 755a77d6 2020-01-29T22:26:04 Move outline draw API behind HB_EXPERIMENTAL_API directive
Ebrahim Byagowi dfab7a25 2020-03-12T21:05:01 [cmake] Bring it back to release tarball
Ebrahim Byagowi e860000d 2020-03-12T21:04:06 [cmake] Suggest Meson port in CMake
Ebrahim Byagowi b1c3d0b8 2020-03-12T20:59:18 [cmake] cleanup
Ebrahim Byagowi cc63eb66 2020-03-12T14:53:26 [editorconfig] Add meson config
Ebrahim Byagowi 1dd38966 2020-03-12T13:41:10 [meson] Make it work on autotools dist
Ebrahim Byagowi 47a047bd 2020-03-12T14:47:40 [ci] Remove the not used azure-pipelines.yml We will use GitHub Actions instead, same infrastructure anyway, or even better, CircleCI's Windows support
Garret Rieger 834a224a 2020-03-12T03:02:36 [subset] Put a limit on the number of lookup indices that can be visited during closures Fixes https://crbug.com/oss-fuzz/21025
Ebrahim Byagowi 31218b41 2020-03-11T22:27:32 [meson] Explicit state C++11 for older compilers Needed as https://circleci.com/gh/harfbuzz/harfbuzz/132417
Ebrahim Byagowi 749cf378 2020-03-11T22:25:27 [meson] test meson's own unity feature also
Ebrahim Byagowi f8c8be05 2020-03-11T20:51:40 [meson] Add amalgam build option
Ebrahim Byagowi 365d2d3c 2020-03-11T20:16:36 [meson] Add needed compiler flags
Ebrahim Byagowi 12df69e5 2020-03-11T21:52:43 Minor, delete not needed cmake testing file
Ebrahim Byagowi 943bfeda 2020-03-11T20:30:41 [meson] Enable more of the subset tests
Ebrahim Byagowi c494d7ab 2020-03-11T19:44:13 Remove cmake testing and add meson build bot CMake tests are broken anyway as py3 changes so let's get rid of them
Ebrahim Byagowi 1c3f80ba 2020-03-11T19:29:47 [meson] Minor updates
Aaron Boxer 68f98241 2019-07-22T12:12:02 meson: update to latest master
Tim-Philipp Müller 535186fd 2018-12-03T20:51:06 meson: provide a harfbuzz-config for use from CMake See #822 and #1437.
Tim-Philipp Müller 6afa7e1c 2018-12-02T01:28:23 meson: update harfbuzz version
Tim-Philipp Müller f1e5f4a7 2018-12-02T00:33:43 meson: tests: shaping: add aots tests
Tim-Philipp Müller 84725fb0 2018-12-02T00:32:57 meson: tests: shaping: add missing in-house tests
Tim-Philipp Müller 8fc66dbf 2018-12-01T21:15:33 meson: tests: subset: no need to check for 'which' command any more Test runner script now handles that.
Tim-Philipp Müller 0976300b 2018-12-01T21:10:57 meson: pin glib wrap to 2.58.1 release
Tim-Philipp Müller 0fcf0982 2018-12-01T18:22:46 meson: fix linking on MSVC
Tim-Philipp Müller 4a47f1aa 2018-12-01T11:05:27 meson: suppress some spurious compiler warnings with MSVC
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).
Khaled Hosny 04438554 2018-11-15T00:25:41 meson: Update build files after rebase
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.
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 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 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 49ba211a 2018-11-12T15:36:27 meson: add options to enable/disable various features And fix build without GLib. Fixes #2.