Log

Author Commit Date CI Message
Behdad Esfahbod e6bbf112 2023-01-03T12:35:48 [buffer] Better document set_content_type Fixes https://github.com/harfbuzz/harfbuzz/issues/4000
Behdad Esfahbod 8f2345ca 2023-01-02T18:08:45 Use more vector resize_exact
Behdad Esfahbod b6be4550 2023-01-02T18:05:43 [vector] Add resize_exact()
Behdad Esfahbod a516ce97 2023-01-02T17:58:51 [subset-cff] Add a few exact-allocation calls
Behdad Esfahbod 4a435dc0 2023-01-02T17:41:31 [subset-cff] Remove an unlikely
Behdad Esfahbod f8c578fd 2023-01-02T17:33:04 [subset-cff] Remove commented-out line
Behdad Esfahbod d5e1748f 2023-01-02T12:26:43 [cff] Simplify add_op()
Behdad Esfahbod 27531d85 2023-01-02T12:05:11 [subset-cff] Move code around
Behdad Esfahbod 9afe5f97 2023-01-02T11:44:29 [vector] Fix leak Discovered by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54767
Behdad Esfahbod 4f013c42 2023-01-02T10:38:30 [subset-cff] Always compact charstrings Reduces non-preprocessed subsetting memory footprint significantly.
Behdad Esfahbod d3ed6eed 2023-01-01T23:29:35 [cff] Initialize a member variable For good hygiene.
Khaled Hosny 8ccc704c 2023-01-02T18:14:55 [ci/win32] Disable Cairo tests as well
Khaled Hosny 5d81fc0f 2022-03-23T06:07:15 [meson] Update Cairo subproject Update to the latest master to get color fonts working. Disable dwrite on Windows builds as it does not compile and we don’t need it.
Behdad Esfahbod 55a7d817 2023-01-01T23:07:42 [vector] Allocate exact size in operator=
Behdad Esfahbod 449910d4 2023-01-01T19:27:10 [vector] Allocate exact size in constructor
Behdad Esfahbod 4dda1f78 2023-01-01T19:00:04 [cff-subset] Compact charstrings just after parsing Massive peak-memory saving when processing face.
Behdad Esfahbod a7617c3c 2023-01-01T18:58:08 [cff-subset] Drop hints just after parsing charstring In prep for next commit.
Behdad Esfahbod b1c4cb0c 2023-01-01T18:41:19 [cff2] Use a shrink instead of resize Such that we can free the allocation.
Behdad Esfahbod b8736076 2023-01-01T18:38:28 [vector] Support shrinking storage if exact size provided Only do it if requested size is less than quarter of allocated size. This has massive benefit during CFF subset preprocessing.
Behdad Esfahbod 1119e602 2023-01-01T18:31:32 [subset-cff] Tweak another storage allocation
Behdad Esfahbod 85e8f2b5 2023-01-01T18:26:08 [hb-subset] Initialize preprocess variable
Behdad Esfahbod f0b5286b 2023-01-01T17:04:59 [features] Sort
Behdad Esfahbod 4a5bd7a9 2023-01-01T16:53:28 [subset] Add hb_subset_input_keep_everything() Fixes https://github.com/harfbuzz/harfbuzz/issues/3998 New API: + hb_subset_input_keep_everything()
Behdad Esfahbod d87add41 2023-01-01T16:27:26 [hb-subset] Rename --preprocess-face to --preprocess Keep old name working but hidden.
Behdad Esfahbod 52110f13 2023-01-01T16:22:02 [subset-input] Refactor copy-pasta code
Matthias Clasen 4adc748b 2023-01-01T09:46:11 Move Color tables to src/OT/Color/
Behdad Esfahbod a5f1f3a0 2023-01-01T13:14:04 [ft] Conditionalize all COLOR code on >= 2.11.1 Fixes https://github.com/harfbuzz/harfbuzz/issues/3994
Matthias Clasen dc5179d4 2023-01-01T09:23:07 Drop hb-ot-color-colr-table.cc Move everything into the .hh file.
Khaled Hosny 27684f14 2023-01-01T00:41:55 [introspection] Skip sources not usable with GObject Introspection There is no point in generating GIR for code interfacing with libraries without introspection integration. This fixes spurious warnings on macOS when g-ir-scanner mistakenly tries to scan system headers.
Matthias Clasen 2bd09a99 2023-01-01T10:30:40 Merge pull request #3996 from harfbuzz/drop-unused-file Drop an unused file
Matthias Clasen f60e7e3f 2023-01-01T09:50:27 Drop an unused file
Behdad Esfahbod 3ff91c44 2022-12-31T14:49:41 [paint] Optimize transform operations again
Behdad Esfahbod 1a0dd49f 2022-12-31T14:38:06 Merge pull request #3991 from harfbuzz/paint-optimize-transform Paint optimize transform
Matthias Clasen 9f3b59fe 2022-12-31T16:19:20 Update expected test results These need updates, because they record every callback, and we've changed what callbacks are happening.
Behdad Esfahbod edb81234 2022-12-31T13:55:41 [subset-cff] Another exact allocation
Behdad Esfahbod 54dd01b8 2022-12-31T13:33:25 [set] Use exact-allocation in copying Significantly reduces memory consumption.
Behdad Esfahbod 2c64048b 2022-12-31T13:26:00 [subset] Another exact-allocation
Behdad Esfahbod 0ec0214f 2022-12-31T13:18:32 [cff-subset] Adjust pre-allocation Reduces memory use significantly.
Behdad Esfahbod b88ca818 2022-12-31T12:51:28 [paint-extents] Minor reorder
Behdad Esfahbod 0c6a7213 2022-12-31T12:42:29 [set] Another exact-size allocation
Behdad Esfahbod b803024c 2022-12-31T12:40:07 [cff2] Another exact-size allocation
Behdad Esfahbod 3d4659be 2022-12-31T12:38:58 [cff2] Use exact-size vector allocation for blends
Behdad Esfahbod 92e5933e 2022-12-31T12:35:30 [vector] A couple more exact-size allocations
Behdad Esfahbod 2eacc37e 2022-12-31T12:27:13 [vector] Add internal API for exact-size allocation Use it from a couple of places.
Behdad Esfahbod a0b46f3f 2022-12-31T12:15:14 [machinery] Refactor shared code into a macro
Behdad Esfahbod ebb475ba 2022-12-31T12:11:14 [multimap] Add consts
Behdad Esfahbod 9e3ff0e9 2022-12-31T11:55:45 [paint] Fixup
Behdad Esfahbod 6b47fcb1 2022-12-31T11:40:12 [paint] Add internal push_skew/pop_skew API
Behdad Esfahbod 46adf31b 2022-12-31T11:35:39 [paint] Add internal push_rotate/pop_rotate API
Behdad Esfahbod ce783512 2022-12-31T11:32:15 [paint] Add internal push_scale/pop_scale API
Behdad Esfahbod 7363eb37 2022-12-31T11:24:42 [paint] Add internal push_translate/pop_translate
Behdad Esfahbod df916779 2022-12-31T11:12:02 [paint] Call internal API internally
Behdad Esfahbod 99da0e6c 2022-12-31T11:04:40 [paint] Avoid div-by-zero
Behdad Esfahbod 4e94b65c 2022-12-31T10:53:40 [paint-extents] Const-correctness
Behdad Esfahbod f6dc4698 2022-12-31T10:52:32 [paint-extents] Minor move variable
Behdad Esfahbod 4e7807a0 2022-12-31T10:50:30 [paint-extents] Rename variable
Behdad Esfahbod c86d1892 2022-12-31T10:46:46 [paint-extents] Move code around
Behdad Esfahbod d9a9bd8f 2022-12-31T10:41:30 [paint-extents] Add HB_UNUSED
Matthias Clasen 956ccb11 2022-12-31T10:14:37 [docs] Add a section about rendering
Matthias Clasen 63cd1cce 2022-12-31T08:56:12 [docs] Drop stale commented-out section Freetype integration is documented elsewhere now.
Matthias Clasen a3905904 2022-12-31T08:51:19 Mention named instances in the var-fonts section
Behdad Esfahbod 37e90c64 2022-12-30T15:41:40 [cairo] Fix warnings
Behdad Esfahbod 04464c55 2022-12-30T14:55:32 [pool] Change chunk-len from 16 to 32
Behdad Esfahbod d7941e04 2022-12-30T14:47:47 [paint-extents] Unlikely
Behdad Esfahbod ca844b69 2022-12-30T14:47:24 [paint-extents] Whitespace
Behdad Esfahbod 62ca2be3 2022-12-30T14:41:36 [paint-extents] Implement quadratic callback
Behdad Esfahbod 7389efd8 2022-12-30T13:58:34 [post] Pre-alloc name index array
Behdad Esfahbod 36bef5dc 2022-12-30T13:17:23 [gsubgpos] Prealloc subtables vector
Khaled Hosny 00060d99 2022-12-30T22:55:56 [hb-cairo] Silence warning when building with FreeType In file included from ../util/hb-view.cc:33: In file included from ../util/view-cairo.hh:32: ../util/helper-cairo.hh:102:7: warning: variable 'cairo_face' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (use_hb_draw) ^~~~~~~~~~~ ../util/helper-cairo.hh:129:64: note: uninitialized use occurs here cairo_scaled_font_t *scaled_font = cairo_scaled_font_create (cairo_face, ^~~~~~~~~~ ../util/helper-cairo.hh:102:3: note: remove the 'if' if its condition is always true if (use_hb_draw) ^~~~~~~~~~~~~~~~ ../util/helper-cairo.hh:101:32: note: initialize the variable 'cairo_face' to silence this warning cairo_font_face_t *cairo_face; ^ = nullptr We know that cairo_face will always be assigned since use_hb_draw will always be true, but the compiler does not know that.
Behdad Esfahbod a45bf5b0 2022-12-30T11:19:36 [ft-colr] Require FreeType >= 2.11.1 Fixes https://github.com/harfbuzz/harfbuzz/issues/3989
Behdad Esfahbod ceba6c9a 2022-12-30T10:44:34 [config] Sort
Behdad Esfahbod 0d98c79b 2022-12-29T21:07:38 [util] Centralize includes again
Behdad Esfahbod d90ccc1c 2022-12-29T21:02:06 [view] More includes
Behdad Esfahbod 969914b2 2022-12-29T21:01:16 [view] Clean up includes
Behdad Esfahbod 2bbc57c3 2022-12-29T20:41:55 [chafa] Residual
Behdad Esfahbod 962d4925 2022-12-29T20:39:02 [ansi] Optimize write
Behdad Esfahbod a35f8e34 2022-12-29T20:34:23 [ansi] Whitespace
Behdad Esfahbod 0004ec13 2022-12-29T20:26:42 [view] Write ansi output to --output-file Was writing to stdout all this time!
Behdad Esfahbod 3a319b59 2022-12-29T20:26:09 [ansi] Write \e directly
Behdad Esfahbod ab8b9b44 2022-12-29T18:33:12 [view] Streamline cairo-ft face lifecycle management
Behdad Esfahbod 228a4154 2022-12-29T18:19:06 [view-cairo] Minor subpixel-bits
Behdad Esfahbod 74d29cd1 2022-12-29T18:11:41 [helper-cairo] Remove a method
Behdad Esfahbod f2a6643f 2022-12-29T18:00:39 [cairo] Docs
Behdad Esfahbod bfce4a60 2022-12-29T10:43:37 [cairo] Remove error path Assume cairo API always returns non-NULL.
Behdad Esfahbod b1de87b7 2022-12-29T10:34:47 [cairo] Document get_glyphs() arguments as inout
Matthias Clasen 3be9fa07 2022-12-29T10:14:51 [docs] Mention new font-funcs in the user manual
Matthias Clasen 2c212178 2022-12-29T09:57:56 [docs] Add a Cairo integration section
Matthias Clasen 89bd7f64 2022-12-29T08:05:16 [hb-cairo] Small docs fixes
Khaled Hosny c9206df1 2022-12-29T16:05:19 [hb-cairo] Fix warnings
Khaled Hosny 723e7a48 2022-12-29T15:49:21 [docs] Small fixes
Matthias Clasen 313f74a6 2022-06-29T07:32:58 Add a basic test for hb-coretext api This tests what would be my minimum assumption about this api. It was written blindly.
Matthias Clasen 661baf40 2022-06-29T07:31:46 Add a basic test for hb-ft api This tests what would be my minimum assumption about this api.
Matthias Clasen 67456a7a 2022-12-28T13:07:54 [ft] Some more docs clarifications
Matthias Clasen c612d068 2022-12-28T10:42:59 [ft] Clarify docs around faces too
Matthias Clasen 4dc955bb 2022-12-28T10:04:21 [ft] Clarify docs Add some clarifications on what fonts these apis work with.
Matthias Clasen ef20b5e6 2022-12-28T08:51:27 Typo fix
Behdad Esfahbod dc9ca637 2022-12-27T17:49:02 [hb-view] Remove stale disabled code path With color rendering that code path is wrong anyway. And cairo now supports subpixel text positioning.
Behdad Esfahbod 5efb3bc6 2022-12-27T17:47:46 [hb-view] Set hb-cairo scale-factor Unused.
Behdad Esfahbod 81c04b0c 2022-12-27T17:46:25 [cairo] Add separate x/y scale factors
Behdad Esfahbod 50b7fff0 2022-12-27T17:37:42 [cairo] Fix text_to_glyphs scale factor