src


Log

Author Commit Date CI Message
Matthias Clasen 3e39dd49 2022-12-16T23:46:15 cff2: Implement paint_glyph
Matthias Clasen df89b521 2022-12-16T23:46:05 cff1: Implement paint_glyph
Matthias Clasen 0b33b35e 2022-12-16T23:22:15 COLRv1: Return bool from paint_glyph This will let hb_ot_font_paint_glyph() try multiple tables in turn.
Behdad Esfahbod 81f232af 2022-12-16T15:17:35 [colr] Use dispatch machinery for paint_glyph context
Matthias Clasen 5afca91f 2022-12-16T06:43:43 Add some docs
Matthias Clasen efe13a19 2022-12-14T09:50:52 fix introspection
Matthias Clasen 6a48ac42 2022-12-14T06:55:01 COLR implementation
Matthias Clasen 44c68594 2022-12-16T00:48:28 Some docs
Matthias Clasen 71efa0dc 2022-12-14T06:22:00 wip: hb_font_paint_glyph
Matthias Clasen 83d0a49f 2022-12-13T21:14:25 wip: hb-paint
Behdad Esfahbod a96300d4 2022-12-16T15:11:35 [colr] Hide internal symbols
Matthias Clasen d7c2eacf 2022-12-15T23:42:40 Handle COLRv0 layers in paint_glyph
Matthias Clasen 55ca6ed2 2022-12-15T23:16:54 minor fixes
Matthias Clasen 0d890061 2022-12-17T00:07:30 Rename 'solid' to 'color' 'solid' does not really describe well what the function does, and there is no strong reason to stick 1:1 to the terminology used in the spec.
Matthias Clasen 1880e547 2022-12-15T01:06:00 Assorted fixes
Behdad Esfahbod b4cab86d 2022-12-16T14:58:39 Fix autotools build
Matthias Clasen 684df8a8 2022-12-15T00:32:48 add some todos
Matthias Clasen a6f813b6 2022-12-15T00:05:27 Implement hb_color_line_get_extend
Matthias Clasen 2edd771c 2022-12-16T23:32:15 glyf: Implement paint_glyph
Behdad Esfahbod 07575190 2022-12-16T12:45:02 [colr] Add variation to rest of the paints
Matthias Clasen 3937d6b0 2022-12-14T23:58:47 Implement hb_color_line_t
Behdad Esfahbod 5bce0053 2022-12-16T12:31:08 [colr] Flesh out variations for a few paints
Matthias Clasen 64f1b55d 2022-12-14T23:58:25 api fixes: use floats consistently
Matthias Clasen 627c857f 2022-12-14T22:36:54 rename pop_group_and_composite
Behdad Esfahbod 46286275 2022-12-16T15:27:18 [colr] More dispatch functionality
Behdad Esfahbod 9d3440b7 2022-12-16T12:12:21 [colr] Add variation infrastructure to paint_glyph No paint applies variations yet.
Matthias Clasen c9350838 2022-12-14T22:32:40 assorted fixes and changes
Matthias Clasen 5c632955 2022-12-16T12:04:17 Apply root transform This commit applies scale, slant is still missing.
Matthias Clasen 42324aef 2022-12-14T22:04:46 hb-paint: annotation fix
Matthias Clasen 8377341b 2022-12-14T22:03:52 wip: implement paint_glyph
Matthias Clasen 30c5402e 2022-12-23T14:29:25 Make hb-features.h usable standalone The intended use for hb-features.h is to be included standalone, so we can't put the single-include guards in here.
Behdad Esfahbod d628aff9 2022-12-22T10:53:24 [ft] Apply slant in get_glyph_extents
Behdad Esfahbod 9a0ebd2b 2022-12-22T10:21:07 [glyf] Fix slant-scaling in GlyphHeader too
Behdad Esfahbod 392463bf 2022-12-22T08:34:01 [cff] Fix extent rounding I broke it in b0abbfd8684e9970ed2cac78781643edb7cce0ae.
Behdad Esfahbod 897c1027 2022-12-22T08:14:13 [font] Fix scale_glyph_extents
Behdad Esfahbod 9194e13e 2022-12-22T07:31:16 [font] Apply slant to glyph extents Fixes https://github.com/harfbuzz/harfbuzz/issues/3952 hb-ft not fixed since doesn't use this code.
Behdad Esfahbod b0abbfd8 2022-12-22T07:26:14 [font] Centralize glyph-extents scaling Needs more testing... Some rounding was removed, namely in cff1 and cff2.
Behdad Esfahbod 97b8ada8 2022-12-21T19:52:20 [varc] Reset component coordinates to that of the font Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/78
Garret Rieger 40342c94 2022-12-21T21:52:28 [subset] check for addition overflow in hdmx size calculation. Fixes https://oss-fuzz.com/testcase-detail/4877336988483584.
Garret Rieger d77fca99 2022-12-21T21:18:20 [subset] when subsetting preprocessor fails, reference the returned face. The caller of the method is expected to destroy the returned result.
Behdad Esfahbod 9b5b4da0 2022-12-20T09:57:32 [varc] Set coordinates as absolute values
Behdad Esfahbod 80e68f09 2022-12-19T19:15:44 [VarC] Change rotation/skew representation Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/77
Garret Rieger 1840b02e 2022-12-19T20:06:32 [subset] Don't gate access to the table repacker. Any table with an object graph should repack correctly.
Behdad Esfahbod 03a16856 2022-12-19T17:11:34 [VarC] Change representation of scale from 4.12 to 6.10 Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/76
Matthias Clasen c292e577 2022-12-19T12:40:11 Fix a typo
Matthias Clasen b795246f 2022-12-19T06:30:28 [draw] Clarify the docs Disambiguate the origin of draw_data and user_data, this had me confused a few times. Fixes: https://github.com/harfbuzz/harfbuzz/issues/3955
Matthias Clasen eddb408f 2022-12-19T12:19:48 [draw] Small doc fix
Khaled Hosny bc4c290b 2022-12-19T00:39:35 [doc] Workaround gtk-doc limitation with HB_DEPRECATED_FOR See https://github.com/harfbuzz/harfbuzz/issues/3957#issuecomment-1356890525
Khaled Hosny f9e1192d 2022-12-18T23:58:36 [ot-tag] Document two deprecated symbols See https://github.com/harfbuzz/harfbuzz/issues/3957
Khaled Hosny 947e01a7 2022-12-18T23:40:01 [subset] Suppress gtk-doc warning
Nirbheek Chauhan 7be06f63 2022-12-18T07:10:32 meson: Override dependencies to improve usage as a subproject With this change, harfbuzz can be consumed as a subproject without making any changes to the build files of a project. All you need to do is provide a wrap file with a `[provide]` section: https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section This is also necessary because otherwise projects need to hard-code the subproject name, which might be `harfbuzz` when using `wrap-git` or `harfbuzz-6.0.0` when using `wrap-file` (to build from a release tarball). This can cause conflicts between different subprojects that consume harfbuzz differently. Other projects like glib, cairo, pango, etc already do this.
Behdad Esfahbod 206957ae 2022-12-17T08:57:40 [COLR] Change recursion limit back to 128
Khaled Hosny afcae83a 2022-12-16T23:14:57 6.0.0
Matthias Clasen a98c6fdd 2022-12-16T14:04:54 Mark an argument as unused
Matthias Clasen 601d3806 2022-12-16T13:34:15 COLRv1: Revamp extents variation Try to do this a cleaner way.
Behdad Esfahbod 51a17201 2022-12-16T12:28:30 [open-type] In to_float() take offset as float
Behdad Esfahbod f252cf80 2022-12-16T12:03:51 [open-type] Allow passing an offset to to_float()
Behdad Esfahbod 6ae35365 2022-12-16T11:43:38 Fix build
Behdad Esfahbod e957391e 2022-12-16T11:33:04 [colr] Add NoVariable::varIdxBase
Behdad Esfahbod e06de98c 2022-12-16T11:31:00 [var-common] Make VarInstancer take an offset
Behdad Esfahbod 251f9f62 2022-12-16T11:29:51 [open-type] Add VarIdx::add()
Behdad Esfahbod bf2ae3f0 2022-12-16T11:26:24 [open-type] Add static_assert for NO_VARIATION
Matthias Clasen d4496e64 2022-12-16T12:19:39 COLRv1: Apply variations correctly The variations are for xMin, yMin, xMAx, yMax. Apply them before converting to extents..
Matthias Clasen 193e0e3e 2022-12-15T00:32:11 Cosmetic: typo fix
Garret Rieger b5acde43 2022-12-13T22:04:19 [subset] check pending/subsetted tag sets for alloc failure.
Jordan Petridis 79285a99 2022-12-13T20:14:20 VarC: cast ints (#3934) msvc is rightfully complaining that the types on the sides of the ternary are not matching: ``` C:\pango\subprojects\harfbuzz\src\OT\glyf\VarCompositeGlyph.hh(317): error C2446: ':': no conversion from 'const OT::HBUINT16' to 'const OT::HBUINT8' ```
Behdad Esfahbod 300d82ce 2022-12-13T10:48:56 Fix compiler warning
Behdad Esfahbod 199345eb 2022-12-12T18:37:10 Merge pull request #3928 from harfbuzz/colrv1-extents COLRv1: use ClipBoxes for extents
Behdad Esfahbod bd7cb384 2022-12-12T14:10:13 [VarC] Remove unused variable
Behdad Esfahbod 51d3ce39 2022-12-12T14:07:44 Merge pull request #3933 from googlefonts/cff [subset] Fix infinite loop when instancing CFF fonts
Behdad Esfahbod 1b278c76 2022-12-12T13:57:05 [VarC] Update for new format https://github.com/harfbuzz/boring-expansion-spec/issues/71
Garret Rieger 64cbe8b9 2022-12-12T20:41:40 [subset] Also note that only full instancing works.
Garret Rieger 0da59f86 2022-12-12T20:26:11 [subset] note that CFF/CFF2 instancing is not yet supported.
Garret Rieger 38a96288 2022-12-12T20:13:17 [subset] simplify handling of table subsetting depedencies. Allow the dependency checker to see all tables that will be subset. Use this to fix the HMTX/VMTX dep check against glyf. Don't delay hmtx/vmtx subsetting if no glyf table is present.
Garret Rieger 0853e5d9 2022-12-12T19:43:31 [subset] if table dependencies can't be resolved fail the subset. Avoids getting stuck in an infinite loop.
Behdad Esfahbod 6bb478ee 2022-12-12T11:39:06 [VarC] Clamp after addition
Behdad Esfahbod 80a5011e 2022-12-12T11:37:59 [VarC] Fix coord setting Those are additive.
Behdad Esfahbod 4e9a6cfb 2022-12-12T10:20:51 [COLR] Use VarStoreInstancer
Behdad Esfahbod a3a3d37b 2022-12-12T10:17:20 [var] Add VarStoreInstancer
Behdad Esfahbod c64661b2 2022-12-12T10:11:02 [COLR] Fix variation code
Behdad Esfahbod ff332b14 2022-12-11T21:05:14 [COLR] Handle HB_OT_LAYOUT_NO_VARIATIONS_INDEX
Behdad Esfahbod 9a3f0be2 2022-12-11T13:40:53 [COLR] Apply variations in get_extent
Behdad Esfahbod 68964efa 2022-12-11T13:21:01 [COLR] Use bsearch in get_extents
Behdad Esfahbod d0ee5a45 2022-12-11T13:13:35 [COLR] Return false from get_extents if table version not 1
Behdad Esfahbod b3d6a5ef 2022-12-11T13:04:24 [colr] Minor no behavior change
Matthias Clasen 7a748ad4 2022-12-10T19:59:03 COLRv1: use ClipBoxes for extents This is a first step; ultimatively, we should compute the extents is ClipBoxes are missing.
Behdad Esfahbod d36a0f8c 2022-12-11T13:12:19 [COLR] Add TODO
Behdad Esfahbod a3068206 2022-12-11T13:03:55 [colr] Use SortedArray instead of Array
Behdad Esfahbod b9d5e7a8 2022-12-11T12:54:19 [colr] Set HB_COLRV1_MAX_NESTING_LEVEL to 16 Was 100. That seemed excessive.
Behdad Esfahbod c17afa48 2022-12-11T12:53:55 [colr] Remove COLRV1_ENABLE_SUBSETTING
Behdad Esfahbod 9ab2c803 2022-12-11T12:00:54 Revert "[glyf] Use component phantom points after transformation" This reverts commit a756bd1944404da6e53173c4061a2aef262e60f3. Fixes https://github.com/harfbuzz/harfbuzz/issues/3929
Behdad Esfahbod 7f73b57b 2022-12-10T17:35:52 [subset] Graduate L1 instancing API from experimental Fixes https://github.com/harfbuzz/harfbuzz/issues/3926
Khaled Hosny 0f4e38cd 2022-12-10T16:39:26 [subset] Small doc fixes
Behdad Esfahbod bf2e8175 2022-12-09T23:15:26 [VarComposites] Support GID24
Behdad Esfahbod 10d38dcd 2022-12-09T19:19:57 [varc] Change format slightly Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/70
Behdad Esfahbod af450a75 2022-12-09T19:05:16 [config] Use HB_EXPERIMENTAL_API instead of adhoc HB_EXPERIMENTAL
Behdad Esfahbod 5cf0b9ae 2022-12-09T18:59:43 [varc] Mark as experimental feature with HB_NO_VAR_COMPOSITES
Behdad Esfahbod 82b4f379 2022-12-09T18:45:37 [coord-setter] Don't modify font coords
Behdad Esfahbod e9e503b8 2022-12-09T18:42:46 [Glyph] Pass down coords to get_points
Behdad Esfahbod 8e468700 2022-12-09T18:35:30 [gvar] Take coords in instead of font in apply_deltas_to_points