meshparts <[email protected]> posted:
Am 29.10.2025 um 18:10 schrieb Nicolas ROBERT:
I'm pleased to announce the release of tresvg, a Tcl library SVG rendering.
What is tresvg ?
tresvg package is a wrapper around *resvg* (https://github.com/linebender/resvg)
/*resvg* is an SVG rendering library. It can be used as a Rust library, as a C library, and as a CLI application to render static SVG files.
The core idea is to make a fast, small, portable SVG library with the goal to support the whole SVG spec./
Use *tresvg* if :
- You need full SVG specification compliance.
- You work with complex, modern SVG files.
- Rendering quality and accuracy are priorities.
- You need reliable text rendering.
- You can accommodate with the build requirements.
_Requirements_:
Tcl 8.6 or higher.
*tcl-cffi* >= 2.0
*critcl* and *Tk* are optional for rendering SVG image to photo command.
_Building_:
You can either build the library yourself (if you have Rust installed or if you want to install it),
or use my repository’s GitHub Actions to automatically build platform-specific binaries for you (See detail here: https://github.com/nico-robert/tresvg?tab=readme-ov-file#building-).
_Links_:
GitHub: https://github.com/nico-robert/tresvg
Regards
Nicolas
This sound very good!
I'm not sure I want to try to compile it though, as my limitted
knowledge allways created issues with compile actions.
It would be great if tresvg would be part of the BAWT framework.
I sure would want to test this package.
Regards
Alex
Yes, that is one of the requirements.
You need to have Rust installed.
Compiling is not very complicated, but I can understand that it might be a problem.
If you have a GitHub account, there is another solution: fork my project and run the compilation via GitHub Actions.
You will then be able to download the artefact for your OS.
Otherwise, in a few days I will publish another release with the compiled libraries, which will allow you to test it.
I will keep you informed on this forum.
But please, I hardly ever come here, so feel free to post an issue via GitHub.
Thank you.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,099 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492373:54:13 |
| Calls: | 14,106 |
| Calls today: | 2 |
| Files: | 187,124 |
| D/L today: |
1,510 files (693M bytes) |
| Messages: | 2,496,031 |