src


Log

Author Commit Date CI Message
Behdad Esfahbod 84d38df8 2022-07-21T12:12:04 [Coverage] Minor use range-based loop
Behdad Esfahbod b017b73f 2022-07-21T12:06:55 [Coverage] Minor remove a couple unnecessary as_array()'s
Behdad Esfahbod 9e650b4e 2022-07-21T12:01:52 [Coverage] Speedup intersect_set
Behdad Esfahbod efa38807 2022-07-21T11:52:36 [subset/SingleSubsetFormat1] Use Coverage.intersect_set
Behdad Esfahbod 00dfbbce 2022-07-21T11:39:32 [Coverage] Rename and templatize intersected_coverage_glyphs
Behdad Esfahbod d0eb2737 2022-07-21T11:24:56 [subset/GSUB/GPOS] Use more intersected_coverage_glyphs()
Behdad Esfahbod 450d8346 2022-07-21T11:05:35 [subset/PairPosFormat1] Speed up significantly
Behdad Esfahbod 5d7556e1 2022-07-21T10:42:29 Revert "[subst/SingleSubstFormat1] Rewrite nicer" This reverts commit bababe10724c27b2cbb09bf25e7dcf4aeea07588. The hand-written code is still much faster :(.
Behdad Esfahbod 71ce931e 2022-07-21T10:41:29 [PairPos] Don't compute newFormat It was wrong, because it would be writing wrong values. Test suite doesn't seem to catch any.
Behdad Esfahbod 02ca0254 2022-07-21T10:30:23 [layout] Add large_int to Types
Behdad Esfahbod bababe10 2022-07-21T10:25:27 [subst/SingleSubstFormat1] Rewrite nicer
Behdad Esfahbod cf123e6a 2022-07-21T10:21:57 [Coverage] Add get_population ()
Behdad Esfahbod 2ad3c0c7 2022-07-21T09:46:25 Fix uninitialized variable
Behdad Esfahbod fa471043 2022-07-20T22:42:18 [subset] Fix previous commit
Behdad Esfahbod c4d2ef90 2022-07-20T22:36:35 [subset] Speed up subsetting of SingleSubstFormat1_3
Behdad Esfahbod d01e6bab 2022-07-20T22:17:33 [subset] Speed up SingleSubstFormat1_3 closure
Qunxin Liu 0f800769 2022-07-20T14:59:02 [subset] Do not repeat COLR table closure
Behdad Esfahbod 9fc31db6 2022-07-20T16:03:02 [blob] Initialize members if ever on the stack
Behdad Esfahbod 60a9175f 2022-07-20T15:59:46 [blob] Remove fini_shallow()
Behdad Esfahbod bcd59b51 2022-07-20T15:57:09 [set/map] Remove init_shallow/fini_shallow()
Behdad Esfahbod 79b23cc2 2022-07-20T15:38:34 Fix another leak
Behdad Esfahbod 3fad942e 2022-07-20T15:26:32 Try fix leak
Behdad Esfahbod e1b5f2f8 2022-07-20T15:03:20 [object] Call destructor in hb_object_destroy()
Behdad Esfahbod 9ea4ab60 2022-07-20T14:57:32 [object] Call constructor
Behdad Esfahbod 61c04384 2022-07-20T14:43:58 [map] Allow geting non-const value pointer out with has()
Behdad Esfahbod 00cfc5c1 2022-07-20T14:38:28 [map] Don't set out value in has() if not found
Behdad Esfahbod 485f0432 2022-07-20T14:34:55 [map] Enable using hashmap with unique_ptr
Behdad Esfahbod 53fd4c92 2022-07-20T13:33:49 [set] A variable rename
Behdad Esfahbod 6826b2c3 2022-07-20T13:25:34 [gsubgpos/closure] Minor condition use bool operator
Behdad Esfahbod 55a1e0bb 2022-07-20T13:10:28 [ot-map] Use hb_array for a return value
Behdad Esfahbod 8d923363 2022-07-20T12:08:18 [layout] Reduce number of closure rounds
Behdad Esfahbod aae8c74e 2022-07-20T11:51:09 [>64k:layout:SingleSubstFormat3] Fix masking https://github.com/be-fonts/boring-expansion-spec/issues/31
Behdad Esfahbod 3c137ef0 2022-07-20T11:29:30 [GPOS/CursivePos] Fix unsafe-to-break marking Fixes test.
Behdad Esfahbod 5998cd00 2022-07-20T11:16:32 [hebrew] Break out of reordering loop when pattern found
Behdad Esfahbod d8613037 2022-07-20T10:57:12 [hebrew] Comment
Behdad Esfahbod c60d810d 2022-07-20T10:24:54 [hebrew] Implement Jerusalem mark reordering Fixes https://github.com/harfbuzz/harfbuzz/issues/2947
Khaled Hosny 605bb1ee 2022-07-19T21:15:21 [subset] Add amalgam harfbuzz-subset.cc Fixes https://github.com/harfbuzz/harfbuzz/issues/3733
Qunxin Liu 712bfa88 2022-07-19T13:57:14 build fix for HB_NO_VAR
Behdad Esfahbod 798a0c8a 2022-07-19T14:40:47 Fix build
Behdad Esfahbod 8737dea4 2022-07-19T14:39:47 [>64k:layout:GDEF] Implement version 2 Implements https://github.com/be-fonts/boring-expansion-spec/issues/36 Subset does NOT lower format.
Behdad Esfahbod 8080e01a 2022-07-19T14:35:58 [>64k:layout] Templatize GDEFVersion1
Behdad Esfahbod 1665cf6b 2022-07-19T13:56:23 [>64k:layout] Split GDEFVersion1 https://github.com/be-fonts/boring-expansion-spec/issues/36
Behdad Esfahbod 1de5591c 2022-07-19T13:37:30 [>64k:layout] Prepare GDEF for templatizing https://github.com/be-fonts/boring-expansion-spec/issues/36
Khaled Hosny c0d60bd4 2022-07-19T18:21:09 [meta] Fix warning with emscripten For whatever reason, em++ takes the first branch and spouts a gazillion warnings like: ./harfbuzz/src/hb-vector.hh:229:20: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] hb_enable_if (hb_is_trivially_copy_assignable(T))> ^ ./harfbuzz/src/hb-meta.hh:193:44: note: expanded from macro 'hb_is_trivially_copy_assignable'
Behdad Esfahbod 91c60802 2022-07-18T22:24:28 [open-type] Fix overflow check Without the cast, the compiler is within its rights to reason that overflow didn't happen and optimize away the check, as clang was.
Behdad Esfahbod 4279304a 2022-07-18T22:20:06 [stat] Fix double-promotion warnings
Behdad Esfahbod 54e9ab4a 2022-07-18T18:57:14 [GPOS/Cursive] Fix breaking of parent-child attachment Mostly fixes https://github.com/harfbuzz/harfbuzz/issues/2469
Behdad Esfahbod c2baf279 2022-07-18T15:41:20 [arabic] Make more features F_MANUAL_ZWJ The change to `ccmp` fixes shaping of certain sequences with Calibri on Windows 11. Addition of `liga` and `clig` is speculative. Fixes https://github.com/harfbuzz/harfbuzz/issues/3530
Behdad Esfahbod ddeef8c8 2022-07-18T15:13:47 [test-ot-glyphname] Fix return value
Qunxin Liu be8e8e8c 2022-06-30T14:24:36 [instance] prune name tables after axes pinned at fixed locations Restricting axes to ranges is not supported yet.
Qunxin Liu df55f840 2022-06-30T09:36:19 [instance] instantiate STAT table when axes are pinned at fixed locations restricting ranges is not supported yet.
Qunxin Liu 2a4773e4 2022-06-21T19:29:52 add option "--instance", store axes_location in subset_plan and drop all variation tables when all axes are pinned at default
Behdad Esfahbod 5744e951 2022-07-18T14:54:44 [gir] Skip graphite API Fixes https://github.com/harfbuzz/harfbuzz/issues/2557
Behdad Esfahbod 3723b854 2022-07-18T14:00:14 [cff] Better max op counting
Behdad Esfahbod 3c84aa84 2022-07-18T13:57:59 [cff] Add a max work counter Set to 10,000 per interpretation right now. Fixes https://github.com/harfbuzz/harfbuzz/issues/3700 Fixes https://oss-fuzz.com/testcase-detail/5667125715927040
Behdad Esfahbod 89de8c70 2022-07-18T13:07:29 [CoverageFormat2] Another fix for broken tables Fixes https://oss-fuzz.com/testcase-detail/6005342714068992
Behdad Esfahbod 4f22397f 2022-07-18T11:03:54 [ft] A couple of introspection fixes
Behdad Esfahbod f7f6d278 2022-07-17T22:15:42 Add hb_language_matches() New API: + hb_language_matches()
Behdad Esfahbod d57ce300 2022-07-17T21:56:56 [ot-shape] Pass reference to props instead of pointer Since cannot be nullptr.
Behdad Esfahbod a972d05d 2022-07-17T21:42:04 [aat] Fix build
Behdad Esfahbod 2124ad89 2022-07-17T21:32:27 [aat/morx] Implement language-specific forms Test on Mac with, eg. $ hb-view /Library/Fonts/BigCaslon.ttf -u 107 vs $ hb-view /Library/Fonts/BigCaslon.ttf -u 107 --language pl Fixes https://github.com/harfbuzz/harfbuzz/issues/1373
Behdad Esfahbod d8574b44 2022-07-17T18:44:27 [CoverageFormat2] Fix iterator to avoid infinite loop on invalid data. Fixes https://oss-fuzz.com/testcase-detail/5304497047470080
Behdad Esfahbod b475a2ab 2022-07-17T18:44:11 [array] Adjust operator !=
Behdad Esfahbod 9518d602 2022-07-17T17:03:40 [atomic] Disable compiler memory barrier on MSVC It keeps giving me internal compiler error. https://github.com/harfbuzz/harfbuzz/issues/3728
Behdad Esfahbod f0707e23 2022-07-17T16:47:16 [atomic] Add compiler memory_r_barrier https://github.com/harfbuzz/harfbuzz/issues/3728
Behdad Esfahbod f3151b65 2022-07-17T16:19:28 [ArrayOf family] Use memory barrier before accessing array Without it, the compiler was reordering and batching the read of array length and array[0] if the 0'th member was accessed constantly and function was inlined. This felt safe to the compiler because HB_VAR_ARRAY is 1, but could be unsafe actually. The memory barrier disallows that. This was found by afl/honggfuzz address sanitizers. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49187
Behdad Esfahbod 90e40f24 2022-07-17T15:01:04 [algs] Tweak attribute(packed) usage Allow disabling it. Also don't cast this pointer.
Behdad Esfahbod af84680f 2022-07-17T12:00:04 [GSUB] Remove a reinterpret_cast
Behdad Esfahbod 9843f076 2022-07-15T16:03:55 [OffsetTo] Try catching nullable offsets to unbounded types Doesn't catch all cases; if type is not fully defined at OffsetTo time, we can't know. Fixes https://github.com/harfbuzz/harfbuzz/issues/1300 to the best we can do.
Behdad Esfahbod 1327d8e3 2022-07-15T16:03:38 [layout-common] Reshuffle code so Feature is defined before it's used
Behdad Esfahbod f7147835 2022-07-15T16:03:25 [colr] Add MIN_SIZE to Paint
Behdad Esfahbod e1d2facd 2022-07-15T16:02:58 [null] Add hb_has_null_size() and hb_has_min_size()
Behdad Esfahbod 6ed57de1 2022-07-15T15:09:28 [ft] Fix negative font sizes for bitmaps
Behdad Esfahbod 307ee9ba 2022-07-15T14:48:29 [ft] Fix bitmap-only vertical metrics
Behdad Esfahbod 87d338eb 2022-07-15T14:19:17 [ft] Fix test
Khaled Hosny e294200d 2022-07-15T21:36:50 [ft] Check for FT_Get_Transform at build time
Behdad Esfahbod 901236f7 2022-07-15T12:55:31 [ft] Implement loading (color) bitmap fonts Fixes https://github.com/harfbuzz/harfbuzz/issues/489 Something about the vertical metrics is still off, not matching hb-ot. I cannot figure out what.
Behdad Esfahbod 3ac11056 2022-07-15T12:48:11 [ft] Fix scale when font-sizes are negative
Behdad Esfahbod d68507d0 2022-07-14T11:20:00 [arabic] Pause after calt only if no rclt Fixes https://github.com/harfbuzz/harfbuzz/issues/1573
Behdad Esfahbod 8b379ddc 2022-07-14T16:20:04 [test-iter] Add back test of OT namespace iteration
Garret Rieger 5363e40d 2022-07-13T23:03:54 [reorg] update build files.
Garret Rieger d82ace5c 2022-07-13T23:00:01 [reorg] add TODO to RangeRecord.
Garret Rieger c1e280ea 2022-07-13T22:43:38 [reorg] Move Coverage, RangeRecord into new namespace layout.
Garret Rieger 9c251898 2022-07-13T22:55:58 [repack] Don't count space isolation against round limit. Restore max rounds to 20 but don't count space isolation against the limit. The number of iterations space isolation can make changes for is already bounded to a reasonable max (the number of lookups in the font) so no need to cap the number of iterations.
Behdad Esfahbod a2f07231 2022-07-13T16:02:39 [GPOS] Adjust mark attachment on multiple substitution some more Fixes https://github.com/harfbuzz/harfbuzz/issues/1545
Behdad Esfahbod ac216972 2022-07-13T15:32:19 [subset] Add table size blowup bound Fixes https://github.com/harfbuzz/harfbuzz/issues/3091
Behdad Esfahbod 4b3afafb 2022-07-13T15:13:07 [array] Use hb_swap() in reverse()
Behdad Esfahbod 87167acf 2022-07-13T14:58:09 Merge pull request #3704 from harfbuzz/64k Towards breaking the 64k in GSUB/GPOS
Garret Rieger a369ab13 2022-07-13T19:00:08 [repacker] Increase max_rounds when called via public api.
Behdad Esfahbod 4ee47192 2022-07-13T10:36:53 More -Wcomma fixes Fixes https://github.com/harfbuzz/harfbuzz/issues/3716
Behdad Esfahbod c2712ff4 2022-07-13T13:34:11 Reorder hb_ot_shaper_t members to save 8 bytes of data per shaper
Behdad Esfahbod e5f0bc8f 2022-07-13T13:22:34 [set] Save a few kilobytes via type erasure of process()
Behdad Esfahbod 42da7da5 2022-07-13T12:46:36 Fix HB_NO_SHAPER HB_NO_OT_SHAPE build
Behdad Esfahbod 015aecfc 2022-07-13T12:15:01 [use-table] Port to using packtab Saves around 9kb.
Behdad Esfahbod 0fcd1dec 2022-07-13T12:17:35 Fix file permissions
Behdad Esfahbod 0f13eb1f 2022-07-08T13:43:33 [>64k:layout] Templatize (Chain)ContextFormat1
Behdad Esfahbod d1f58e59 2022-07-08T13:25:07 [>64k:layout:(Chain)Context] Implement format 5 Implements part of https://github.com/be-fonts/boring-expansion-spec/issues/34 Subset does NOT lower format.
Behdad Esfahbod a90c5af9 2022-07-08T13:11:47 [>64k:layout] Templatize (Chain)ContextFormat2
Behdad Esfahbod cc83b0b8 2022-07-08T12:25:15 [>64k:layout:MarkBasePos/MarkMarkPos/MarkLigPos] Implement format 2 Implements https://github.com/be-fonts/boring-expansion-spec/issues/40 Subset does NOT lower format.
Behdad Esfahbod 4b43070e 2022-07-08T12:22:16 [>64k:layout] Templatize MarkBasePos/MarkMarkPos/MarkLigPos