-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svg: gray time-info subtext not aligned (a fix: -Tsvg:cairo
)
#103
Comments
the cairo svg draws each character as a path (it does dedup: has a library of 'glyphs' (letters & numbers) at the top it reuses).
another possible fix: more postprocessing of the svg. like in the graphviz gitlab thread: "align center and set x to center of node" |
also lol click the above svg's to open as standalone images in firefox. both are effed up. if you want both light and dark, you can, with png, btw: <picture>
<source media="(prefers-color-scheme: dark)" srcset="dark.png">
<source media="(prefers-color-scheme: light)" srcset="light.png">
<picture> (the extra (nonDRY) img attribute is for: 1) accesibility? can't picture or source have alt text? 2) backwards compat?. Is it necessary?) |
Hm maybe the edges should be gray in the above. (They're too noisy. Scaling (average of neighbour relsizes?) was first idea, but is hardee) |
After 4a5bcd7 (using html for gray subtext w/
"[$time ms]"
),noticed svg looks wonky (PNG is fine)
btw, document that
:pdf
works nicely too :)(and add link to the above outputs page)
Maybe a new arg (see #-T link above):
renderer
(:cairo
, ornothing
)The text was updated successfully, but these errors were encountered: