src


Log

Author Commit Date CI Message
Behdad Esfahbod 6acb2942 2025-04-06T02:34:34 [ft] Fix compiler warnings
Behdad Esfahbod a46b9320 2025-04-05T23:11:59 [subset] Remove printf from library!
Behdad Esfahbod d9304b69 2025-04-05T20:02:30 [subset] Fix i686 oss-fuzz build hopefully
Khaled Hosny f57b43c9 2025-04-05T14:54:11 [ot-math] Workaround bad displayOperatorMinHeight in Cambria Math See https://github.com/harfbuzz/harfbuzz/issues/4653 for details
Behdad Esfahbod 0457d3d7 2025-04-04T16:17:32 [buffer-deserialize] Ignore glyph extents Fixes https://github.com/harfbuzz/harfbuzz/issues/5169
Khaled Hosny 43a77849 2025-04-04T22:41:26 11.0.1
Behdad Esfahbod 13752124 2025-04-04T14:00:25 Fix compiler warnings
Behdad Esfahbod 623a7a41 2025-04-04T13:25:06 Whitespace
Behdad Esfahbod 7ba4e879 2025-04-04T12:39:10 [VarStore] Fix storage shift Use all bits. That's what I meant.
Khaled Hosny a5530503 2025-04-04T13:11:21 [coretext] Fix -Wformat warning ../src/hb-coretext.cc:202:62: warning: format specifies type 'int' but the argument has type 'unsigned int' [-Wformat] 202 | DEBUG_MSG (CORETEXT, blob, "TTC index %d not supported", ttc_index); | ~~ ^~~~~~~~~ | %u ../src/hb-coretext.cc:417:65: warning: format specifies type 'int' but the argument has type 'unsigned int' [-Wformat] 417 | DEBUG_MSG (CORETEXT, nullptr, "TTC index %d not supported", ttc_index); | ~~ ^~~~~~~~~ | %u
Behdad Esfahbod d515630f 2025-04-03T22:31:13 [shape-font] Simplify logic
Behdad Esfahbod d30d7f6b 2025-04-03T22:25:34 [ItemVariationStore] Use atomic int for cache
Behdad Esfahbod 9cae040b 2025-04-03T22:18:14 [ItemVariationStore] Make cache atomic floats Doesn't work with intrinsic atomic implementations. Disabled that. Going through the C++11 atomics path now. Will fix in next commit.
Behdad Esfahbod 810fbedf 2025-04-03T20:59:23 [shape] Use font-data for GDEF varStore cache Last remaining alloc during shaping is gone! Fixes https://github.com/harfbuzz/harfbuzz/issues/5237
Behdad Esfahbod e10d647a 2025-04-03T22:01:37 [atomic] Re-enable intrinsics implementation
Behdad Esfahbod e404cf08 2025-04-03T21:57:15 [atomic] Fix C++11 implementation Surprised no one has been using it.
Behdad Esfahbod e480d9de 2025-04-03T21:44:23 Do our C++11 atomics build anywhere??
Behdad Esfahbod 18ab0f55 2025-04-03T04:04:40 [font] Fix serial_coords
Behdad Esfahbod 6f5b8d59 2025-04-03T01:52:03 [ot-font] Streamline advance cache management
Behdad Esfahbod 7da049ed 2025-04-02T15:18:44 [varStore] Add clear_cache()
Behdad Esfahbod da0c459d 2025-04-02T15:16:44 [ot-font] Use helpers to acquire/release varStore cache
Behdad Esfahbod 37989fb4 2025-04-02T15:03:07 [ot-font] Adjust cache creation criteria for v_advances
Behdad Esfahbod d3e4977c 2025-04-02T14:04:16 [gvar] Comment
Behdad Esfahbod ef8c25ad 2025-04-02T03:41:32 [ot-font] Make advance-cache invalidation threadsafe Hopefully.
Behdad Esfahbod bbf0c6e7 2025-04-02T02:11:25 [font] Bump coords serial if face changed Such that ot-font clears its advance cache
Behdad Esfahbod 321c14c9 2025-04-01T21:39:00 Merge pull request #5236 from harfbuzz/cmap-cache [cmap] Move cache from face user-data to cmap accelerator
Behdad Esfahbod 7f5fafec 2025-04-01T21:35:28 [GDEF] Simplify cache declaration
Behdad Esfahbod 8864c264 2025-04-01T21:22:16 [cmap] Fix initialization
Behdad Esfahbod 3d0816c7 2025-04-01T21:18:29 [cache] Simplify cache declarations
Behdad Esfahbod 591f00a2 2025-04-01T20:56:40 [cmap] Move cache from face to cmap accelerator No need to use user-data for it. Fixes https://github.com/harfbuzz/harfbuzz/issues/5235
Behdad Esfahbod 7ebe6b48 2025-04-01T20:46:55 [cmap] Whitespace
Behdad Esfahbod 4d5348d6 2025-04-01T18:12:56 [set-digest] Comments
Behdad Esfahbod bed2d3dd 2025-04-01T17:52:57 [cache] Add assertion for cache size Expand cmap cache since free.
Behdad Esfahbod 89ab5f2b 2025-04-01T17:48:08 [cache] Comments
Behdad Esfahbod 48e7e5a0 2025-04-01T17:43:35 [cache] Document
Behdad Esfahbod 91fd40ac 2025-04-01T03:57:47 [shape] Skip hidden / ignorables during fallback mark positioning Fixes https://github.com/harfbuzz/harfbuzz/issues/5232
Behdad Esfahbod ca66c646 2025-04-01T03:25:41 [aat] Better handle deleted-glyphs 1. Set their GDEF property. Probably irrelevant to morx shaping. 2. Add them to buffer contents, since that can trigger a state machine start action too.
Garret Rieger a1e587b7 2025-03-31T22:02:11 [subset] Add hb_subset_cff_get_charstrings_index and hb_subset_cff2_get_charstrings_index. These methods allow retrieving the entire charstrings index structure from a CFF or CFF2 table.
Behdad Esfahbod a5b00faa 2025-03-31T14:28:31 Fix build with HB_NO_DRAW
Behdad Esfahbod d53cbeee 2025-03-31T14:24:47 [font] Fix warnings
Behdad Esfahbod 4cf4099f 2025-03-30T17:04:08 [ot/ft] Round glyph extents instead of floor/ceil 1. The floor/ceil was being applied in the wrong order for y direction. 2. If the scale is negative, the floor/ceil should be reversed. Just round them instead. That's what coretext / directwrite / fontations font-funcs do.
Behdad Esfahbod afa0549d 2025-03-28T18:10:08 [fontations] More idiomatic
Behdad Esfahbod 17c875c3 2025-03-28T16:26:27 [buffer] Minor add a function
Behdad Esfahbod ef95dc0e 2025-03-28T15:50:05 [vmtx] Fix v_origin when no vmtx available
Behdad Esfahbod c39ac0e1 2025-03-28T14:12:28 [ot] Make v_origin work for more glyph formats
Behdad Esfahbod 1358e381 2025-03-28T13:15:37 [fontations] Implement last bits of v_origin
Behdad Esfahbod 1dac21c1 2025-03-28T12:44:20 [errors] Add -Wuninitialized Works with newer clang I think.
Behdad Esfahbod 22f81f70 2025-03-28T12:29:06 [font] Fix var initialization
Behdad Esfahbod aad5780f 2025-03-28T00:26:51 [font] Move outline emboldening to font layer Such that it works on all font-funcs.
Behdad Esfahbod 83481d65 2025-03-28T00:21:20 [font] Move emboldening advances to the font layer Instead of each font-funcs impl. TODO: Do the same for draw_glyphs.
Behdad Esfahbod a5887611 2025-03-28T00:09:26 [font] Fix void return
Behdad Esfahbod 1f6da390 2025-03-27T20:05:13 [fontations] Implement one fallback case in get_v_origin
Behdad Esfahbod 449752c5 2025-03-27T20:02:08 [fontations] Fix get_v_advances() fallback Was crashing without vmtx before.
Behdad Esfahbod b808d174 2025-03-27T19:52:42 [fontations] Move variable scope
Behdad Esfahbod 9d584c4d 2025-03-27T19:34:54 [fontations] Remove stale comment
Behdad Esfahbod 82d66451 2025-03-27T17:47:56 [subset] Fix check-symbols test
Garret Rieger 283ab218 2025-03-27T22:14:58 [subset] remove CFF/CFF2 table presence checks. Not needed now that we are checking accelerator validity.
Behdad Esfahbod 0752e585 2025-03-27T16:12:14 Merge pull request #5219 from harfbuzz/gid_data [subset] Add API for retrieving the raw per glyph outline data from CFF and CFF2.
Garret Rieger ae8b288d 2025-03-27T22:07:01 [subset] Correctly handle lifetime of charstrings data blob returned by hb_subset_cff_get_charstring_data.
Behdad Esfahbod c50c0a39 2025-03-27T15:43:49 Merge pull request #5223 from harfbuzz/trak-back Revert "[ot-font/trak] Move trak application to ot-font instead of ot…
Behdad Esfahbod b4fd777c 2025-03-27T15:37:01 [aat] Remove hb_aat_layout_get_tracking() again https://github.com/harfbuzz/harfbuzz/pull/5223
Qunxin Liu 5ebe36e1 2025-03-27T13:09:18 [subset] bug fix for CaretValueFormat3 Don't return false in case of a Hinting Device table
Behdad Esfahbod 208ffb3f 2025-03-27T15:01:39 [coretext-font] Undo tracking in get_[hv]_advances() Fixes https://github.com/harfbuzz/harfbuzz/issues/5221
Behdad Esfahbod dda1d95a 2025-03-27T14:32:13 Revert "[ot-font/trak] Move trak application to ot-font instead of ot-shape" This reverts commits ffae5b040d50d602284ef7426340ff332b811df5 and 17c11ec5238ef7efdcc340a2f578feb668c4252a. Plus manual modifications. See https://github.com/harfbuzz/harfbuzz/issues/5221
Garret Rieger 0d4053b1 2025-03-27T18:45:12 [subset] Add hb-subset.h API for retrieving the raw per glyph outline data from CFF and CFF2.
John Bampton ba686984 2025-03-28T00:09:37 src: fix spelling in code comments Co-authored-by: Max Base <MaxBaseCode@gmail.com>
Qunxin Liu 192d264a 2025-03-25T13:32:01 [subset] remove divisions when computing the cost of binary search
Behdad Esfahbod fea0c0df 2025-03-25T12:34:00 [fontations] More idiomatic
Behdad Esfahbod bb3a55a6 2025-03-24T17:05:58 [fontations] Add TODO
Behdad Esfahbod 0affe127 2025-03-24T17:00:57 [fontations] Apply variations to glyph_v_advances
Behdad Esfahbod 83d3ffc5 2025-03-24T16:56:13 [fontations] Hook up variations to v_origin Output matches ot backend, but not ft. Not gonna dig down there right now. I *think* ft doesn't implement VORG table IIRC.
Behdad Esfahbod 0ae4b8f4 2025-03-24T16:45:35 [fontations] Implement glyph_v_advances Without variations for now.
Behdad Esfahbod 589e78ce 2025-03-24T12:48:43 [fontations] Handle recursive clip-glyphs This reverts 852f66a4187f59f169d0de2ea98725d1d78e8da8 in spirit, using a malloc-free implementation and keeping the fill-glyph optimization.
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 ba709a38 2025-03-24T02:07:24 [dwrite] Fix cast-align error-warning Fixes https://github.com/harfbuzz/harfbuzz/issues/5197
Behdad Esfahbod 0849d3d8 2025-03-23T16:06:21 [fontations] Minor shuffle
Behdad Esfahbod 8e1502cc 2025-03-23T16:03:02 [fontations] Implement glyph_v_origin
Khaled Hosny ea6a172f 2025-03-24T00:33:53 11.0.0
Behdad Esfahbod 7612ec44 2025-03-23T13:10:12 [util] Show glyph extents only if available
Behdad Esfahbod 391cbed8 2025-03-23T12:36:02 [fontations] Support non-uniform scales
Khaled Hosny 8d62ad3b 2025-03-23T15:27:36 [directwrite] Don’t release IDWriteFace pass to hb_directwrite_font_create That was a leftover from previous code and is incorrect now as we would be double releasing it.
Behdad Esfahbod 2421efc1 2025-03-22T20:23:29 Merge pull request #5192 from harfbuzz/dwrite-font-vars [directwrite] Clean up API / font handling and make variations work on font-funcs
Behdad Esfahbod 45a724b9 2025-03-22T17:04:08 [coretext] Make font-funcs respond to font changes Fixes https://github.com/harfbuzz/harfbuzz/issues/5173
Behdad Esfahbod b159f5c7 2025-03-22T16:46:43 [directwrite] Fix docs
Behdad Esfahbod 24a23aca 2025-03-22T16:41:39 [directwrite] Make font-funcs respond to font changes
Behdad Esfahbod 91bd6bf0 2025-03-22T16:37:25 [directwrite] Make variations work on font-funcs
Behdad Esfahbod c274ee7b 2025-03-22T16:02:39 [directwrite] Add hb_font_t setter/getter from IDWriteFontFace Changed API: +hb_directwrite_font_create() New API: +hb_directwrite_font_get_dw_font_face()
Behdad Esfahbod f0b0d92a 2025-03-22T15:44:50 [directwrite] Deprecate hb_directwrite_font_get_dw_font()
Behdad Esfahbod 201a0fe3 2025-03-22T15:32:05 [coretext] Fix a warning
Behdad Esfahbod 65094142 2025-03-22T14:19:34 [fontations] Make serial tracking atomic Would shut up tsan if we ever tried it on this.
Behdad Esfahbod 977e4f94 2025-03-22T14:09:26 [font] Simplify changed mechanism
Behdad Esfahbod cfb962d7 2025-03-21T14:53:34 [fontations] Use the proposed pop_layer_with_mode Reduces the last Vec use. https://github.com/googlefonts/fontations/pull/1419
Behdad Esfahbod 9fa31d1e 2025-03-21T14:44:03 [fontations] Enable lto in dev builds as well Otherwise our check-symbols test will fail.
Behdad Esfahbod 852f66a4 2025-03-21T13:57:31 [fontations] Implement fill-glyph Gets rid of one Vec. Supersedes: https://github.com/harfbuzz/harfbuzz/pull/5180 https://github.com/harfbuzz/harfbuzz/pull/5184
Behdad Esfahbod cc0451c9 2025-03-20T19:58:37 [cff2] Malloc-free draw of var blends
Behdad Esfahbod b2f7f6db 2025-03-20T14:35:55 Merge pull request #5165 from harfbuzz/fontations-glyph-name Fontations glyph name
Behdad Esfahbod 64dcece3 2025-03-20T14:05:57 [fontations] Clean up atomic initialization based on review
Behdad Esfahbod 4107ccee 2025-03-20T14:00:06 [fontations] Roll skrifa forward Tests pass now.
Behdad Esfahbod c84b9dca 2025-03-20T11:18:58 Merge pull request #5170 from harfbuzz/directwrite-shape-variations [directwrite] Copy font variations when shaping
Khaled Hosny 686503e2 2025-03-19T16:37:56 [directwrite] Copy font variations when shaping