plutovg icon indicating copy to clipboard operation
plutovg copied to clipboard

Tiny 2D vector graphics library in C

Results 21 plutovg issues
Sort by recently updated
recently updated
newest added

It seems that there is a fork of this library inside lunasvg. Should the changes from the fork be applied here? This way this library can be used as a...

Resolves #29. This extension allows us to render raster images alongside vector graphics. This can be used to add support for rendering an `` tag in SVG. An `` tag...

Thank you for your work on plutovg. Would it be possible to add support for rendering bitmaps?

This fix might not be correct, nor does it fix all the UB. At least `examples/smiley` won't crash now. To reproduce, compile the project with `-fsanitize=undefined` and run `smiley`. UB=C...

I noticed font support was removed. Are there any plans to re-add some kind of font support?

I'd like to use plutovg on some systems without a FPU or with a very slow FPU -- e.g. ESP32 (S2/S3 with xtenesa instruction set or C3 with RISC-V). I'm...

documentation

In the rasterizer, longjmp() and setjmp() are used. https://github.com/sammycage/plutovg/blob/fa8002f43cf8ce0a233b582c8d54baaff944336d/source/plutovg-ft-raster.c#L293 I'm trying to port plutovg to a platform which doesn't support these. Is there a version of the rasterizer which doesn't...

wontfix

```html var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.fillStyle="red"; ctx.fillRect(0,0,200,150); ctx.clearRect(50,50,100,50); ``` ![1677835674054](https://user-images.githubusercontent.com/4066126/222683593-8e655f82-5fa0-49ca-ade1-c9bddc81d055.png) @sammycage can you show me a demo?

``` LINK : fatal error LNK1104: cannot open file 'm.lib' ... ``` ** Build with VSCode using "Visual Studio Community 2019 Release - amd64". I tried the following changes then...

When drawing round_rect, the line width cannot be set to 1px ``` plutovg_save(pluto); plutovg_round_rect(pluto, 10, 10, 580, 50, 5, 5); plutovg_set_rgb(pluto, 0, 0, 1); plutovg_set_line_width(pluto, 1); plutovg_stroke_preserve(pluto); plutovg_stroke(pluto); plutovg_restore(pluto); ```...

bug