src


Log

Author Commit Date CI Message
Khaled Hosny b8b56c4a 2025-03-07T14:30:23 [directwrite] Add comment [ci skip]
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
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 e8bed99b 2025-03-06T22:24:52 Banish static lifetimes
Simon Cozens cda4b56b 2025-03-06T22:25:07 "where" not needed for trait impl
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
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 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 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
Khaled Hosny 3ce6b720 2025-03-06T04:09:49 [fontations] slice::from_raw_parts requires the pointer to be non-null
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
Behdad Esfahbod d19e45a1 2025-03-04T15:25:29 [fontations] Support buildtype debugoptimized really
Behdad Esfahbod a6d295fa 2025-03-05T18:00:13 [fontations] Disable symbol check Since all of rust crates become public symbols. Sigh.
Behdad Esfahbod 51c68eb2 2025-03-04T15:15:11 [fontations] Cache charmap
Behdad Esfahbod f400d8b3 2025-03-04T14:54:11 [fontations] Pass meson buildtype to cargo
Khaled Hosny 6b035cd7 2025-03-06T02:57:11 [fontations] Make check-header-guards happy
Behdad Esfahbod 1705723d 2025-03-04T14:50:50 [fontations] Cache static fontfuncs object
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
Behdad Esfahbod afe1af8f 2025-03-04T05:18:43 [fontations] Implement get_nominal_glyphs() Shapes now.
Behdad Esfahbod 91f4a67d 2025-03-05T17:45:50 [fontations] Fix translucent foreground colors
Behdad Esfahbod e801e484 2025-03-04T04:54:13 [fontations] Remove get_glyph_h_advance()
Behdad Esfahbod 1390da5d 2025-03-04T04:53:41 [fontations] Implement get_glyph_h_advances()
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 94a6cfba 2025-03-04T04:45:07 [fontations] Working get_glyph_advance()
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 71accd5e 2025-03-04T03:58:28 [fontations] Hide one symbol How do I hide the other internal extern "C" symbols?
Behdad Esfahbod dedc05c2 2025-03-05T17:18:41 [paint] Fix typo in radial-gradients!
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 9b4eaff8 2025-03-05T11:28:57 [fontations] Fix palette handling What a pain...
Behdad Esfahbod 6cac2a1a 2025-03-04T02:43:11 [fontations] Ouch
Behdad Esfahbod 395270e4 2025-03-04T02:28:51 [fontations] Try folding into libharfbuzz
Behdad Esfahbod 3a699c37 2025-03-05T10:48:48 [fontations] Fix anchor unreduction
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 b5ad6de8 2025-03-05T01:58:47 [fontations] Unreduce LinearGradient anchors Oh well...
Behdad Esfahbod 161b20f3 2025-03-04T01:17:53 Try building with cargo
Behdad Esfahbod a2d9c29b 2025-03-05T01:48:40 [fontations] Comment
Behdad Esfahbod e1c93442 2025-03-03T23:55:42 [fontations] More experiments
Behdad Esfahbod db6431f1 2025-03-03T23:43:28 [fontations] Fix a warning
Behdad Esfahbod b5a04a96 2025-03-05T01:15:54 [fontations] Fix sweep gradients
Behdad Esfahbod 26da19f6 2025-03-03T23:36:33 Kinda builds now with bindgen Requires nightly.
Behdad Esfahbod e10e5c37 2025-03-05T00:39:55 [fontations] Implement sweep gradients Untested. Also, radial gradients seem faulty.
Behdad Esfahbod 3ba4266d 2025-03-03T23:02:45 [fontations] bindgen hb.rs
Behdad Esfahbod 865d75ef 2025-03-05T00:35:21 [fontations] Implement radial gradients
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 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.
Behdad Esfahbod 6e472748 2025-03-04T19:23:24 [fontations] Set Location only if non-zero
Behdad Esfahbod 024e9356 2025-03-04T19:20:27 [fontations] Use a slice
Behdad Esfahbod 3f57f76e 2025-03-04T19:12:37 [fontations] Cache OutlineGlyphCollection As advised by Chad. Speeds up drawing benchmark 2x.
Behdad Esfahbod c4932fa5 2025-03-04T18:51:10 [fontations] Fix life-cycle double-free
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
Patrik Weiskircher ca3cd48f 2025-03-04T09:29:22 Fix memory leak in hb_coretext_get_glyph_name
Behdad Esfahbod 50fe45f4 2025-03-03T16:31:41 [COLR] Fix memory leak
Behdad Esfahbod 9c6b6998 2025-03-03T11:46:22 [VARC] Fix sign of returned extents
Behdad Esfahbod e9134c8c 2025-03-03T02:04:34 [COLR] Reduce malloc pressure By caching paint-extents.
Behdad Esfahbod 9efd17e2 2025-03-03T01:44:01 [COLR] Switch to using (existing) accelerator
Behdad Esfahbod 17ddc844 2025-03-03T01:27:32 [VARC] Fix scratch caching
Behdad Esfahbod a62058ee 2025-03-03T01:19:52 [VARC] Separate varc scratch from glyf scratch
Behdad Esfahbod 3199d1c1 2025-03-02T18:35:46 [VARC] Use a context object to pass arguments around
Behdad Esfahbod e0c6c980 2025-03-02T13:32:54 [VARC] Implement get_extents() Fixes https://github.com/harfbuzz/harfbuzz/issues/5007
Behdad Esfahbod d1826ca6 2025-03-02T15:45:35 [TupleValues] Fix regression Introduced in 043980a60eb2fe93dd65b8c2f5eaa021fd8653f2
Behdad Esfahbod d9628a56 2025-03-02T12:55:23 [MultiVarData] Micro-optimize
Behdad Esfahbod c81b1c43 2025-03-02T12:42:36 [MultiVarData] Remove a likely