src


Log

Author Commit Date CI Message
Behdad Esfahbod 2c0ab34d 2022-12-24T11:37:59 [paint-extents] Lazy-load draw-funcs
Behdad Esfahbod 11036ed7 2022-12-24T11:30:45 [paint] Add hb-paint-extents.cc
Behdad Esfahbod 959996d7 2022-12-24T11:22:16 [paint-extents] Namespace
Behdad Esfahbod 62bd26dd 2022-12-24T11:01:32 [ft] Pick largest bitmap size
Behdad Esfahbod d35dff02 2022-12-24T10:59:17 [cbdt] Remove extra clip
Behdad Esfahbod f70c5d6f 2022-12-24T10:56:06 [paint] Continue returning bool from paint_image() https://github.com/harfbuzz/harfbuzz/commit/6ccbfabd4fcc5d4cca99be10552c270205fd7792#commitcomment-94127307
Behdad Esfahbod 6ccbfabd 2022-12-24T10:44:25 [paint] Return bool from paint_image() Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
Behdad Esfahbod 346331d3 2022-12-24T10:35:26 [ft] Fix negative xscale
Behdad Esfahbod 9376e7a9 2022-12-24T10:31:30 [ft] Remove stale TODO
Behdad Esfahbod a7fd48c4 2022-12-24T10:28:41 [ft] Comment
Behdad Esfahbod bb45ba2f 2022-12-24T10:25:43 [ft] Fix negative y-scale
Behdad Esfahbod aba2063c 2022-12-24T10:15:47 [paint-extents] Comments
Behdad Esfahbod 988ca459 2022-12-24T10:12:35 [paint-extents] Minor refactor
Behdad Esfahbod f8bf9879 2022-12-24T10:04:48 [paint-extents] Refactor code
Matthias Clasen 4816be9a 2022-12-24T07:37:04 Work around cairo limitations If we just draw an image, cairos recording surface complains that it is unbounded. Its not true of course. To make things work, clip to the extents.
Behdad Esfahbod f7eebc39 2022-12-23T18:52:46 [paint-extents] Shorten enum addressing
Behdad Esfahbod 0110bdb3 2022-12-23T18:17:05 [paint-extents] Streamline extents_t more
Behdad Esfahbod 9f3e050b 2022-12-23T18:15:21 [paint-extents] Streamline extents_t
Behdad Esfahbod 0d129ae3 2022-12-23T18:00:38 Fix warning
Behdad Esfahbod 73e48b93 2022-12-23T17:55:09 [colr] Push clipbox or computed clip
Behdad Esfahbod 02684751 2022-12-23T17:33:13 [paint-extents] Clean up
Behdad Esfahbod dbea503a 2022-12-23T17:28:46 [colr] Return true extents
Behdad Esfahbod f9c2e30e 2022-12-23T17:13:35 [paint-extents] Better handle empty glyphs
Matthias Clasen 885dbcfb 2022-12-23T19:07:32 Skip empty outlines
Behdad Esfahbod bd61e645 2022-12-23T16:59:12 [paint-extents] Use hb_min/hb_max
Behdad Esfahbod 56a48f8b 2022-12-23T16:44:06 [paint] Don't use extents in hb-view Let the clipbox do its magic. Currently works for ft backend only.
Matthias Clasen 79229cea 2022-12-23T18:33:53 Get outline extents manually
Behdad Esfahbod 47c896f0 2022-12-23T16:20:44 [paint-extents] Hook it up, kinda
Behdad Esfahbod 7fbaaebe 2022-12-23T15:37:16 [paint-extents] Finish off Untested and unused.
Behdad Esfahbod 8ca78d15 2022-12-23T15:21:48 [paint-extend] More
Behdad Esfahbod 23a2d4db 2022-12-23T15:10:26 [paint-extents] More
Behdad Esfahbod d7435b10 2022-12-23T15:05:30 [paint-extents] Flesh out more
Behdad Esfahbod c37a1ead 2022-12-23T14:57:12 [paint-extents] Flesh out some more
Behdad Esfahbod 268d8b7d 2022-12-23T14:45:56 [paint-extents] Start out
Matthias Clasen 7fc3fdac 2022-12-23T09:16:26 [ft-paint] Optimize away some transforms
Matthias Clasen ddd20392 2022-12-19T12:20:07 [paint] Improve the docs
Matthias Clasen 3a219cfa 2022-12-19T11:15:37 [config] Make HB_LEAN imply HB_NO_PAINT
Matthias Clasen 586d1758 2022-12-23T09:21:14 [ft-paint] Fix an oversight
Matthias Clasen 0ef2dc9b 2022-12-19T10:02:17 Drop a TODO This was addressed in 61bd602791d801
Matthias Clasen 96cda388 2022-12-19T09:59:33 [paint] Clarify docs Spell out where the different datas originate.
Matthias Clasen 092637f9 2022-12-23T09:14:11 [ft-paint] Fix rounding
Matthias Clasen fe08e956 2022-12-23T09:08:10 [ft-paint] Fix a case of x/y confusion
Matthias Clasen 0d5256e5 2022-12-23T02:41:08 [ft-paint] Fix some fixed->float conversions
Matthias Clasen 0800d187 2022-12-19T00:59:40 Try to fix autotools build
Behdad Esfahbod 5ac21886 2022-12-19T10:26:54 [paint] A doc fix
Matthias Clasen 07ba5be3 2022-12-23T01:10:35 [paint] Documentation tweaks
Matthias Clasen 7c12db46 2022-12-18T23:36:05 Try to fix msvc build
Matthias Clasen 21f78c87 2022-12-23T00:30:40 [paint] Document that colors are unpremultiplied And mention that gradient interpolation must happen in premultiplied space.
Behdad Esfahbod 5d1fc9ee 2022-12-18T14:25:39 [paint] Fix annotations
Matthias Clasen b6e98cf7 2022-12-23T00:18:40 [colr] Add more docs State explicitly that palette entries are unpremultipled, and link to the spec.
Behdad Esfahbod ee220446 2022-12-18T13:50:34 [paint] Add get_empty / [sg]et_user_data
Behdad Esfahbod 21a9db87 2022-12-18T13:47:22 [draw] Add get_empty / [sg]et_user_data
Behdad Esfahbod 9a7422c5 2022-12-18T13:46:32 [font] Minor doc fix
Behdad Esfahbod a9b37206 2022-12-18T13:37:32 [font] Minor rename
Matthias Clasen a634f6b4 2022-12-23T00:18:40 [colr] Add more docs State explicitly that palette entries are unpremultipled, and link to the spec.
Behdad Esfahbod 815544a1 2022-12-18T13:33:54 [font] Adapt paint_glyph to parent transform
Behdad Esfahbod a02c2a91 2022-12-22T22:05:09 [ft-paint] Apply alpha correctly
Behdad Esfahbod 85917e5b 2022-12-18T13:08:45 [paint] Fix docs
Behdad Esfahbod 14bf3aaa 2022-12-18T12:59:35 [colr] Make paint_image work again
Behdad Esfahbod 6ebcc9d2 2022-12-22T21:23:45 [ft-paint] Hook up gradients
Behdad Esfahbod 7accbe97 2022-12-18T12:51:26 [util] Fix argument order and root transform PNGs
Behdad Esfahbod fe4e9bd9 2022-12-22T20:14:19 [colr] Add public vtable for hb_color_line_t
Behdad Esfahbod 7c9e42ed 2022-12-22T19:49:06 [colr] Fix transform hell
Behdad Esfahbod 569d5b43 2022-12-22T18:00:02 [ft-paint] Remove dead code
Behdad Esfahbod cfdc34b4 2022-12-22T17:58:36 [ft-paint] Implement FT_COLR_PAINTFORMAT_SKEW
Matthias Clasen f1f8d1e8 2022-12-18T02:43:25 Small documentation addition
Behdad Esfahbod 64cf17ec 2022-12-22T17:55:25 [ft-paint] Fix center translation
Matthias Clasen 021618e9 2022-12-18T00:12:32 [colr] Add hb_ot_color_has_paint This is a counterpart to hb_ot_color_has_layers for COLRv1 data.
Matthias Clasen 63fcb26c 2022-12-17T22:41:34 Add some more docs
Behdad Esfahbod ddbe4e52 2022-12-22T17:54:01 [ft-paint] Implement FT_COLR_PAINTFORMAT_ROTATE
Behdad Esfahbod 16598e02 2022-12-22T17:51:35 [ft-paint] Default
Matthias Clasen 451414a2 2022-12-17T18:14:31 [paint] Documentation fixes
Behdad Esfahbod a0f7f9e6 2022-12-22T17:50:35 [ft-paint] Implement FT_COLR_PAINTFORMAT_COMPOSITE
Behdad Esfahbod 0ec20144 2022-12-22T17:40:53 [ft] Implement FT_COLR_PAINTFORMAT_COLR_GLYPH
Matthias Clasen 0c77f1d9 2022-12-17T14:10:28 [paint] Documentation tweaks
Matthias Clasen 0a2f3673 2022-12-17T13:51:23 [paint] Use tags for image formats This fits better with the rest of the HarfBuzz API.
Behdad Esfahbod ac2682c6 2022-12-22T17:36:54 [ft] Start of a COLRv1 renderer
Matthias Clasen 4c728e95 2022-12-17T13:33:56 [colr] Add a todo
Behdad Esfahbod 4b0285ba 2022-12-17T11:18:42 [colr] Use slant_xy
Behdad Esfahbod e2546f5a 2022-12-22T15:50:43 [ft] Add hb-ft-colr.hh
Behdad Esfahbod b9314400 2022-12-17T10:58:52 [colr] Hook up color-line variation
Matthias Clasen a935e4b0 2022-12-17T12:59:58 [paint] Add synthetic slant to root transform
Matthias Clasen 5bd3c07b 2022-12-22T16:23:50 [colr] Don't access baseGlyphList unless v1 This was showing up sporadic crashes due to invalid reads.
Behdad Esfahbod edf27382 2022-12-17T10:47:55 [colr] Try fixing bot build I don't get the error. Let's see. ../../src/harfbuzz/src/hb-ot-color-colr-table.hh:574:66: error: incomplete definition of type 'OT::NoVariable<OT::ColorLine<OT::NoVariable>>'
Matthias Clasen 686e627b 2022-12-17T12:44:16 [paint] Set up root transform in one place Instead of spreading this in all the tables, make hb_paint_funcs_t provide a push/pop_root_transform that does all the setup.
Behdad Esfahbod c6dd56cc 2022-12-17T10:38:23 [colr] Simplify color-stop handling
Matthias Clasen 485ba9be 2022-12-17T12:25:04 [paint] Spell out rectangle in the API No need to abbreviate this.
Matthias Clasen 6909701b 2022-12-22T15:32:09 [paint] Update docs
Matthias Clasen 37f3f0fc 2022-12-17T11:49:18 [paint] Change the image callback Instead of passing the glyph ID, give it the image blob, a mimetype, and glyph extents (if available). Update all callers.
Matthias Clasen ea48d6c2 2022-12-17T11:51:37 Move hb_glyph_extents_t definition
Behdad Esfahbod 381d410b 2022-12-22T13:21:48 [paint] Add HB_PAINT_IMAGE_FORMAT_BGRA and use it in hb-ft Now hb-ft can render color emoji as well. Just left COLRv2.
Behdad Esfahbod b722039c 2022-12-17T10:22:32 [colr] Simplify
Behdad Esfahbod 452cfb95 2022-12-17T10:04:55 [colr] Simplify loop using iterators Or complexify?!
Behdad Esfahbod 601a596c 2022-12-17T09:22:55 [paint] Fix include path
Behdad Esfahbod 8a9069d5 2022-12-17T09:21:08 [colr] Fix radial gradient Broke it when adding variations.
Behdad Esfahbod c5f90387 2022-12-22T12:16:55 [paint] Add bitmap width/height to paint_image callback Such that we can add raw data as well.
Behdad Esfahbod e799c33b 2022-12-17T09:00:20 [paint] Fix function prototype
Behdad Esfahbod 1953d26a 2022-12-17T08:59:33 [colr] Limit recursion depth
Behdad Esfahbod d9875ddc 2022-12-23T12:37:42 [ft-colr] Add depth counter
Matthias Clasen eef47f23 2022-12-22T14:16:02 [paint] Fix the docs