Commit Graph
20650 Commits
Author SHA1 Message Date
Behdad Esfahbod b3d45db4c1 Merge branch 'main' into HVF 2025-03-17 09:06:58 -06:00
Behdad Esfahbod f9aabf7062 Merge pull request #5156 from harfbuzz/coretext-variations-always
[coretext] Always set all variation axes
2025-03-17 09:02:41 -06:00
Behdad Esfahbod 38db0f4c12 [coretext] Always set all variation axes 2025-03-17 08:51:39 -06:00
Behdad Esfahbod cf29d9fe58 Merge branch 'main' into HVF 2025-03-16 21:13:28 -06:00
Behdad Esfahbod 6ccfadb911 Merge pull request #5153 from harfbuzz/coretext-variations
[coretext] Always set all variations
2025-03-16 21:12:14 -06:00
Behdad Esfahbod 422ffff15c [coretext] Always set all variations
Even when at default, looks like this is necessary.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5142
2025-03-16 21:03:46 -06:00
Behdad Esfahbod bd2bf3536c Merge pull request #5152 from harfbuzz/fix-trak-finding
[trak] Fix track finding logic
2025-03-16 17:30:57 -06:00
Behdad Esfahbod a9a3fd33a2 [trak] Fix track finding logic 2025-03-16 17:10:19 -06:00
Behdad Esfahbod b1258cdd92 Merge branch 'main' into HVF 2025-03-16 16:22:52 -06:00
Behdad Esfahbod 0a991cc543 Merge pull request #5151 from harfbuzz/slant-extents
[font] Move synthetic glyph extents into font layer
2025-03-16 11:46:44 -06:00
Behdad Esfahbod 14e5a046c8 [font] Move synthetic glyph extents into font layer
So it applies to all font-funcs.
2025-03-16 01:02:55 -06:00
Behdad Esfahbod a95a500d3d Merge pull request #5149 from harfbuzz/dwrite-fontfuncs
[directwrite] Add fontfuncs

Fixes #5143.
2025-03-15 21:27:17 -06:00
Behdad Esfahbod 8d8fe19099 [dwrite] Add font-funcs sketch
Small steps.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5144
2025-03-15 21:03:30 -06:00
Behdad Esfahbod 08781f6f7d [dwrite] Set face index / glyph_count on hb-face 2025-03-15 20:05:01 -06:00
Behdad Esfahbod 93f8cbf4fa [meson] Add missing .hh files to sources
Manually checked with find and grep...
2025-03-15 19:23:52 -06:00
Behdad Esfahbod 6958064c7f Merge pull request #5148 from harfbuzz/paint-font-transform
[paint] Add push_font_transform() / push_inverse_font_transform()
2025-03-15 18:45:00 -06:00
Behdad Esfahbod 000a0ad7a6 [paint] Add push_font_transform() / push_inverse_font_transform()
Fixes https://github.com/harfbuzz/harfbuzz/issues/5146
2025-03-15 18:35:32 -06:00
Behdad Esfahbod e6519fcb2b Merge pull request #5147 from harfbuzz/dwrite2
[dwrite] More work
2025-03-15 14:27:04 -06:00
Behdad Esfahbod e1d395f4b5 [dwrite] Minor cleanup 2025-03-15 14:13:02 -06:00
Behdad Esfahbod db8d099d4d [dwrite] Split shape code into its own file 2025-03-15 13:59:16 -06:00
Behdad Esfahbod 13849d4205 [dwrite] More cleanup 2025-03-15 13:25:49 -06:00
Behdad Esfahbod e9d5ecca1d [directwrite] Simplify more 2025-03-15 13:15:03 -06:00
Behdad Esfahbod d2b722803f [directwrite] Rely on more reference-counting for lifetime 2025-03-15 12:55:27 -06:00
Behdad Esfahbod 41d722c3d2 [directwrite] Remove unused member 2025-03-15 12:52:24 -06:00
Behdad Esfahbod 9d6e24a1d2 [draw] Fix build 2025-03-14 22:32:17 -06:00
Behdad Esfahbod c1ed463195 [fontations] rustfmt 2025-03-14 22:14:28 -06:00
Behdad Esfahbod bd05b260af [draw] Document slant_xy 2025-03-14 22:10:29 -06:00
Behdad Esfahbod da4758e791 [draw] Apply synthetic slant to hb_draw_move_to() etc
Makes fontations draw slanted as well.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5145
2025-03-14 22:07:45 -06:00
Behdad Esfahbod b3a293813a [directwrite] Minor cleanup 2025-03-14 17:26:33 -06:00
Behdad Esfahbod bda5b832b0 [directwrite] Mutex for font registration 2025-03-14 03:40:15 -06:00
Behdad Esfahbod 09d983258b [directwrite] Rename a function 2025-03-14 03:13:32 -06:00
Behdad Esfahbod d441b4cbc7 Merge pull request #5140 from harfbuzz/directwrite-loader
[directwrite] Add hb_directwrite_face_create_from_blob_or_fail()
2025-03-14 03:05:26 -06:00
Behdad Esfahbod e92cd9f769 [directwrite] Massage more
I think this is it!
2025-03-14 02:46:11 -06:00
Behdad Esfahbod 1e9d101ed7 [directwrite] Add hb_directwrite_face_create_from_file_or_fail()
Just loads the blob from file and creates a face from it.

