Using mmdc to generate SVG to stdout & file, and, display it using chafa (v1.18.2 on PowerShell v7.6).
Sample .mmd files for validating can be found here.
mmdc infers SVG by default, use -e "svg" explicitly if desired.
ISSUE:
A badly processed image is displayed; more importantly, existing fonts aren't loaded.
mmdc -i _.mmd -o - -t dark -b transparent | chafa --size=70x -f sixel - # PS7.6 ❌
mmdc -i _.mmd -o _.svg -t dark -b transparent; chafa --size=70x -f sixel _.svg # PS7.6 ❌
(Chafa.exe:1232): librsvg-WARNING **: 20:25:40.607: CSS parsing error
(Chafa.exe:1232): librsvg-WARNING **: 20:25:40.608: CSS parsing error
(Chafa.exe:1232): librsvg-WARNING **: 20:25:40.608: CSS unrecoverable error
parsing error: 1:7859:could not recognize next production
parsing error: 1:7874:while parsing rulset: current char must be a '}'
parsing error: 1:7873:while parsing declaration: next property is malformed
(Chafa.exe:1232): Pango-WARNING **: 20:25:41.115:
couldn't load font ""trebuchet ms", verdana, arial, sans-serif Not-Rotated 7.6796875"
falling back to "Sans Not-Rotated 7.6796875", expect ugly output.
The same issue doesn't exist with SVGs with little to no text (in general).
Where should I look, in order to debug/resolve this issue?
Using mmdc to generate SVG to
stdout& file, and, display it using chafa (v1.18.2 on PowerShell v7.6).Sample .mmd files for validating can be found here.
mmdc infers SVG by default, use
-e "svg"explicitly if desired.ISSUE:
A badly processed image is displayed; more importantly, existing fonts aren't loaded.
The same issue doesn't exist with SVGs with little to no text (in general).
Where should I look, in order to debug/resolve this issue?