Behdad Esfahbod
|
a7c2e839e1
|
[hb-cairo] Prefix internal methods
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
bb640d4031
|
[hb-cairo] Use nullptr instead of NULL
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
b3a3656683
|
[hb-cairo] Minor
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
3a11a09f54
|
[hb-cairo] Rename cairo_extend
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
20a50acc91
|
[hb-cairo] Make hb_cairo_glyphs_from_buffer public
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
bf52386cfa
|
[cairo] Silence warning
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
e594780e28
|
[hb-cairo] Some header tweaks
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
1ad24421a6
|
[hb-cairo] Rename files to C++
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
5c3da76a43
|
[hb-cairo] Change API again
We need to work with a hb-font for variations and font-funcs
to be fetched properly.
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
9f7538c260
|
[hb-cairo] Change API
|
2022-12-26 17:01:08 -07:00 |
Matthias Clasen
|
767bdd43a6
|
wip: Add libharfbuzz-cairo
This library will provide integration with cairo
for font rendering.
|
2022-12-26 17:01:08 -07:00 |
Behdad Esfahbod
|
c3a8c6bb8b
|
[paint] More docs
|
2022-12-26 15:38:24 -07:00 |
Behdad Esfahbod
|
ae208963df
|
Add hb-limits.hh
|
2022-12-26 12:30:39 -07:00 |
Matthias Clasen
|
5f5fa4b219
|
[ft-colr] Limit the size of the graph we follow
This adds the same check that we already do in
the native implementation.
|
2022-12-26 12:20:04 -07:00 |
Matthias Clasen
|
ea2892c30e
|
[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.
|
2022-12-26 12:20:04 -07:00 |
Matthias Clasen
|
5dd69d81b0
|
Fix hb_ot_color_has_paint
We must no access v1 data without checking that
version is 1. A bit of a trap.
|
2022-12-26 11:29:26 -07:00 |
Matthias Clasen
|
b8f2281c6c
|
Add hb_ot_color_glyph_has_paint
|
2022-12-26 11:29:26 -07:00 |
Behdad Esfahbod
|
79c5bb92ce
|
[ft] Work around a freetype bug
|
2022-12-24 12:57:33 -07:00 |
Behdad Esfahbod
|
fa1cf15e5d
|
[ft-colr] Whitespace
|
2022-12-24 11:56:23 -07:00 |
Behdad Esfahbod
|
5343eac161
|
[ft-colr] Minor use context instead of direct access
|
2022-12-24 11:53:43 -07:00 |
Behdad Esfahbod
|
0b6468b820
|
[ft-colr] Minor
|
2022-12-24 11:50:57 -07:00 |
Behdad Esfahbod
|
1c595ec17f
|
[paint-extents] Lazy-load paint_extents funcs
|
2022-12-24 11:40:44 -07:00 |
Behdad Esfahbod
|
4280ed290d
|
[paint-extents] Add missing file
|
2022-12-24 11:38:32 -07:00 |
Behdad Esfahbod
|
2c0ab34d03
|
[paint-extents] Lazy-load draw-funcs
|
2022-12-24 11:37:59 -07:00 |
Behdad Esfahbod
|
11036ed71e
|
[paint] Add hb-paint-extents.cc
|
2022-12-24 11:30:45 -07:00 |
Behdad Esfahbod
|
959996d709
|
[paint-extents] Namespace
|
2022-12-24 11:22:16 -07:00 |
Behdad Esfahbod
|
62bd26dda3
|
[ft] Pick largest bitmap size
|
2022-12-24 11:01:32 -07:00 |
Behdad Esfahbod
|
d35dff020f
|
[cbdt] Remove extra clip
|
2022-12-24 10:59:17 -07:00 |
Behdad Esfahbod
|
f70c5d6f0d
|
[paint] Continue returning bool from paint_image()
6ccbfabd4f (commitcomment-94127307)
|
2022-12-24 10:56:06 -07:00 |
Behdad Esfahbod
|
6ccbfabd4f
|
[paint] Return bool from paint_image()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
|
2022-12-24 10:44:25 -07:00 |
Behdad Esfahbod
|
346331d375
|
[ft] Fix negative xscale
|
2022-12-24 10:35:26 -07:00 |
Behdad Esfahbod
|
9376e7a930
|
[ft] Remove stale TODO
|
2022-12-24 10:31:30 -07:00 |
Behdad Esfahbod
|
a7fd48c408
|
[ft] Comment
|
2022-12-24 10:28:41 -07:00 |
Behdad Esfahbod
|
bb45ba2f9f
|
[ft] Fix negative y-scale
|
2022-12-24 10:25:43 -07:00 |
Behdad Esfahbod
|
aba2063c22
|
[paint-extents] Comments
|
2022-12-24 10:15:47 -07:00 |
Behdad Esfahbod
|
988ca459f3
|
[paint-extents] Minor refactor
|
2022-12-24 10:12:35 -07:00 |
Behdad Esfahbod
|
f8bf98798d
|
[paint-extents] Refactor code
|
2022-12-24 10:11:04 -07:00 |
Matthias Clasen
|
4816be9ab5
|
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.
|
2022-12-24 09:16:29 -05:00 |
Behdad Esfahbod
|
f7eebc397c
|
[paint-extents] Shorten enum addressing
|
2022-12-23 18:52:46 -07:00 |
Behdad Esfahbod
|
0110bdb3ea
|
[paint-extents] Streamline extents_t more
|
2022-12-23 18:17:05 -07:00 |
Behdad Esfahbod
|
9f3e050b99
|
[paint-extents] Streamline extents_t
|
2022-12-23 18:15:21 -07:00 |
Behdad Esfahbod
|
0d129ae308
|
Fix warning
|
2022-12-23 18:00:38 -07:00 |
Behdad Esfahbod
|
73e48b9357
|
[colr] Push clipbox or computed clip
|
2022-12-23 17:55:09 -07:00 |
Behdad Esfahbod
|
02684751bd
|
[paint-extents] Clean up
|
2022-12-23 17:33:13 -07:00 |
Behdad Esfahbod
|
dbea503a38
|
[colr] Return true extents
|
2022-12-23 17:28:46 -07:00 |
Behdad Esfahbod
|
f9c2e30e01
|
[paint-extents] Better handle empty glyphs
|
2022-12-23 17:13:35 -07:00 |
Matthias Clasen
|
885dbcfba0
|
Skip empty outlines
|
2022-12-23 19:07:32 -05:00 |
Behdad Esfahbod
|
bd61e645ff
|
[paint-extents] Use hb_min/hb_max
|
2022-12-23 16:59:12 -07:00 |
Behdad Esfahbod
|
56a48f8b0a
|
[paint] Don't use extents in hb-view
Let the clipbox do its magic. Currently works for ft backend only.
|
2022-12-23 16:45:04 -07:00 |
Matthias Clasen
|
79229cea17
|
Get outline extents manually
|
2022-12-23 18:41:24 -05:00 |