URL:
<https://savannah.gnu.org/patch/?10175>
Summary: improved image handling, notably svg.
Project: GNU TeXmacs
Submitted by: pjoyez
Submitted on: lun. 07 févr. 2022 11:34:13 CET
Category: Conversion
Action: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Fixed Release:
Stable:
_______________________________________________________
Details:
While waiting for the deep rework Max envisions, I propose here some immediate
improvements.
As I proposed in texmacs-dev
(https://lists.gnu.org/archive/html/texmacs-dev/2022-01/msg00003.html), the
code first tries to handle SVG with good scheme-defined converters (calling
rsvg-convert[*] or inkscape). If these are not available, SVG is handled by
Qt. In the latter case, if the image is not explicitly "svg tiny", a warning
is shown (because Qt only renders correctly svg tiny). For those who are happy
with only svg tiny, I added vectorial printing of svg to pdf, through Qt.
The second goal of the patch is that conversions to bitmaps now consistently
have pixel numbers according to the output size and resolution preference.
For these two points I improved the scheme converters and made sure that the
multipurpose "function-with-options" converter chain correctly.
[*] Although the man page starts with "rsvg-convert - turn SVG files into
raster images", rsvg-convert does currently export vector images to pdf and
eps and can thus be used for printing.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: lun. 07 févr. 2022 11:34:13 CET Name: 1-improvement-for-images.patch
Size: 62kio By: pjoyez
<http://savannah.gnu.org/patch/download.php?file_id=52816>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?10175>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
_______________________________________________
Texmacs-patch mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-patch