Log

Author Commit Date CI Message
Behdad Esfahbod e27e7f1c 2025-03-07T14:01:57 [perf] README minor
Behdad Esfahbod 460a8225 2025-03-07T13:33:08 [perf] Improve README
Behdad Esfahbod 575e70b0 2025-03-07T12:51:44 [COLR] Use palette 0 if palette index out of range Fixes https://github.com/harfbuzz/harfbuzz/issues/5112
Matthias Clasen 41e14f70 2025-03-07T08:00:34 [test-paint] Use latest test fonts Update the color test fonts from https://github.com/googlefonts/color-fonts/ repository and update the test results.
Khaled Hosny b8b56c4a 2025-03-07T14:30:23 [directwrite] Add comment [ci skip]
Khaled Hosny a3566030 2025-03-07T14:07:13 [directwrite/test] Add test that actually works Apparently DirectWrite does not allow disabling calt in Arabic, so test liga in Latin and ss01 in Arabic.
Khaled Hosny 9abaf193 2025-03-07T02:53:43 [directwrite] Fix applying features to directwrite shaper The range_features was ending up with random data because hb_ms_make_feature_ranges() keeps pointers to data allocated in feature_records and range_records, but that data was getting freed before range_features was used. Change the variable scope to avoid freeing the data too early. Fixes https://github.com/harfbuzz/harfbuzz/issues/5113
Behdad Esfahbod fe8a3972 2025-03-06T23:52:08 [fontations] Speed up glyph_extents if x_scale == y_scale
Behdad Esfahbod abc46827 2025-03-06T23:50:05 [fontations] Cache GlyphMetrics objects
Behdad Esfahbod 6506bd7e 2025-03-06T20:00:54 Merge pull request #4498 from harfbuzz/PaintColrLayers [COLRv1] Optimize PaintColrLayers instead of PaintComposite
Matthias Clasen 9fbc2d23 2025-03-06T20:11:23 [test-paint] Regenerate the test output This commit updates the expected output of the paint tests to what the current code produces.
Matthias Clasen 0ce90f60 2025-03-06T20:10:13 [test-paint] Make it easier to regenerate test output This command will regenerate the expected output for all the paint tests: GENERATE_DATA=1 G_TEST_SRCDIR=./test/api ./build/test/api/test-paint
Behdad Esfahbod bf55e332 2025-03-06T17:38:50 [ft-colr] Protect against out-of-bounds color indices
Behdad Esfahbod 8685653c 2025-03-06T17:28:09 [ft-colr] Fix crash if palette index is out-of-range
Behdad Esfahbod ad9fa13d 2025-03-06T17:25:56 [fontations] Render nothing if palette index out of range Matches ot. Ft crashes currently.
Behdad Esfahbod cd45a7f5 2025-03-06T16:11:01 [fontations] Add a constructor
Behdad Esfahbod 44705c1a 2025-03-06T15:34:27 [fontations] Fix clippy target To build in the build dir
Simon Cozens cda4b56b 2025-03-06T22:25:07 "where" not needed for trait impl
Simon Cozens e8bed99b 2025-03-06T22:24:52 Banish static lifetimes
Behdad Esfahbod 1147c0e1 2025-03-06T14:57:06 [fontations] Clean up data passing
Behdad Esfahbod ad0bcec3 2025-03-06T14:51:06 [cairo] More printf removal
Behdad Esfahbod 0d70cfac 2025-03-06T14:50:39 Revert accidental changes
Behdad Esfahbod 77a319da 2025-03-06T14:48:51 [fontations] Fix color-line extend fetching This fixes the last bug I know.
Garret Rieger fc8334d9 2025-03-06T20:14:03 Final cleanups.
Garret Rieger a20138dc 2025-03-06T19:56:34 More cleanups
Garret Rieger f379505d 2025-03-06T19:41:39 Add struct_at/struct_at_mut helpers for accessing c arrays.
Khaled Hosny 123a0d68 2025-03-06T22:07:17 Use gnu_printf format annotation under MingW with GCC only Fixes https://github.com/harfbuzz/harfbuzz/issues/5106
Khaled Hosny 462a5489 2025-03-06T18:12:23 [ci] Use newer Ubuntu release for cross compilation Cairo sets -D_FORTIFY_SOURCE when building with optimizations, but it was broken in some MingW releases. Updating seems to fix it.
Khaled Hosny 39859398 2025-03-06T04:24:53 Reapply "[meson] Add buildtype=debugoptimize by default" This reverts commit 958e2c533118516d21c0ad1561e7fb000b8ea8f1.
Behdad Esfahbod 597a9343 2025-03-06T12:50:42 [fontations] Add target fmt for rustfmt
Behdad Esfahbod 4a3329da 2025-03-06T12:46:35 [fontations] Fix clippy rule
Behdad Esfahbod 4b035ae6 2025-03-06T12:44:49 Fix build
Behdad Esfahbod 34a919b9 2025-03-06T12:42:42 [fontations] Clippy
Behdad Esfahbod 54702783 2025-03-06T12:39:24 [fontations] Add clippy target
Behdad Esfahbod d9b1101d 2025-03-06T12:06:12 [fontations] Mark the whole public function unsafe
Behdad Esfahbod b5d2ec4f 2025-03-06T11:59:20 [fontations] clippy
Behdad Esfahbod 92af2e47 2025-03-06T11:33:22 [fontations] Do a bounds check
Behdad Esfahbod e054db4a 2025-03-04T18:43:19 [fontations] Hook up to benchmark-font
Behdad Esfahbod ea5a14f7 2025-03-04T18:31:19 [fontations] Implement draw_glyph
Behdad Esfahbod 87c62f4e 2025-03-04T18:08:56 [fontations] Boilerplate for draw_glyph
Behdad Esfahbod bc2851b4 2025-03-04T17:45:00 [fontations] Implement font_h_extents
Behdad Esfahbod b9a4d148 2025-03-04T17:30:57 [fontations] Implement get_glyph_extents
Behdad Esfahbod f2e5955e 2025-03-04T17:21:04 [fontations] Cache a x_size and y_size
Behdad Esfahbod 166e6307 2025-03-04T17:03:15 [fontations] Implement get_variation_glyph
Behdad Esfahbod 83e85d2a 2025-03-04T16:38:17 [fontations] rustfmt
Behdad Esfahbod 156b7732 2025-03-04T16:32:03 [fontations] Don't derive Copy et al since our types are not
Behdad Esfahbod 74bd99e4 2025-03-04T16:11:08 [fontations] Set font variations
Behdad Esfahbod 7a65fdca 2025-03-04T15:54:45 [fontations] Cache location
Behdad Esfahbod c969c2de 2025-03-04T15:52:48 [fontations] Cache Size
Khaled Hosny 3ce6b720 2025-03-06T04:09:49 [fontations] slice::from_raw_parts requires the pointer to be non-null
Behdad Esfahbod d19e45a1 2025-03-04T15:25:29 [fontations] Support buildtype debugoptimized really
Behdad Esfahbod 51c68eb2 2025-03-04T15:15:11 [fontations] Cache charmap
Khaled Hosny aecc9110 2025-03-06T03:51:57 [fontations/test] Add to test-draw
Behdad Esfahbod f400d8b3 2025-03-04T14:54:11 [fontations] Pass meson buildtype to cargo
Behdad Esfahbod 1705723d 2025-03-04T14:50:50 [fontations] Cache static fontfuncs object
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.
Khaled Hosny c6d2e9e8 2025-03-04T14:43:10 [fontations/doc] Add section
Khaled Hosny 6b035cd7 2025-03-06T02:57:11 [fontations] Make check-header-guards happy
Behdad Esfahbod afe1af8f 2025-03-04T05:18:43 [fontations] Implement get_nominal_glyphs() Shapes now.
Behdad Esfahbod e801e484 2025-03-04T04:54:13 [fontations] Remove get_glyph_h_advance()
Khaled Hosny 83e58980 2025-03-06T02:49:49 [fontations/ci] Fix package name
Behdad Esfahbod 1390da5d 2025-03-04T04:53:41 [fontations] Implement get_glyph_h_advances()
Behdad Esfahbod 94a6cfba 2025-03-04T04:45:07 [fontations] Working get_glyph_advance()
Behdad Esfahbod 91f4a67d 2025-03-05T17:45:50 [fontations] Fix translucent foreground colors
Behdad Esfahbod 77b20cf7 2025-03-04T04:01:43 Update src/hb-fontations.h Co-authored-by: Khaled Hosny <khaled@aliftype.com>
Behdad Esfahbod 0113c86a 2025-03-04T04:01:03 [fontations] Hide internal symbols
Behdad Esfahbod 43e82682 2025-03-05T17:40:46 [cairo] Fix infinite loop in sweep-gradient code Tested with U+F1314 from var font from: https://github.com/googlefonts/color-fonts/blob/main/glyph_descriptions.md
Behdad Esfahbod 71accd5e 2025-03-04T03:58:28 [fontations] Hide one symbol How do I hide the other internal extern "C" symbols?
Behdad Esfahbod 9d754188 2025-03-04T03:55:09 [meson] Fix unintended change to coretext
Khaled Hosny 2c11c9db 2025-03-06T02:35:49 [ci] Give fontations a try
Behdad Esfahbod 9439e1fd 2025-03-04T03:43:10 [fontations] Links finally
Behdad Esfahbod 6cac2a1a 2025-03-04T02:43:11 [fontations] Ouch
Behdad Esfahbod dedc05c2 2025-03-05T17:18:41 [paint] Fix typo in radial-gradients!
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 9b4eaff8 2025-03-05T11:28:57 [fontations] Fix palette handling What a pain...
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 3a699c37 2025-03-05T10:48:48 [fontations] Fix anchor unreduction
Behdad Esfahbod e806c9ae 2025-03-03T23:56:35 [fontations] Only require rust if building with fontations
Behdad Esfahbod e1c93442 2025-03-03T23:55:42 [fontations] More experiments
Behdad Esfahbod b5ad6de8 2025-03-05T01:58:47 [fontations] Unreduce LinearGradient anchors Oh well...
Behdad Esfahbod db6431f1 2025-03-03T23:43:28 [fontations] Fix a warning
Behdad Esfahbod bed809bc 2025-03-03T23:41:09 [fontations] Add to docs Module itself undocumented so far.
Behdad Esfahbod a2d9c29b 2025-03-05T01:48:40 [fontations] Comment
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 b5a04a96 2025-03-05T01:15:54 [fontations] Fix sweep gradients
Behdad Esfahbod f9b47061 2025-03-03T22:34:25 [fontations] Use as dependency, not library Since it's optional.
Behdad Esfahbod 2abe54fc 2025-03-03T21:58:48 Almost works!
Behdad Esfahbod e10e5c37 2025-03-05T00:39:55 [fontations] Implement sweep gradients Untested. Also, radial gradients seem faulty.
Behdad Esfahbod ad8e4a29 2025-03-03T21:13:05 [fontations] Start building a libharfbuzz-fontations
Behdad Esfahbod 865d75ef 2025-03-05T00:35:21 [fontations] Implement radial gradients
Behdad Esfahbod d72968ef 2025-03-05T00:31:55 [fontations] Refactor make_color_line
Behdad Esfahbod 4b1f655a 2025-03-04T23:56:01 [fontations] Implement LinearGradients
Behdad Esfahbod 1a39f893 2025-03-04T22:29:22 [fontations] Implement solid paint
Behdad Esfahbod 5b27f328 2025-03-04T21:37:00 [fontations] Implement most of paint API
Behdad Esfahbod d069e790 2025-03-04T20:28:19 [fontations] Fix pointer unsafe play
Behdad Esfahbod dbc04d1c 2025-03-04T19:48:22 [fontations] Roll skrifa forward Remove the rest.