src


Log

Author Commit Date CI Message
Behdad Esfahbod 38db0f4c 2025-03-17T08:51:39 [coretext] Always set all variation axes
Behdad Esfahbod 422ffff1 2025-03-16T21:02:36 [coretext] Always set all variations Even when at default, looks like this is necessary. Fixes https://github.com/harfbuzz/harfbuzz/issues/5142
Behdad Esfahbod a9a3fd33 2025-03-16T17:10:19 [trak] Fix track finding logic
Behdad Esfahbod 14e5a046 2025-03-16T00:36:11 [font] Move synthetic glyph extents into font layer So it applies to all font-funcs.
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 08781f6f 2025-03-15T20:04:37 [dwrite] Set face index / glyph_count on hb-face
Behdad Esfahbod 93f8cbf4 2025-03-15T19:20:09 [meson] Add missing .hh files to sources Manually checked with find and grep...
Behdad Esfahbod 000a0ad7 2025-03-15T14:37:44 [paint] Add push_font_transform() / push_inverse_font_transform() Fixes https://github.com/harfbuzz/harfbuzz/issues/5146
Behdad Esfahbod e1d395f4 2025-03-15T14:13:02 [dwrite] Minor cleanup
Behdad Esfahbod db8d099d 2025-03-15T13:53:36 [dwrite] Split shape code into its own file
Behdad Esfahbod 13849d42 2025-03-15T13:25:49 [dwrite] More cleanup
Behdad Esfahbod e9d5ecca 2025-03-15T13:15:03 [directwrite] Simplify more
Behdad Esfahbod d2b72280 2025-03-15T12:55:27 [directwrite] Rely on more reference-counting for lifetime
Behdad Esfahbod 41d722c3 2025-03-15T12:52:24 [directwrite] Remove unused member
Behdad Esfahbod 9d6e24a1 2025-03-14T22:32:17 [draw] Fix build
Behdad Esfahbod c1ed4631 2025-03-14T22:14:28 [fontations] rustfmt
Behdad Esfahbod bd05b260 2025-03-14T22:10:29 [draw] Document slant_xy
Behdad Esfahbod da4758e7 2025-03-14T22:07:45 [draw] Apply synthetic slant to hb_draw_move_to() etc Makes fontations draw slanted as well. Fixes https://github.com/harfbuzz/harfbuzz/issues/5145
Behdad Esfahbod b3a29381 2025-03-14T17:26:33 [directwrite] Minor cleanup
Behdad Esfahbod bda5b832 2025-03-14T03:38:43 [directwrite] Mutex for font registration
Behdad Esfahbod 09d98325 2025-03-14T03:13:32 [directwrite] Rename a function
Behdad Esfahbod e92cd9f7 2025-03-14T02:32:35 [directwrite] Massage more I think this is it!
Behdad Esfahbod 1e9d101e 2025-03-14T02:13:32 [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()
Behdad Esfahbod c73b54bc 2025-03-14T02:05:45 [directwrite] Massage more
Behdad Esfahbod db93dbb2 2025-03-14T01:50:08 [directwrite] More cleanup
Behdad Esfahbod 9e5a7678 2025-03-14T01:22:05 [directwrite] Add singleton dwrite_dll
Behdad Esfahbod 64716226 2025-03-14T01:09:52 [directwrite] Shuffle code around
Behdad Esfahbod 27fc376f 2025-03-13T18:17:41 [directwrite] Addd lifecycle management to a few of objects
Behdad Esfahbod aacaa8bb 2025-03-13T17:14:47 [directwrite] Flip loader & stream around
Behdad Esfahbod 2502d0b6 2025-03-13T17:00:10 [directwrite] Use blob directly in the interface
Behdad Esfahbod d0fef9a1 2025-03-13T16:56:47 [directwrite] Don't release the library It crashes. Going to fix it to use a singleton, but for now just not crash.
Behdad Esfahbod ad3225c6 2025-03-13T16:30:09 [direcwrite] Make blob immutable
Behdad Esfahbod 00360049 2025-03-13T16:22:45 [directwrite] Handle failures in new API Still crashes...
Behdad Esfahbod 344915c9 2025-03-13T14:30:09 [face] Hook up directwrite face loader
Behdad Esfahbod b0a5920d 2025-03-13T14:27:37 [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()
Behdad Esfahbod 7e4698ab 2025-03-13T14:16:08 [coretext] Move more code around
Behdad Esfahbod 5f61ccf0 2025-03-13T13:22:28 [set] Fix reallocation Was shrinking malloced vectors inadverently.
Behdad Esfahbod c2f8066b 2025-03-13T11:40:53 [aat] Fix another malloc-fail crasher
Behdad Esfahbod b57d2a20 2025-03-13T11:19:48 [aat] Fix a leak
Behdad Esfahbod d6f5cbdd 2025-03-13T10:59:41 [aat] Fix a compiler warning
Behdad Esfahbod 64240602 2025-03-13T10:56:39 [aat] Fix memfail crash
Behdad Esfahbod 7b8ae3d0 2025-03-13T10:44:40 [kern/kerx] Make zero-malloc
Behdad Esfahbod 0f18838c 2025-03-13T08:52:19 [mort] Update with morx change
Behdad Esfahbod e5a01efd 2025-03-13T02:42:43 [aat] Put back one set of compiled map in the plan Use it if there's no user features. Reduces mallocs.
Behdad Esfahbod 7b48aa37 2025-03-13T00:41:13 [aat] Reduce mallocs Untested.
Behdad Esfahbod 792b9b93 2025-03-12T23:56:52 [bit-vector] Add a has()
Behdad Esfahbod 43d421d3 2025-03-12T23:36:09 [aat] Speed up deleted-glyph removal
Behdad Esfahbod aa233ece 2025-03-12T22:59:07 [bit-vector] Add a hb_bit_vector_t type Unused.
Behdad Esfahbod c38d5187 2025-03-12T22:39:33 [aat/kerx] Fix initial-glyph collection logic Test: $ hb-shape GeezaPro.ttc --unicodes U+064A,U+064E,U+0651,U+0629
Behdad Esfahbod 2449eb08 2025-03-12T21:03:24 [aat] Adjust filtering to match collect_glyphs()
Behdad Esfahbod 6388ce22 2025-03-12T20:58:06 [kerx] We don't need right_set in machine kerning
Behdad Esfahbod b861b541 2025-03-12T20:51:18 [kerx] Cosmetic
Behdad Esfahbod 7146e581 2025-03-12T20:11:30 [kerx] Remove redundant check
Behdad Esfahbod 41b396c6 2025-03-12T20:02:58 [kerx] Setup buffer glyphset
Behdad Esfahbod 83e0944f 2025-03-12T19:58:35 [kerx] Use a machine class cache Like in morx.
Behdad Esfahbod 02733ded 2025-03-12T19:44:07 [kerx] Skip machine subtables that don't intersect the buffer We do this extensively in morx. Do it here too. Still no machine class cache in kerx. Speeds up GeezaPro shaping Arabic text by 20%.
Behdad Esfahbod 45b2d28d 2025-03-12T19:18:12 Revert "[aat] Clear buffer glyph set" This reverts commit b1a9219ac5ad1c159aecd9b2e3ffbc942433ba6d. Was unnecessary. collect_codepoints() clears the set.
Behdad Esfahbod d76a23a3 2025-03-12T19:16:59 [aat] Micro-optimize
Behdad Esfahbod b1a9219a 2025-03-12T19:13:14 [aat] Clear buffer glyph set Should be clear already but no harm.
Behdad Esfahbod 54962b3f 2025-03-12T19:03:50 [morx] Consolidate a check
Behdad Esfahbod 4807a021 2025-03-12T18:27:27 [atomic] Kill hb_atomic_ptr_t<T> Use hb_atomic_t<T *> instead.
Behdad Esfahbod 829d1eda 2025-03-12T18:19:04 [atomic] Clean up atomic_ptr_t
Behdad Esfahbod a0d76c5b 2025-03-12T16:33:13 [atomic] Templatize
Behdad Esfahbod bdee8658 2025-03-12T17:13:48 [post] Fix a pointer type
Behdad Esfahbod fbb81e34 2025-03-12T00:52:12 [fontations] Adjust alignment requirement
Behdad Esfahbod 8d300049 2025-03-12T00:43:10 [fontations] Assert layout alignment
Behdad Esfahbod 05cfdb91 2025-03-12T00:08:42 [fontations] link_with instead of link_whole Now that the hb-fontations symbol is called from libharfbuzz, it gets pulled in properly.
Behdad Esfahbod 0b2a0bac 2025-03-11T23:04:11 Merge pull request #5130 from harfbuzz/malloc-rust [fontations] Make fontations use hb_malloc et al
Behdad Esfahbod 5bf81c37 2025-03-11T22:46:16 [common] Make hb_malloc() et al public New API: +hb_malloc() +hb_calloc() +hb_realloc() +hb_free()
Behdad Esfahbod f0a67e99 2025-03-11T20:37:30 [coretext] Split common code into hb-coretext.cc
Behdad Esfahbod d014efd0 2025-03-11T13:37:48 Merge pull request #5131 from harfbuzz/using2 Add hb_ft_face_create_from_blob_or_fail() et al
Behdad Esfahbod 759e1881 2025-03-11T12:12:08 [coretext] Fix loading TTC files
Behdad Esfahbod 15fcfcb6 2025-03-11T12:01:20 Merge pull request #5129 from harfbuzz/buffer-deserialize Fix buffer deserialize
Behdad Esfahbod 8e8a9f6f 2025-03-10T21:48:36 [face] Add hb_face_create_or_fail_using() Fixes https://github.com/harfbuzz/harfbuzz/issues/5117 Untested. New API: +hb_face_create_or_fail_using
Behdad Esfahbod cbc205c2 2025-03-10T21:41:54 [font/face] Refactor some code
Behdad Esfahbod b1c50eb9 2025-03-10T21:35:46 [face] Rename a variable
Behdad Esfahbod f98c203e 2025-03-10T21:30:28 [coretext] Add hb_coretext_face_create_from_blob_or_fail() Part of https://github.com/harfbuzz/harfbuzz/issues/5117 Untested. New API: +hb_coretext_face_create_from_blob_or_fail()
Behdad Esfahbod 8ca9fe76 2025-03-10T21:13:07 [face] Avoid edit-sanitizing in hb_face_count()
Behdad Esfahbod e4fe8bf9 2025-03-10T20:49:14 [ft] Add hb_ft_face_create_from_blob_or_fail() Part of https://github.com/harfbuzz/harfbuzz/issues/5117 Untested. New API: +hb_ft_face_create_from_blob_or_fail()
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 8ca892b0 2025-03-11T00:19:34 [directwrite] Simplify headers
Behdad Esfahbod 41dcc493 2025-03-10T23:40:39 [test-cplusplus] Simplify
Behdad Esfahbod 4323c664 2025-03-10T20:06:08 [fontations] Make fontations use hb_malloc et al
Behdad Esfahbod 7a912c47 2025-03-10T16:20:16 [buffer-deserialize] Fix return value and parsing I think I got it right. Alternative to https://github.com/harfbuzz/harfbuzz/pull/5028
Behdad Esfahbod c2e92b6f 2025-03-10T16:18:48 [ragel] Update output files
Behdad Esfahbod 5a038449 2025-03-10T14:54:13 [gen-ragel-artifacts] Fail if ragel failed
Behdad Esfahbod 9c0ac9ae 2025-03-10T02:52:26 Merge pull request #5069 from harfbuzz/cluster-level-graphemes [buffer] Add HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES
Khaled Hosny 885eef8e 2025-03-10T10:33:36 [buffer/doc] Add docs for the new cluster level macros
Behdad Esfahbod 1531be8a 2025-03-10T01:02:11 [buffer] Add docs for the new cluster level
Behdad Esfahbod 9305aae4 2025-02-12T11:49:15 [ot-layout] Revert back logic
Behdad Esfahbod 75187186 2025-02-12T11:39:14 [buffer] Add HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES https://github.com/harfbuzz/harfbuzz/discussions/5026#discussioncomment-12168668
Behdad Esfahbod 0b62666e 2025-03-09T19:38:32 [aat/morx] Use a separate bit for deleted-glyphs Should address: https://github.com/harfbuzz/harfbuzz/pull/5119#issuecomment-2709170388
Behdad Esfahbod e77fb463 2025-03-09T18:53:36 [fontations] Do double-checked locking See if tsan likes this. It liked the previous version.
Behdad Esfahbod 780809fb 2025-03-09T18:40:27 [fontations] Check for font serial change automatically Let's see what tsan thinks... I also have not profiled this. It also doesn't hold the mutex for the whole use time. It probably should or bad things might happen.
Behdad Esfahbod ff76244e 2025-03-09T17:23:18 [aat/morx] Delete deleted glyphs again But also check for default-ignorable bit this time.
Behdad Esfahbod dc048b7c 2025-03-07T16:16:51 [aat/morx] Set glyph props consistently
Behdad Esfahbod 4ec560dd 2025-03-07T16:14:24 [aat/morx] Refactor all glyph replacements into the context
Behdad Esfahbod c6972ac6 2025-03-07T15:29:48 [aat] Towards removing special deleting of 0xFFFF See https://github.com/harfbuzz/harfbuzz/discussions/5118 Remove the removal. Depend on the default_ignorable flag to hide them later. Test output adjusted.
Behdad Esfahbod ec4d4b01 2025-03-07T15:40:50 [morx] Update buffer on changes, in one more place Was missed out before I believe.
Behdad Esfahbod d067f2b2 2025-03-09T06:17:27 [font] get_acquire() the serial