chiark / gitweb /
svg size handling: Introduce new size parser
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 May 2022 09:56:57 +0000 (10:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 May 2022 09:56:57 +0000 (10:56 +0100)
commitf80342862917f9b366a958debd0f8ea22c479c7e
tree5571dac1a9c6c7b22a8d0b3dd5c0ae6115bc8fe3
parent85127c1d16f52dd88678085e2e25828ef4c3b017
svg size handling: Introduce new size parser

We want to get the size out of the svg on load, to make the library
spec size attribute optional (and to make things less confusing).
So start by add code to parse size out of an SVG.

But in fact it turns out we have one of these in bundle processing
already.  The need to be combined.  But for now, commit what we have.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs
src/spec.rs