src


Log

Author Commit Date CI Message
Nirbheek Chauhan b88f1096 2020-06-09T20:06:50 meson: Export symbols for a DLL when not building statically `default_library` might be 'both', in which case we will fail to link when building with MSVC.
Khaled Hosny 5c8900ef 2020-06-08T02:29:04 [coretext] Properly check for macOS 10.10 Fixes https://github.com/harfbuzz/harfbuzz/issues/2452
Ebrahim Byagowi 0151da23 2020-06-06T01:48:23 [meson] Remove with_libstdcxx build option This was done in #770 but no indication of anyone is using it, let's remove it from our meson port and we can just don't care about it in autotools port after the migration to meson.
Behdad Esfahbod 56719474 2020-06-05T12:57:23 s/blacklist/blocklist/g
Christoph Reiter 03bd6ead 2020-06-03T23:52:10 [meson] Only pass required dependencies to everything Instead of passing dependencies as required we used one giant shared dependency list containing all dependencies for every library/executable. While this kinda works, the specified deps are also used for generating the pkg-config files and this leads to lots of Requires.private and Libs.private entries which aren't really needed. This removes the "deps" array and replaces it with a few smaller ones and makes sure the public libraries only get passed the dependencies actually needed. Fixes #2441
Ebrahim Byagowi de0ec5f4 2020-02-08T14:09:09 [style] give ptem value when asked for opsz ptem, used for AAT's tracking/`trak` table is equivalent to opsz of variable fonts. For variable AAT fonts, such as SFNS, ideally variable axis of the hb_font_t should be set and equivalent to ptem, https://crbug.com/1005969#c37
Ebrahim Byagowi 22037499 2019-08-04T11:31:31 [style] New experimental API, hb_style_get_value Searches variation axes of a hb_font_t object for a specific axis first, if not set, then tries to get default style values from different tables of the font.
Ebrahim Byagowi 759df465 2020-06-04T15:49:54 [style] Hide behind HB_EXPERIMENTAL_API compile flag
Ebrahim Byagowi d54de568 2020-04-21T16:33:50 [style] Adopt with meson
Ebrahim Byagowi d67553d1 2020-06-04T12:31:57 [meson] fix with_libstdcxx effect oops
Ebrahim Byagowi 029ecf32 2020-06-04T03:31:15 [meson] Fix gen-hb-version.py run It gets complicated apparently when executed in the dist process, let's use raw names now that we are operating in the script folder anyway.
Ebrahim Byagowi 870304df 2020-06-04T03:19:53 [meson] Remove amalgam build option Fixes #2444
Ebrahim Byagowi b8320340 2020-06-03T23:40:57 [meson] fix gen script input matters more when harfbuzz is a subproject
Ebrahim Byagowi 50d3f531 2020-06-03T17:59:41 Use output names in update-unicode-tables.make
Ebrahim Byagowi fb46a32e 2020-06-03T12:54:26 2.6.7
Ebrahim Byagowi 23091864 2020-06-02T21:52:57 Move unicode tables update script to its own make file Also downloads things needed for unicode tables generators
Ebrahim Byagowi 19ecabed 2020-06-02T20:01:03 minor, fix hb-version.h generation for out-of-tree builds
Ebrahim Byagowi 9737170b 2020-06-02T19:18:35 minor fixes on src gen scripts
Ebrahim Byagowi a9d13463 2020-05-30T14:17:56 [meson] Categorize tests using `suite: [...]` So one can run a category of interested tests like meson test -Cbuild --suite aots --suite src --print-errorlogs Intead issuing particular tests which also is possible like meson test -Cbuild test-shape --print-errorlogs
Ebrahim Byagowi 7250adee 2020-05-29T12:34:30 [tests] Port check scripts to python
Qunxin Liu 3c5bdd9b 2020-02-18T10:02:19 [subset] GDEF AttachList subsetting support
Ebrahim Byagowi 368ca306 2020-05-29T00:42:32 minor on python scripts * remove not needed imports * remove semicolons
Ebrahim Byagowi ad87155f 2020-05-29T00:11:19 minor, use py3's open(encoding=)
Ebrahim Byagowi 7554f618 2020-05-28T22:51:29 minor, use sys.exit print shorthand
Ebrahim Byagowi 08f1d95a 2020-05-28T15:01:15 minor, move scripts manuals to __doc__
Qunxin Liu 593e58c8 2020-05-20T18:00:25 [subset] ChainContext subsetting fix: add lookup index remapping
Ebrahim Byagowi e3af529e 2020-05-23T22:13:32 [meson] update generated headers only when the result is different This way it won't ruin incremental builds. We need a better way to declare source altering tasks https://github.com/mesonbuild/meson/issues/7156 yet this is good enough despite being not idiomatic. It is however not that smooth yet as the change may is detected on the next meson run. One of course can issue ./gen-ragel-artifacts.py manually for better experience before running meson.
Ebrahim Byagowi 1fbb7883 2020-05-23T12:38:07 [gdef] minor, use dagger in ligature carets fetch
Qunxin Liu d7c012a0 2020-02-26T13:11:42 [subset] GDEF Variation Store: step 2 do subset based on variation indices collected in step 1
Qunxin Liu 8200e48f 2020-02-26T13:11:42 [subset] GDEF Variation Store: step 1 closure device variation indexes, create old->new variation idx mapping and store them in subset-plan
Ebrahim Byagowi d2e3a048 2020-05-21T21:48:01 [meson] Fix fix_get_types.py shabang, minor format
Ebrahim Byagowi 887aa021 2020-05-21T20:02:47 [meson] Use find_program for locating python script Apparently that is the simplest and supported way of finding python scripts.
Ebrahim Byagowi d9177a59 2020-05-21T19:34:56 [meson] Use a c linker for on Windows also Using a C linker was limited to non-Windows as 20a840c7, let's revisit this while transition to meson. Packagers easily override that via the option and use a C++ linker if needed.
Ebrahim Byagowi cc53fd15 2020-05-21T19:33:18 [meson] Normalize options names As https://github.com/harfbuzz/harfbuzz/pull/2412#discussion_r426275027
Ebrahim Byagowi a9e8328a 2020-05-21T16:28:24 [meson] Add build configuration summary just like autotools
Ebrahim Byagowi f7562672 2020-05-21T17:01:04 [meson] Use / instead join_paths We need some of the very recent features of meson, let's use the new features also
Ebrahim Byagowi f9b31dda 2020-05-21T08:37:44 [build] State encoding explicitly for hb-version.h.in As https://circleci.com/gh/harfbuzz/harfbuzz/140481 Traceback (most recent call last): File "./gen-hb-version.py", line 14, in <module> output_file.write (input_file.read () File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 16: ordinal not in range(128)
Ebrahim Byagowi a79d0e40 2020-05-21T07:32:58 [subset] minor, use a better type in iteration In file included from hb-ot-face.cc:34: In file included from ./hb-ot-kern-table.hh:30: In file included from ./hb-aat-layout-kerx-table.hh:31: In file included from ./hb-kern.hh:32: In file included from ./hb-ot-layout-gpos-table.hh:32: ./hb-ot-layout-gsubgpos.hh:1878:63: error: loop variable '_' binds to a temporary value produced by a range of type 'decltype((hb_forward<hb_filter_iter_factory_t<hb_map_t &, const (anonymous struct at ./hb-algs.hh:331:1) &>>(rhs)(hb_forward<hb_zip_iter_t<hb_iota_iter_t<unsigned int, unsigned int>, hb_array_t<const OT::OffsetTo<OT::RuleSet, OT::IntType<unsigned short, 2>, true>>>>(lhs))))' (aka 'hb_filter_iter_t<hb_zip_iter_t<hb_iota_iter_t<unsigned int, unsigned int>, hb_array_t<const OT::OffsetTo<OT::RuleSet, OT::IntType<unsigned short, 2>, true>>>, hb_map_t &, const (anonymous struct at ./hb-algs.hh:331:1) &>') [-Werror,-Wrange-loop-bind-reference] for (const hb_pair_t<unsigned, const OffsetTo<RuleSet>&>& _ : + hb_enumerate (ruleSet) ^ ./hb-ot-layout-gsubgpos.hh:1878:10: note: use non-reference type 'hb_pair_t<unsigned int, const OffsetTo<OT::RuleSet> &>' for (const hb_pair_t<unsigned, const OffsetTo<RuleSet>&>& _ : + hb_enumerate (ruleSet) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ebrahim Byagowi c68ab4b5 2020-05-21T00:25:17 Fix _get_ligature_caret's oob read issue AAT::Lookup has no other way to detect whether it is returned from a real and sanitized font data or from a null pool, this checks if the table has been recognized valid by sanitizer by checking table's major version which is zero if returned from a null pool and non-zero if is from a sanitized font data, it is expected the other calls of the table (unlikely to have more calls however) also do a similar version check before calling the lookups used on the table.
Qunxin Liu 8b5d3ebd 2020-04-17T11:58:31 [subset] GSUB5/GPOS7 Contextual Subst/Pos Subtbale Subsetting support
Pip Cet 461cd5a1 2020-05-20T10:01:24 minor: fix hb_ot_layout_get_ligature_carets
Ebrahim Byagowi 4fc6189a 2020-04-21T12:19:16 [meson] Generate harfbuzz.cc, hb-version.h and ragel artifacts
Christoph Reiter b19f927f 2020-05-16T09:27:05 meson: error out if introspection is enabled but gobject isn't In case a user passed -Dintrospection=enabled the build would just ignore it by default because gobject defaults to disabled and the introspection build gets skipped. Instead, if introspection is explicitly enabled but gobject is for some reason missing error out. Fixes #2404
David Corbett b207eab8 2020-04-30T11:53:21 Round-trip OpenType tags through BCP 47
Qunxin Liu 10d6605b 2020-05-15T10:52:49 [subset] don't use << operator in collect_mapping
Behdad Esfahbod c1514644 2020-05-14T19:12:41 Merge pull request #2264 from harfbuzz/unicode-13 Update to Unicode 13.0.0
David Corbett 7a961692 2020-04-01T17:26:07 Update IANA Language Subtag Registry to 2020-05-12
Qunxin Liu b2a965df 2020-04-22T15:58:41 [subset] Add support for "--gids" option cmap subsetting now retains entries associated with any glyph ids explicitly requested
Qunxin Liu 44d88cff 2020-05-08T15:33:34 [subset] fix intersects () for Context/ChainContext tables return true only when all values in array are intersected with input
Ebrahim Byagowi 42025680 2020-05-12T00:14:33 2.6.6
Khaled Hosny b169a52c 2020-05-11T14:35:11 [blob] Fix build when HAVE_MMAP is not defined
Ebrahim Byagowi a2ce9688 2020-05-11T17:15:37 [cff] remove the not used member
Ebrahim Byagowi 2cc78a58 2020-05-11T15:56:54 [number] minor
Ebrahim Byagowi bb095e1b 2020-05-10T22:00:05 [meson] make -subset target dependent to deps to get libm dependency
Ebrahim Byagowi dca8ba6b 2020-05-10T16:57:45 [number] Make hb_parse_double simpler now that we don't have to mimic strtod
Ebrahim Byagowi 44fe1c8f 2020-03-25T16:36:48 Remove xlocale use now that isn't available in most distros Our CI bots don't detect it in Alpine, ArchLinux, Ubuntu and Fedora so let's get rid of it use the fallback we are using anyway for a long time.
Ebrahim Byagowi eea99d7b 2020-05-10T14:46:16 [meson] Let name_prefix of exported libraries the default meson complains about this and it is the default per #2256 Fixes #2256
Ebrahim Byagowi 2ac42220 2020-05-10T14:20:27 [meson] specify preferred linker to avoid stdc++ linking
Ebrahim Byagowi 15083c24 2020-05-10T14:12:20 [meson] Reenable make check-symbols compatible with gcov
Ebrahim Byagowi 385d64ee 2020-05-07T09:59:01 Add a not discardable bool type, hb_success_t
jfkthame 1026b3d0 2020-05-06T21:32:24 [subset] Check vector resize() call for failure (#2389) Other .resize() calls are checked, presumably this one should be as well.
jfkthame 100d40c8 2020-05-06T01:48:24 [aat] Fix implementation of AAT kerning for Geeza Pro. (#2388) * [aat] Fix implementation of AAT kerning for Geeza Pro. Despite what the comment in the code used to say, it appears that Geeza Pro does rely on accumulating kerning values from successive subtables. With this change, the results now match Core Text rendering (and avoid the clear visual breakage reported in #2358). Testcase: U+0644,U+064E,U+0645,U+064E,U+0651,U+0627 Fixes #2358. * [aat] Update test expectations, add new testcase.
Ebrahim Byagowi 9fc774ab 2020-04-30T23:14:54 minor spacing
Khaled Hosny 09b9d63e 2020-04-30T18:51:46 [blob] Try to support resource fork fonts on macOS If the size of opened file is zero, try opening resource fork by appending "/..namedfork/rsrc" to the file name. This is guarded with __APPLE__ ifdef and uses _PATH_RSRCFORKSPEC macro from sys/paths.h. Defining HB_NO_RESOURCE_FORK will disable this fallback. Fixes https://github.com/harfbuzz/harfbuzz/issues/2383
David Corbett fd748fac 2020-03-15T15:59:31 Update to Unicode 13.0.0
Behdad Esfahbod 28633b19 2020-04-29T11:15:25 [vowel-constraints] Simplify generated code Fixes https://github.com/harfbuzz/harfbuzz/issues/2385
David Corbett 665483c9 2020-04-01T17:28:12 Recognize Elymaic as a right-to-left script
René Meusel d6ddb232 2020-04-28T19:30:00 FIX: -Wextra-semi-stmt in Clang9
Ebrahim Byagowi a22e6de0 2020-04-28T19:25:37 [blob] close file reader handle fortunately it isn't in that use as having mmap reader as the default
Ebrahim Byagowi 68905542 2020-04-28T14:56:47 [ci/meson] temporarily disable check-symbols will enable again
Qunxin Liu e53c44e3 2020-04-24T14:06:13 [subset] temporarily revert previous cmap commit Required in https://github.com/harfbuzz/harfbuzz/issues/2356
Ebrahim Byagowi 08428a15 2020-04-24T23:45:17 minor, spacing
Behdad Esfahbod 89ad3c6c 2020-04-23T10:57:30 Rename add_class to collect_class
Behdad Esfahbod 5cf53c06 2020-04-23T10:55:41 Rename add_coverage to collect_coverage
Behdad Esfahbod 689f3f57 2020-04-23T10:51:12 [set] Add << overload for range-sink
Behdad Esfahbod a7df5a7b 2020-04-23T10:50:02 [hashmap] Minor
Behdad Esfahbod a11db0b9 2020-04-23T15:32:43 Merge branch 'master' into usermanual-integration
Ebrahim Byagowi 19346524 2020-04-23T14:22:33 minor, add an option to skip private APIs use in main.cc
Hugo Beauzée-Luyssen 6881939f 2020-04-23T10:08:45 src: meson: Reindent after last changes
Hugo Beauzée-Luyssen e18858c6 2020-04-23T10:06:20 src: Don't build tests when they are disabled
Ebrahim Byagowi 0c65a232 2020-04-23T11:23:54 minor, add unlikely around lookup_limit_exceeded checks addresses https://github.com/harfbuzz/harfbuzz/pull/2294#issuecomment-618022488
Evgeniy Reizner 3e686d24 2020-04-22T13:44:53 [kern] Refactoring.
Behdad Esfahbod f4cd99f2 2020-04-22T14:45:57 Reordering fails when GDEF table is absent #2140 Preserve glyph class if there's no GDEF and no guess. Fixes https://github.com/harfbuzz/harfbuzz/issues/2140
Khaled Hosny c7afb6d7 2020-04-22T15:18:40 [docs] Fix broken link
Behdad Esfahbod bd8aa1b0 2020-04-21T22:19:46 Minor
ckitagawa b22f61d8 2020-04-21T11:49:05 Fix bug
Ebrahim Byagowi 1cd14b40 2020-04-21T14:42:17 minor, update ragel generated hb-number-parser.hh
Ebrahim Byagowi 6d5e8e5e 2020-04-21T14:38:09 minor following to c37100e7d
Ebrahim Byagowi 750bb73e 2020-04-21T01:13:13 [meson] Add an experimental-api option
Behdad Esfahbod 262eced2 2020-04-20T12:17:28 [subset] FeatureVariations subsetting is wrong Never drop FeatureVariationRecord for now. Fixes https://github.com/harfbuzz/harfbuzz/issues/2334
Ebrahim Byagowi 2be859d2 2020-04-20T23:48:23 minor, replace nullptr checks with implicit ones
Ebrahim Byagowi 2dda6dd7 2020-04-20T14:12:45 minor, tweak spacing turn 8 spaces to tab, add space before Null/Crap
Ebrahim Byagowi 0133cb55 2020-04-19T22:42:57 Minor, use hb_sorted_array::bsearch where possible
Christoph Reiter fb3acdbc 2020-04-19T14:57:04 meson: only install gobject/icu headers if the features are enabled
Christoph Reiter ad5dcda0 2020-04-19T14:53:05 meson: install hb-icu.h header
Behdad Esfahbod 2cc85281 2020-04-18T16:29:32 [serializer] Make snapshot()/revert() revert current object links Fixes https://github.com/harfbuzz/harfbuzz/issues/2325
Behdad Esfahbod 6f6e78a2 2020-04-18T16:12:18 Fix float-to-double warnings ./hb-ot-glyf-table.hh:978:37: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
Behdad Esfahbod c37100e7 2020-04-18T16:02:55 Clean up math.h and float.h includes
Ebrahim Byagowi c6b3f73b 2020-04-19T00:54:24 [meson] Make harfbuzz-icu separate module optout-able
Christoph Reiter 8ae06c94 2020-04-18T20:22:45 meson: build a separate library for harfbuzz-icu This adds a seperate library like with autotools. This also fixes the ico feature option which was just set to required:false when disabled instead of really disabling it. Disabling is still broken with msvc because it then tries to find the library another way, but that's broken for all other deps as well so I left it as is. For tests only test-unicode.c is using icu specific functions so split it out into its own category which depends on harfbuzz-icu. Fixes #2338