|
30664550
|
2022-12-25T19:03:50
|
|
Work on proper build integration
Install hb-cairo.h and define HB_HAS_CAIRO.
|
|
bb640d40
|
2022-12-25T16:55:27
|
|
[hb-cairo] Use nullptr instead of NULL
|
|
bf52386c
|
2022-12-25T16:10:31
|
|
[cairo] Silence warning
|
|
e594780e
|
2022-12-25T16:05:33
|
|
[hb-cairo] Some header tweaks
|
|
b3a36566
|
2022-12-25T16:53:54
|
|
[hb-cairo] Minor
|
|
1ad24421
|
2022-12-25T15:55:14
|
|
[hb-cairo] Rename files to C++
|
|
a7c2e839
|
2022-12-25T16:59:58
|
|
[hb-cairo] Prefix internal methods
|
|
3a11a09f
|
2022-12-25T16:53:21
|
|
[hb-cairo] Rename cairo_extend
|
|
5c3da76a
|
2022-12-25T15:04:13
|
|
[hb-cairo] Change API again
We need to work with a hb-font for variations and font-funcs
to be fetched properly.
|
|
9f7538c2
|
2022-12-25T13:46:37
|
|
[hb-cairo] Change API
|
|
20a50acc
|
2022-12-25T16:09:26
|
|
[hb-cairo] Make hb_cairo_glyphs_from_buffer public
|
|
767bdd43
|
2022-12-25T10:32:33
|
|
wip: Add libharfbuzz-cairo
This library will provide integration with cairo
for font rendering.
|
|
c3a8c6bb
|
2022-12-26T15:38:24
|
|
[paint] More docs
|
|
ae208963
|
2022-12-26T12:30:39
|
|
Add hb-limits.hh
|
|
5f5fa4b2
|
2022-12-26T13:47:35
|
|
[ft-colr] Limit the size of the graph we follow
This adds the same check that we already do in
the native implementation.
|
|
ea2892c3
|
2022-12-26T10:10:39
|
|
[paint] Limit the size of the graph we follow
In addition to checking the depth, also count
the number of edges in the graph we've followed,
and give up after 1024.
|
|
5dd69d81
|
2022-12-26T08:23:55
|
|
Fix hb_ot_color_has_paint
We must no access v1 data without checking that
version is 1. A bit of a trap.
|
|
b8f2281c
|
2022-12-26T07:59:01
|
|
Add hb_ot_color_glyph_has_paint
|
|
79c5bb92
|
2022-12-24T12:57:33
|
|
[ft] Work around a freetype bug
|
|
fa1cf15e
|
2022-12-24T11:56:23
|
|
[ft-colr] Whitespace
|
|
5343eac1
|
2022-12-24T11:53:43
|
|
[ft-colr] Minor use context instead of direct access
|
|
0b6468b8
|
2022-12-24T11:50:57
|
|
[ft-colr] Minor
|
|
1c595ec1
|
2022-12-24T11:40:44
|
|
[paint-extents] Lazy-load paint_extents funcs
|
|
4280ed29
|
2022-12-24T11:38:32
|
|
[paint-extents] Add missing file
|
|
2c0ab34d
|
2022-12-24T11:37:59
|
|
[paint-extents] Lazy-load draw-funcs
|
|
11036ed7
|
2022-12-24T11:30:45
|
|
[paint] Add hb-paint-extents.cc
|
|
959996d7
|
2022-12-24T11:22:16
|
|
[paint-extents] Namespace
|
|
62bd26dd
|
2022-12-24T11:01:32
|
|
[ft] Pick largest bitmap size
|
|
d35dff02
|
2022-12-24T10:59:17
|
|
[cbdt] Remove extra clip
|
|
f70c5d6f
|
2022-12-24T10:56:06
|
|
[paint] Continue returning bool from paint_image()
https://github.com/harfbuzz/harfbuzz/commit/6ccbfabd4fcc5d4cca99be10552c270205fd7792#commitcomment-94127307
|
|
6ccbfabd
|
2022-12-24T10:44:25
|
|
[paint] Return bool from paint_image()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
|
|
346331d3
|
2022-12-24T10:35:26
|
|
[ft] Fix negative xscale
|
|
9376e7a9
|
2022-12-24T10:31:30
|
|
[ft] Remove stale TODO
|
|
a7fd48c4
|
2022-12-24T10:28:41
|
|
[ft] Comment
|
|
bb45ba2f
|
2022-12-24T10:25:43
|
|
[ft] Fix negative y-scale
|
|
aba2063c
|
2022-12-24T10:15:47
|
|
[paint-extents] Comments
|
|
988ca459
|
2022-12-24T10:12:35
|
|
[paint-extents] Minor refactor
|
|
f8bf9879
|
2022-12-24T10:04:48
|
|
[paint-extents] Refactor code
|
|
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.
|
|
f7eebc39
|
2022-12-23T18:52:46
|
|
[paint-extents] Shorten enum addressing
|
|
0110bdb3
|
2022-12-23T18:17:05
|
|
[paint-extents] Streamline extents_t more
|
|
9f3e050b
|
2022-12-23T18:15:21
|
|
[paint-extents] Streamline extents_t
|
|
0d129ae3
|
2022-12-23T18:00:38
|
|
Fix warning
|
|
73e48b93
|
2022-12-23T17:55:09
|
|
[colr] Push clipbox or computed clip
|
|
02684751
|
2022-12-23T17:33:13
|
|
[paint-extents] Clean up
|
|
dbea503a
|
2022-12-23T17:28:46
|
|
[colr] Return true extents
|
|
f9c2e30e
|
2022-12-23T17:13:35
|
|
[paint-extents] Better handle empty glyphs
|
|
885dbcfb
|
2022-12-23T19:07:32
|
|
Skip empty outlines
|
|
bd61e645
|
2022-12-23T16:59:12
|
|
[paint-extents] Use hb_min/hb_max
|
|
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.
|
|
79229cea
|
2022-12-23T18:33:53
|
|
Get outline extents manually
|
|
47c896f0
|
2022-12-23T16:20:44
|
|
[paint-extents] Hook it up, kinda
|
|
7fbaaebe
|
2022-12-23T15:37:16
|
|
[paint-extents] Finish off
Untested and unused.
|
|
8ca78d15
|
2022-12-23T15:21:48
|
|
[paint-extend] More
|
|
23a2d4db
|
2022-12-23T15:10:26
|
|
[paint-extents] More
|
|
d7435b10
|
2022-12-23T15:05:30
|
|
[paint-extents] Flesh out more
|
|
c37a1ead
|
2022-12-23T14:57:12
|
|
[paint-extents] Flesh out some more
|
|
268d8b7d
|
2022-12-23T14:45:56
|
|
[paint-extents] Start out
|
|
c5f90387
|
2022-12-22T12:16:55
|
|
[paint] Add bitmap width/height to paint_image callback
Such that we can add raw data as well.
|
|
a6f813b6
|
2022-12-15T00:05:27
|
|
Implement hb_color_line_get_extend
|
|
eef47f23
|
2022-12-22T14:16:02
|
|
[paint] Fix the docs
|
|
3937d6b0
|
2022-12-14T23:58:47
|
|
Implement hb_color_line_t
|
|
64f1b55d
|
2022-12-14T23:58:25
|
|
api fixes: use floats consistently
|
|
3c972867
|
2022-12-22T11:40:06
|
|
More s/hb_font_get_glyph_shape/hb_font_draw_glyph/
|
|
627c857f
|
2022-12-14T22:36:54
|
|
rename pop_group_and_composite
|
|
c9350838
|
2022-12-14T22:32:40
|
|
assorted fixes and changes
|
|
72a169c8
|
2022-12-22T11:26:10
|
|
[ft] Paint COLRv0 glyphs
|
|
42324aef
|
2022-12-14T22:04:46
|
|
hb-paint: annotation fix
|
|
bb807f47
|
2022-12-22T10:51:26
|
|
[ft] Implement paint_glyph() for outline glyphs
|
|
8377341b
|
2022-12-14T22:03:52
|
|
wip: implement paint_glyph
|
|
efe13a19
|
2022-12-14T09:50:52
|
|
fix introspection
|
|
91c88050
|
2022-12-22T10:42:27
|
|
[ft] Use new name for draw API
|
|
6a48ac42
|
2022-12-14T06:55:01
|
|
COLR implementation
|
|
71efa0dc
|
2022-12-14T06:22:00
|
|
wip: hb_font_paint_glyph
|
|
c27eefec
|
2022-12-22T10:41:13
|
|
Revert "Drop the deprecation"
This reverts commit 3904e66777339a3d420ece1c2b7d550949aa3946.
|
|
83d0a49f
|
2022-12-13T21:14:25
|
|
wip: hb-paint
|
|
f3985d94
|
2022-12-22T10:11:28
|
|
[paint] Fix drawing non-color glyphs
|
|
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.
|
|
6c71c530
|
2022-12-21T10:54:22
|
|
[paint] Rename hb_paint_context_t to hb_ot_paint_context_t
|
|
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.
|
|
32ce29f9
|
2022-12-21T07:42:36
|
|
[font] Move hb_font_t typedef
This is needed to avoid circular header dependencies.
|
|
8364d913
|
2022-12-21T00:59:13
|
|
Document hb_font_set_draw_glyph_func
|
|
a20999b9
|
2022-12-21T00:20:37
|
|
[font] Fix a few documentation mistakes
|
|
2333a566
|
2022-12-20T22:43:04
|
|
Drop the deprecation
No need to drop hb_font_get_glyph_shape, just
because hb_font_draw_glyph does the same.
Its fine to keep both around.
|
|
14b026ff
|
2022-12-19T13:53:49
|
|
[draw] Add hb_font_draw_glyph
hb_font_draw_glyph(), hb_font_draw_glyph_func_t and
hb_font_funcs_set_draw_glyph_func() are just alternative
names for hb_font_get_glyph_shape and friends, to better
align with hb_font_paint_glyph.
|
|
08da1265
|
2022-12-19T14:36:29
|
|
[docs] Linkify links
|
|
9437f719
|
2022-12-19T14:29:39
|
|
[paint] Document hb_paint_extend_t
|
|
3a2634e2
|
2022-12-19T13:48:08
|
|
[paint] Document hb_font_paint_glyph_func_t
|
|
0f287e75
|
2022-12-19T13:45:45
|
|
[paint] Rename hb_font_get_glyph_paint_func_t
The 'get' was just there due to implementation
choices. Work around that and call the vfunc
what it should be: hb_font_paint_glyph_func_t.
|
|
ddd20392
|
2022-12-19T12:20:07
|
|
[paint] Improve the docs
|
|
d9875ddc
|
2022-12-23T12:37:42
|
|
[ft-colr] Add depth counter
|
|
3a219cfa
|
2022-12-19T11:15:37
|
|
[config] Make HB_LEAN imply HB_NO_PAINT
|
|
0ef2dc9b
|
2022-12-19T10:02:17
|
|
Drop a TODO
This was addressed in 61bd602791d801
|
|
96cda388
|
2022-12-19T09:59:33
|
|
[paint] Clarify docs
Spell out where the different datas originate.
|