New API:
+hb_directwrite_face_create_from_file_or_fail()
2025-03-14 02:14:23 -06:00
Behdad Esfahbod c73b54bcca [directwrite] Massage more 2025-03-14 02:09:01 -06:00
Behdad Esfahbod db93dbb286 [directwrite] More cleanup 2025-03-14 01:50:08 -06:00
Behdad Esfahbod 9e5a767855 [directwrite] Add singleton dwrite_dll 2025-03-14 01:22:05 -06:00
Behdad Esfahbod 64716226d2 [directwrite] Shuffle code around 2025-03-14 01:13:04 -06:00
Behdad Esfahbod 27fc376fe9 [directwrite] Addd lifecycle management to a few of objects 2025-03-13 18:27:59 -06:00
Behdad Esfahbod aacaa8bba3 [directwrite] Flip loader & stream around 2025-03-13 17:18:31 -06:00
Behdad Esfahbod 2502d0b698 [directwrite] Use blob directly in the interface 2025-03-13 17:00:50 -06:00
Behdad Esfahbod d0fef9a1fc [directwrite] Don't release the library
It crashes. Going to fix it to use a singleton, but for now
just not crash.
2025-03-13 16:56:47 -06:00
Behdad Esfahbod ad3225c648 [direcwrite] Make blob immutable 2025-03-13 16:30:09 -06:00
Behdad Esfahbod 00360049e3 [directwrite] Handle failures in new API
Still crashes...
2025-03-13 16:22:45 -06:00
Behdad Esfahbod f6744c2c73 [ci] Add pkg-config to win cross-compiling environment 2025-03-13 15:55:57 -06:00
Behdad Esfahbod 379688c566 [test-face] Relax on face load failure 2025-03-13 14:47:34 -06:00
Behdad Esfahbod 344915c9ea [face] Hook up directwrite face loader 2025-03-13 14:30:56 -06:00
Behdad Esfahbod b0a5920d1a [directwrite] Add hb_directwrite_face_create_from_blob_or_fail()
Part of https://github.com/harfbuzz/harfbuzz/issues/5082

New API:
+hb_directwrite_face_create_from_blob_or_fail()
2025-03-13 14:27:37 -06:00
Behdad Esfahbod 8ee204e23f Merge branch 'main' into HVF 2025-03-13 14:16:59 -06:00
Behdad Esfahbod 7e4698abe2 [coretext] Move more code around 2025-03-13 14:16:08 -06:00