| ▲ | tokyovigilante 10 hours ago |
| Thanks Eric, much appreciated. How would you compare your approach to something like Vello (https://github.com/linebender/vello)? |
|
| ▲ | elengyel 8 hours ago | parent [-] |
| Vello is intended more for general vector graphics and would probably perform better with pictures containing lots of large paths. Slug is designed specifically for rendering glyph-like objects and would perform better with lots of text and icons. |
| |
| ▲ | Ono-Sendai 5 hours ago | parent [-] | | I was going to ask if Slug can be used as a general vector renderer. Or does it assume limits on e.g. number of curves/paths per area that are typical of fonts? | | |
| ▲ | kevthecoder 4 hours ago | parent | next [-] | | Eric answered a similar question on the Discord channel
saying Slug is suitable for generic vector graphics. He recommends checking out the demo at
https://sluglibrary.com/ (you can cycle through the examples with the space bar). | | | |
| ▲ | Lichtso 3 hours ago | parent | prev [-] | | I think it is limited to integral quadratic bezier curves, which is sufficient for text rendering. But general purpose vector graphics almost certainly want rational cubic bezier curves too. |
|
|