|
f70c5d6f
|
2022-12-24T10:56:06
|
|
[paint] Continue returning bool from paint_image()
https://github.com/harfbuzz/harfbuzz/commit/6ccbfabd4fcc5d4cca99be10552c270205fd7792#commitcomment-94127307
|
|
82e23f32
|
2022-12-17T00:33:59
|
|
paint: Add a paint-image callback
This will be used for image blobs like pngs and svgs.
FIXME: nail down and document sizing.
|
|
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.
|
|
64f1b55d
|
2022-12-14T23:58:25
|
|
api fixes: use floats consistently
|
|
627c857f
|
2022-12-14T22:36:54
|
|
rename pop_group_and_composite
|
|
c9350838
|
2022-12-14T22:32:40
|
|
assorted fixes and changes
|
|
83d0a49f
|
2022-12-13T21:14:25
|
|
wip: hb-paint
|
|
c5f90387
|
2022-12-22T12:16:55
|
|
[paint] Add bitmap width/height to paint_image callback
Such that we can add raw data as well.
|
|
237955df
|
2022-12-22T08:12:47
|
|
[paint] Add slant to image() callback
And slant images in hb-view.
|
|
c2219339
|
2022-12-21T18:39:27
|
|
[paint] Preserve foreground information
|
|
6387004c
|
2022-12-21T16:43:19
|
|
[paint] Simplify api
Drop the hb_paint_context_t struct from the API, and
only pass the font where we need it.
|
|
71bd5a0d
|
2022-12-21T16:18:46
|
|
[paint] Resolve colors
We don't need to pass the index/alpha pairs to
client callbacks, and can just resolve the colors
internally.
Update test results.
|
|
9be01b6b
|
2022-12-21T14:04:32
|
|
[paint] Pass hb_paint_context_t along
Replace the font argument with a hb_paint_context_t
that carries the font, the palette index and the
foreground color.
The hb_font_paint_glyph() api now takes the palette
index and the foreground color as extra arguments.
Update all callers and regenerate test results.
|
|
84953953
|
2022-12-21T09:03:13
|
|
[paint] Fix slant
|
|
97224f3b
|
2022-12-21T02:11:36
|
|
[paint] Pass font to all callbacks
This will lead to easier implementations.
At the same time, we change the push_clip_glyph
callback to use the font as-is, no unscaling needed.
Update all callers and expected test results.
|
|
0a2f3673
|
2022-12-17T13:51:23
|
|
[paint] Use tags for image formats
This fits better with the rest of the
HarfBuzz API.
|
|
4b0285ba
|
2022-12-17T11:18:42
|
|
[colr] Use slant_xy
|
|
a935e4b0
|
2022-12-17T12:59:58
|
|
[paint] Add synthetic slant to root transform
|
|
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.
|
|
485ba9be
|
2022-12-17T12:25:04
|
|
[paint] Spell out rectangle in the API
No need to abbreviate this.
|
|
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.
|