src/meson.build


Log

Author Commit Date CI Message
Behdad Esfahbod b1145183 2025-03-22T02:48:29 [directwrite] Link to library Instead of loading at runtime. I just want to see how CI deals with this. Otherwise, not depending on dwrite is probably desired.
Behdad Esfahbod 8d8fe190 2025-03-15T19:58:57 [dwrite] Add font-funcs sketch Small steps. Fixes https://github.com/harfbuzz/harfbuzz/issues/5144
Behdad Esfahbod 93f8cbf4 2025-03-15T19:20:09 [meson] Add missing .hh files to sources Manually checked with find and grep...
Behdad Esfahbod db8d099d 2025-03-15T13:53:36 [dwrite] Split shape code into its own file
Behdad Esfahbod aa233ece 2025-03-12T22:59:07 [bit-vector] Add a hb_bit_vector_t type Unused.
Behdad Esfahbod f0a67e99 2025-03-11T20:37:30 [coretext] Split common code into hb-coretext.cc
Behdad Esfahbod 756668d3 2025-03-11T11:27:02 [directwrite] Drop dependency again as per review https://github.com/harfbuzz/harfbuzz/pull/5132#issuecomment-2714186460
Behdad Esfahbod 41dcc493 2025-03-10T23:40:39 [test-cplusplus] Simplify
Behdad Esfahbod 55ca000b 2025-03-07T18:17:37 [fontations] Re-enable check-symbols test Now that we build with lto, not many extra symbols are exported. Ignore them.
Behdad Esfahbod a6d295fa 2025-03-05T18:00:13 [fontations] Disable symbol check Since all of rust crates become public symbols. Sigh.
Khaled Hosny 7871ee5b 2025-03-04T15:04:26 [fontations/meson] Use link_whole instead of link_with Instead of passing `--whole-archive` manually to the linker which has a different name on macOS linker.
Behdad Esfahbod 9d754188 2025-03-04T03:55:09 [meson] Fix unintended change to coretext
Behdad Esfahbod 9439e1fd 2025-03-04T03:43:10 [fontations] Links finally
Behdad Esfahbod 395270e4 2025-03-04T02:28:51 [fontations] Try folding into libharfbuzz
Behdad Esfahbod 2a06b85d 2025-03-04T02:10:21 [fontations] Try using an intermediate library Still doesn't link.
Behdad Esfahbod f28daba5 2025-03-04T01:36:21 [fontations] I don't know...
Behdad Esfahbod 161b20f3 2025-03-04T01:17:53 Try building with cargo
Behdad Esfahbod 26da19f6 2025-03-03T23:36:33 Kinda builds now with bindgen Requires nightly.
Behdad Esfahbod 3ba4266d 2025-03-03T23:02:45 [fontations] bindgen hb.rs
Behdad Esfahbod 2abe54fc 2025-03-03T21:58:48 Almost works!
Behdad Esfahbod ad8e4a29 2025-03-03T21:13:05 [fontations] Start building a libharfbuzz-fontations
Behdad Esfahbod d5faabe7 2025-02-16T09:47:58 [decycler] Add test
Behdad Esfahbod 0aa400b1 2025-02-15T23:19:44 [decycler] Implement an efficient graph cycle detector This is an algorithm I came up with, based on the Floyd's Tortoise-Hare constant-memory linear-time linked-list cycle-detection algorithm. https://en.wikipedia.org/wiki/Cycle_detection#Floyd's_tortoise_and_hare It is linear-time and malloc-free. It *eventually* detects cycles, not immediately. The main different with Floyd's algorithm is that this algorithm detects cycles when one is traversing down a graph, not just a linked list. Our existing cycle-detection algorithms use a set-of-integers, either hb_set_t, or more efficient in this case, hb_map_t. Those include at least one malloc, and as such show up on profiles. Port hb-ot-font COLRv1 to use the decycler instead of previous hb_map_t usage for cycle detection. benchmark-font paint_glyph on NotoColorEmoji-Regular.ttf: Before: 8ms; After: 5.5ms. No cycle detection: 5.5ms. FT COLRv1 API is so slow (174ms) it's not worth porting to this. Other graphs (VARC, etc) to be ported. Test and documentation to be added.
Garret Rieger 05650416 2025-01-07T19:56:25 [repacker] rename hb-subset-repacker -> hb-subset-serialize. Also hb_link_t and hb_object_t to hb_subset_serialize_link_t and hb_subset_serialize_object_t.
Luca Ebach 780aaca8 2024-11-27T16:12:51 set harfbuzz version in cmake config file
Behdad Esfahbod 8a805271 2024-10-10T12:56:31 [coretext] Start implementing CoreText font-funcs Does nominal glyph mapping, horiz advances, and draw so far.
Behdad Esfahbod 064b2417 2024-10-09T15:12:59 [coretext] Rename hb-coretext.cc to hb-coretext-shape.cc
chitao1234 700ef11c 2024-08-23T11:29:34 [meson] Add back with_libstdcxx build option Building harfbuzz when targeting Android API<=20 would need libstdc++ due to lack of uselocale and freelocale in C library but present in libstdc++. This reverts commit 0151da23d605c7709d432ebfb17a337a5f662839.
Behdad Esfahbod 0037ee28 2024-05-24T08:10:15 Merge pull request #4578 from harfbuzz/varc-table `VARC` table
David Corbett bba0c0e2 2024-05-11T23:15:35 Add test-cff.cc
Behdad Esfahbod fb333ce4 2024-03-16T12:24:02 [varc] Move some code to VARC.cc
Behdad Esfahbod 745ff05a 2024-03-16T11:11:30 [varc] Add coord-setter Copied from glyf.
Behdad Esfahbod c6ae8d58 2024-03-15T21:17:29 Add hb-geometry.hh
Behdad Esfahbod 0d6f77e6 2024-03-15T18:57:07 [varc] Add table
L. E. Segovia 6864769c 2024-02-25T13:46:05 [meson] Block uses of hb-static throughout Microsoft compilers PE-COFF cannot export extern, non-dllexport symbols.
Qunxin Liu f072de93 2024-01-30T10:31:14 [instancer] move iup code to a seprate file
Boris Dalstein 32ee89dd 2023-11-10T13:48:24 [cmake] Fix double dots in CMake library location on macOS
Qunxin Liu c2f42fbb 2023-11-06T11:49:11 fix meson compiled_tests
Duncan Overbruck b8121ccb 2023-09-21T15:41:09 [meson] keep asserts in test programs
Behdad Esfahbod 005582e0 2023-09-20T09:10:10 Merge pull request #4370 from 2xsaiko/outgoing/cmake-now-for-real Re-do and clean up CMake support, making it use relocatable paths
Marco Rebhan da9b8389 2023-08-08T14:33:03 Re-do and clean up CMake support, making it use relocatable paths Closes #4025.
Marco Rebhan b5a1c2b4 2023-08-07T01:55:10 Revert "Pass through absolute paths to cmake config directly" This reverts commit db292f6f0238581a489aa8cddc585129b6e920cd.
Qunxin Liu c330c291 2023-09-18T12:14:21 [instancer] add a unit testcase for instantiating item variations
L. E. Segovia 15bc9e34 2023-08-31T23:37:08 [meson] Detect Microsoft compilers through _MSC_FULL_VER Microsoft ships three compilers nowadays: MSVC, clang-cl, and Clang. The latter is always skipped by `compiler.get_argument_syntax()`, which leads to the incorrect export macro being applied. This commit also removes the tests that are affected in Microsoft Clang.
أحمد المحمودي 43d0aff6 2023-07-04T09:22:53 [introspection] Pass both libharfbuzz_gobject & libharfbuzz as positional parameters Fixes #4304
Behdad Esfahbod ad025ddf 2023-06-22T20:09:36 [subset-cff] Simplify a bit
Qunxin Liu 9fd36766 2023-06-08T12:27:36 [instancer] add testing code for change_tuple_variation_axis_limits() Also fixed a small bug
Qunxin Liu 01f9b797 2023-06-05T17:26:20 address review comments
Qunxin Liu ed6bee20 2023-06-05T14:03:22 [instancer] add a test for decompile cvar tuple variations data
Behdad Esfahbod ccfd7ef0 2023-05-17T16:00:33 Merge pull request #4131 from harfbuzz/wasm [wasm] WebAssembly shaper
Qunxin Liu f37941bb 2023-05-09T11:53:15 [instancer] add tests for instancer-solver from python test suite Also fix bug in the solver code
Qunxin Liu 22cca43d 2023-04-20T14:37:29 [instancer ]update internal hashmap to use Triple instead of single value -Added hb-subset-instancer-solver.hh file and moved Triple struct to the head file
Behdad Esfahbod 5468b08c 2023-05-05T15:49:38 [subset-plan] Move all object members to a new file To automatically check for their errors.
Behdad Esfahbod 4f537df6 2023-02-25T15:29:35 [wasm] Disable check-libstdc++ test Since libiwasm.so links to it.
Behdad Esfahbod f95c2cc6 2023-02-25T11:10:28 [wasm] Infra for iwasm llvm build
Behdad Esfahbod c5af08c0 2023-02-24T15:57:10 [wasm] Add to harfbuzz.cc and hb-features
Behdad Esfahbod ec3270c7 2023-02-24T13:31:10 [wasm-graphite] Ensure native direction here too Binds buffer_get_script and script_get_horizontal_direction.
Behdad Esfahbod 2bde2f66 2023-02-24T11:03:13 [wasm-api] Bind shape_with
Behdad Esfahbod cbd5c554 2023-02-23T14:54:46 [wasm-api] Add blob_free
Behdad Esfahbod 5cecfe86 2023-02-23T13:58:40 [wasm-api] Bind buffer_copy_contents
Behdad Esfahbod 42d121ae 2023-02-23T11:05:19 [wasm] Add hb-wasm-api.cc
Behdad Esfahbod fcc8be40 2023-02-22T12:57:19 [wasm] Add meson build option Autotools support missing.
Behdad Esfahbod 425fc7f3 2023-02-22T12:19:06 [wasm] Add wasm shaper skeleton
Behdad Esfahbod 69183217 2023-03-07T20:56:56 Add test-gsub-get-alternates.cc
Qunxin Liu 8b0c7b95 2023-02-10T09:49:09 [instance] Add struct definition for cvar table Also add functions to add cvt tables with cvar deltas applied
Khaled Hosny 552f0714 2023-02-13T09:21:05 [meson] Fix test failure with experimental_api Pass --experimental-api to all gen-def.py when generating all .def files, not only harfbuzz.def. Fixes https://github.com/harfbuzz/harfbuzz/issues/4117
Behdad Esfahbod ae522a13 2023-02-01T16:24:44 [embolden] Rename to hb-outline
Matthias Clasen e25e4c9a 2023-01-28T00:10:47 Move GDEF table to src/OT/Layout/GDEF
Matthias Clasen f89fa6dc 2023-01-27T23:54:34 Move name table to src/OT/name
Behdad Esfahbod 223abd72 2023-01-25T11:36:47 [subset] Add unfinished port of fonttools instancer solver
Behdad Esfahbod 328ee9b4 2023-01-23T21:06:27 [hb-buffer-deserialize-text-unicodes] Rename
Behdad Esfahbod 2c29b81e 2023-01-23T20:49:19 [buffer-deserialize-text] Separate glyphs / unicodes machines
Khaled Hosny 699485b3 2023-01-24T00:07:45 [meson] Further simplify generating hb-features.h
Khaled Hosny 2486d6d2 2023-01-23T23:57:16 [meson] Reduce repetitions
Khaled Hosny 12f2ecbd 2023-01-23T23:41:11 [doc] Generate hb-supported-features.h See inline comment.
Khaled Hosny 1cf61f30 2023-01-23T13:43:35 [meson] Fix build with -Dgobject=disabled
Behdad Esfahbod def94aa8 2023-01-22T14:01:34 [features] Add HB_HAS_GOBJECT
Behdad Esfahbod 8b12c195 2023-01-05T11:42:21 [face] Split hb-face-builder.cc
Matthias Clasen 4adc748b 2023-01-01T09:46:11 Move Color tables to src/OT/Color/
Matthias Clasen dc5179d4 2023-01-01T09:23:07 Drop hb-ot-color-colr-table.cc Move everything into the .hh file.
Khaled Hosny 27684f14 2023-01-01T00:41:55 [introspection] Skip sources not usable with GObject Introspection There is no point in generating GIR for code interfacing with libraries without introspection integration. This fixes spurious warnings on macOS when g-ir-scanner mistakenly tries to scan system headers.
Matthias Clasen ef20b5e6 2022-12-28T08:51:27 Typo fix
Matthias Clasen d18903e4 2022-12-27T09:25:05 Add def files for libharfbuzz-cairo
Behdad Esfahbod c4f7563f 2022-12-25T19:40:44 [cairo] Fix build
Matthias Clasen 2e897cc9 2022-12-25T20:03:59 Add a pc file for harfbuzz-cairo
Matthias Clasen 30664550 2022-12-25T19:03:50 Work on proper build integration Install hb-cairo.h and define HB_HAS_CAIRO.
Behdad Esfahbod 1ad24421 2022-12-25T15:55:14 [hb-cairo] Rename files to C++
Matthias Clasen 767bdd43 2022-12-25T10:32:33 wip: Add libharfbuzz-cairo This library will provide integration with cairo for font rendering.
Behdad Esfahbod ae208963 2022-12-26T12:30:39 Add hb-limits.hh
Behdad Esfahbod 11036ed7 2022-12-24T11:30:45 [paint] Add hb-paint-extents.cc
Behdad Esfahbod 268d8b7d 2022-12-23T14:45:56 [paint-extents] Start out
Behdad Esfahbod e2546f5a 2022-12-22T15:50:43 [ft] Add hb-ft-colr.hh
Matthias Clasen 8377341b 2022-12-14T22:03:52 wip: implement paint_glyph
Matthias Clasen 83d0a49f 2022-12-13T21:14:25 wip: hb-paint
Nirbheek Chauhan 7be06f63 2022-12-18T07:10:32 meson: Override dependencies to improve usage as a subproject With this change, harfbuzz can be consumed as a subproject without making any changes to the build files of a project. All you need to do is provide a wrap file with a `[provide]` section: https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section This is also necessary because otherwise projects need to hard-code the subproject name, which might be `harfbuzz` when using `wrap-git` or `harfbuzz-6.0.0` when using `wrap-file` (to build from a release tarball). This can cause conflicts between different subprojects that consume harfbuzz differently. Other projects like glib, cairo, pango, etc already do this.
Behdad Esfahbod 2c0abf02 2022-12-04T15:03:36 Revert "[harfbuzz-subset.cc] Trim down!" This reverts commit a335458d5776135f8672bfc98681b8862f657d5c. While this can be vastly trimmed down, what I did is not right. It still depends on hb-face, hb-font, hb-blob, hb-set, and hb-map.
Behdad Esfahbod a335458d 2022-12-04T14:56:20 [harfbuzz-subset.cc] Trim down!
Behdad Esfahbod 9704f835 2022-12-04T13:58:52 Merge branch 'config-header'
Behdad Esfahbod 10c8fc55 2022-12-02T15:34:34 [multimap] Add a multimap datastructure
Matthias Clasen c6d616cc 2022-10-17T22:41:51 Generate and install hb-features.h This header has defines for all the optional dependendencies that come with their own Harfbuzz headers, so you can do: #include <hb-features.h> #ifdef HB_HAS_DIRECTWRITE #include <hb-directwrite.h> #endif