#SVG stroke width not scaling

43 messages · Page 1 of 1 (latest)

delicate sinew
#

Hi there, I am using an SVG of the Spanish flag, but when i make it small the strokes screw it up.
Is this an issue in Typst or might this be an issue in the SVG itself?

#

when i open the PDF and zoom in, this is what i see

twin lichen
#

lemme have a look

#

works fine for me...

#

just tried with 0.11.1 instead of main and it also works there

#

are you sure its not a viewer issue? could you send the resulting PDF to me?

delicate sinew
#

Sorry for my late reaction, i was in a meeting

#

in the Typst viewer (i use TinyMist) it looks fine.

#

But as soon as i render it to a PDF it gets the thiccc with three c's strokes

delicate sinew
twin lichen
#

yep if I make it very small I can reproduce

#

hmm

#

ok no this is definitely a viewer issues

#

I can reproduce in CHrome but not in Acrobat

#

im pretty sure at least

granite coyote
#

yes the svg is fine and making it small should not give this result

#

It seems the stroke width does not scale when you convert it to pdf

delicate sinew
#

but i guess its not up to me to fix it then :/

#

just a viewer issue

delicate sinew
#

apperantly there is also a simplified version of the spanish flag

twin lichen
#

but not in Apple Preview for example

delicate sinew
#

weird

#

this works fine kekw

#

oh well

#

imma just use that flag and that will be it

granite coyote
#

@delicate sinew little gift

delicate sinew
#

A 150KB message? 😳

granite coyote
#

I simply removed black strokes

delicate sinew
#

Ohhh

#

Nice!

granite coyote
delicate sinew
#

:O

granite coyote
#

works well (with a pdf viewer)

delicate sinew
#

Frick yeah!

#

Thanks!

granite coyote
#

no problem

#

if you have the same problem later with another flag or whatever just remove every stroke="#000000"