Matthias Clasen
ecd7420456
Debug spew
...
To get a dump of the hb-paint callbacks,
set HB_PAINT_DEBUG=1 when running hb-view.
For now, leave this code in place, since it
comes in handy for various debugging.
2 years ago
Behdad Esfahbod
583f010b05
[ft] Move lock only around clip_glyph
2 years ago
Behdad Esfahbod
2762903909
[ft-colr] Minor
2 years ago
Behdad Esfahbod
3a1385f019
[ft-colr] Simplify color-stop callback
2 years ago
Behdad Esfahbod
1cc3b10008
[ft-colr] Ifdef build for older freetype
2 years ago
Behdad Esfahbod
882c2bca2d
[ft-colr] Add a paint context
2 years ago
Behdad Esfahbod
7a4b4c64f2
[ft-colr] Minor macro
2 years ago
Behdad Esfahbod
c453c2fce9
[ft-colr] Fix color-stop iteration
2 years ago
Matthias Clasen
bbb89e62aa
[paint] Document color lines as transient
...
Just so people don't get ideas.
2 years ago
Behdad Esfahbod
15582d5fc1
[ft-colr] Apply slant to clipbox
2 years ago
Matthias Clasen
7abd5dcf10
[ft-paint] Fix handling of colorstop iters
2 years ago
Matthias Clasen
393bab4ba1
[ft-paint] Apply ClipBox to all glyphs
2 years ago
Matthias Clasen
c11ae85cbf
[ft-paint] Apply root transform
2 years ago
Matthias Clasen
7fc3fdac76
[ft-paint] Optimize away some transforms
2 years ago
Matthias Clasen
586d1758c1
[ft-paint] Fix an oversight
2 years ago
Matthias Clasen
092637f94c
[ft-paint] Fix rounding
2 years ago
Matthias Clasen
fe08e956e0
[ft-paint] Fix a case of x/y confusion
2 years ago
Matthias Clasen
0d5256e5a7
[ft-paint] Fix some fixed->float conversions
2 years ago
Matthias Clasen
07ba5be393
[paint] Documentation tweaks
2 years ago
Matthias Clasen
13e0cb64f4
hb-view: Interpolate gradients premultiplied
...
This is what the specs demand.
2 years ago
Matthias Clasen
21f78c8774
[paint] Document that colors are unpremultiplied
...
And mention that gradient interpolation must happen
in premultiplied space.
2 years ago
Matthias Clasen
b6e98cf758
[colr] Add more docs
...
State explicitly that palette entries are
unpremultipled, and link to the spec.
2 years ago
Behdad Esfahbod
7a2dc5cf5b
[docs] Hook up a couple
2 years ago
Matthias Clasen
a634f6b486
[colr] Add more docs
...
State explicitly that palette entries are
unpremultipled, and link to the spec.
2 years ago
Behdad Esfahbod
a02c2a911c
[ft-paint] Apply alpha correctly
2 years ago
Matthias Clasen
ee7bbdf372
tests: Update expected results
...
These were changed by fixes for glyph transforms.
2 years ago
Matthias Clasen
3993a40703
test: Add some verification hints
2 years ago
Behdad Esfahbod
6ebcc9d2e1
[ft-paint] Hook up gradients
2 years ago
Behdad Esfahbod
fe4e9bd930
[colr] Add public vtable for hb_color_line_t
2 years ago
Behdad Esfahbod
7c9e42ed92
[colr] Fix transform hell
2 years ago
Behdad Esfahbod
569d5b436c
[ft-paint] Remove dead code
2 years ago
Behdad Esfahbod
cfdc34b44d
[ft-paint] Implement FT_COLR_PAINTFORMAT_SKEW
2 years ago
Behdad Esfahbod
64cf17ec8b
[ft-paint] Fix center translation
2 years ago
Behdad Esfahbod
ddbe4e52ec
[ft-paint] Implement FT_COLR_PAINTFORMAT_ROTATE
2 years ago
Behdad Esfahbod
16598e024b
[ft-paint] Default
2 years ago
Behdad Esfahbod
a0f7f9e61c
[ft-paint] Implement FT_COLR_PAINTFORMAT_COMPOSITE
2 years ago
Behdad Esfahbod
0ec201446b
[ft] Implement FT_COLR_PAINTFORMAT_COLR_GLYPH
2 years ago
Behdad Esfahbod
ac2682c610
[ft] Start of a COLRv1 renderer
2 years ago
Behdad Esfahbod
e2546f5ab0
[ft] Add hb-ft-colr.hh
2 years ago
Matthias Clasen
5bd3c07b54
[colr] Don't access baseGlyphList unless v1
...
This was showing up sporadic crashes due to
invalid reads.
2 years ago
Matthias Clasen
47dbebff39
[paint] Add COLRv0 tests
2 years ago
Matthias Clasen
6909701b36
[paint] Update docs
2 years ago
Behdad Esfahbod
381d410b1e
[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.
2 years ago
Behdad Esfahbod
63db0d2aed
[util] Speculatively fix build against non-PNG builds
2 years ago
Behdad Esfahbod
c5f903872f
[paint] Add bitmap width/height to paint_image callback
...
Such that we can add raw data as well.
2 years ago
Matthias Clasen
eef47f2379
[paint] Fix the docs
2 years ago
Behdad Esfahbod
3c972867b9
More s/hb_font_get_glyph_shape/hb_font_draw_glyph/
2 years ago
Behdad Esfahbod
72a169c846
[ft] Paint COLRv0 glyphs
2 years ago
Behdad Esfahbod
bb807f47d2
[ft] Implement paint_glyph() for outline glyphs
2 years ago
Behdad Esfahbod
91c880503e
[ft] Use new name for draw API
2 years ago