UrbanAnalyst / gtfsrouter

Routing and analysis engine for GTFS (General Transit Feed Specification) data
https://urbananalyst.github.io/gtfsrouter/
80 stars 17 forks source link

Fix to be a pure SVG #102

Closed jmertic closed 1 year ago

mpadge commented 1 year ago

Thanks, but that one has stripped the font, which was the one bit in the old one that was appropriately svg-encoded

jmertic commented 1 year ago

Ah - good catch. Which font is this? I might be able to rasterize it better if I had the source font.

mpadge commented 1 year ago

AlienEncounters. It's not available as a webfont from anywhere, otherwise I could easily link that.

mpadge commented 1 year ago

Thanks for trying to help @jmertic , but all now resolved via #101, so closing this now.

jmertic commented 1 year ago

Thanks for this! Unfortunately, I still ran into problems with the logo as the svg embeds svgs; I went ahead and cleaned this up and ran through autocrop.cncf.io; see the new file and let me know if that looks ok.

mpadge commented 1 year ago

sorry, i didn't realise that. I've hand-coded it all, so can't send through any auto tools (except inkscape), because they chew up all the nice structures I've written. New commit has changed the embedded svg items to standard g. They still link through to symbols to define the repeated items via internal href, but i presume that is okay?

jmertic commented 1 year ago

I got this error when running it thru https://autocrop.cncf.io...

svg autocrop failed: This logo cannot be autocropped because of an unusual interaction with its viewbox. Please find a different logo or convert again from the original to SVG.

What did work is converting to EPS and then back to SVG; I think somehow that resets the viewbox.