|
c3a8c6bb
|
2022-12-26T15:38:24
|
|
[paint] More docs
|
|
6ccbfabd
|
2022-12-24T10:44:25
|
|
[paint] Return bool from paint_image()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
|
|
bbb89e62
|
2022-12-23T13:30:26
|
|
[paint] Document color lines as transient
Just so people don't get ideas.
|
|
e799c33b
|
2022-12-17T09:00:20
|
|
[paint] Fix function prototype
|
|
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.
|
|
56b02b65
|
2022-12-16T23:58:37
|
|
Update the docs
Mention that the color index will always be 0xFFFF
when using hb_paint API with fonts that don't have
color palettes.
And add an outline about which kinds of glyphs
require which callbacks.
|
|
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.
|
|
07ba5be3
|
2022-12-23T01:10:35
|
|
[paint] Documentation tweaks
|
|
21f78c87
|
2022-12-23T00:30:40
|
|
[paint] Document that colors are unpremultiplied
And mention that gradient interpolation must happen
in premultiplied space.
|
|
5afca91f
|
2022-12-16T06:43:43
|
|
Add some docs
|
|
44c68594
|
2022-12-16T00:48:28
|
|
Some docs
|
|
64f1b55d
|
2022-12-14T23:58:25
|
|
api fixes: use floats consistently
|
|
627c857f
|
2022-12-14T22:36:54
|
|
rename pop_group_and_composite
|
|
fe4e9bd9
|
2022-12-22T20:14:19
|
|
[colr] Add public vtable for hb_color_line_t
|
|
c9350838
|
2022-12-14T22:32:40
|
|
assorted fixes and changes
|
|
42324aef
|
2022-12-14T22:04:46
|
|
hb-paint: annotation fix
|
|
efe13a19
|
2022-12-14T09:50:52
|
|
fix introspection
|
|
83d0a49f
|
2022-12-13T21:14:25
|
|
wip: hb-paint
|
|
6909701b
|
2022-12-22T15:32:09
|
|
[paint] Update docs
|
|
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.
|
|
c5f90387
|
2022-12-22T12:16:55
|
|
[paint] Add bitmap width/height to paint_image callback
Such that we can add raw data as well.
|
|
eef47f23
|
2022-12-22T14:16:02
|
|
[paint] Fix the docs
|
|
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
|
|
f146299a
|
2022-12-21T17:24:02
|
|
[paint] Drop unnecessary api
|
|
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.
|
|
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.
|
|
32ce29f9
|
2022-12-21T07:42:36
|
|
[font] Move hb_font_t typedef
This is needed to avoid circular header dependencies.
|
|
08da1265
|
2022-12-19T14:36:29
|
|
[docs] Linkify links
|
|
9437f719
|
2022-12-19T14:29:39
|
|
[paint] Document hb_paint_extend_t
|
|
96cda388
|
2022-12-19T09:59:33
|
|
[paint] Clarify docs
Spell out where the different datas originate.
|
|
ee220446
|
2022-12-18T13:50:34
|
|
[paint] Add get_empty / [sg]et_user_data
|
|
85917e5b
|
2022-12-18T13:08:45
|
|
[paint] Fix docs
|
|
0c77f1d9
|
2022-12-17T14:10:28
|
|
[paint] Documentation tweaks
|
|
0a2f3673
|
2022-12-17T13:51:23
|
|
[paint] Use tags for image formats
This fits better with the rest of the
HarfBuzz API.
|
|
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.
|