> Oleander via <[email protected]> hat am 19.02.2025 19:54 CET geschrieben:
> 
>  
> Hello,
> are other tags with attributes supported?

Yes, all tags are supported, attributes as well.
It uses SXML to turn S-expressions into XML, which I should have mentioned in 
my previous message.
Docs are here: https://www.gnu.org/software/guile/manual/html_node/SXML.html

For example:
(match (@ (target "font")) (edit (@ (mode "assign") (name "antialias") ....

You could also use the guix console to turn your XML into SXML, using xml->sxml 
(see 
https://www.gnu.org/software/guile/manual/html_node/Reading-and-Writing-XML.html).

> This is the code I need to add:
> 
> <fontconfig>
> <match target="font">
> <edit mode="assign" name="antialias">
> <bool>true</bool>
> </edit>
> <edit mode="assign" name="embeddedbitmap">
> <bool>false</bool>
> </edit>
> <edit mode="assign" name="hinting">
> <bool>true</bool>
> </edit>
> <edit mode="assign" name="autohint">
> <bool>true</bool>
> </edit>
> <edit mode="assign" name="hintstyle">
> <const>hintslight</const>
> </edit>
> <edit mode="assign" name="lcdfilter">
> <const>lcddefault</const>
> </edit>
> <edit mode="assign" name="rgba">
> <const>rgb</const>
> </edit>
> </match>
> </fontconfig>

Reply via email to