FW7-svg graphics

Caleb,

ahhh … I’ve been fiddling around. That new svg is made with a beta version of Affinity.

The old one you tried before got shifted to this link : http://test.synonyms.fr/testsvg-2.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Safari 5? Wasn’t that last century?

It is the most recent version you can run if you are still on Snow Leopard - and yes there are some good reasons to still be on Snow - at least on this machine.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ha! Well, I beat you there Dave, because I have a QuadG5 dedicated to Tiger … for just one app. :slight_smile:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I have a QuadG5 dedicated to Tiger … for just one app.

My missus (the teacher) has a bucket load of teaching resources created in Claris/Apple Works so I have to keep a Snow machine just for her - or divorce will ensue!

When I get the cash there is a new 27 iMac Retina with my name on it and she can do what she likes with this one!

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Or … you could laboriously and lovingly transcribe them for her into a modern app, thus freeing you from the shackle. :slight_smile:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here is your latest svg with the first line changed to

<svg width="100%" height="100%" viewBox="0 0 1130 120" version="1.1"....................

http://deltadesign.co/FW7Test/grants-svg.html

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

you could laboriously and lovingly transcribe them for her into a modern app, thus freeing you from the shackle

By the time I had done that she would be nearing retirement. There is a lot of stuff!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Dave.

After an immense amount of ‘fiddling around’ I discovered that when I edit the SVG in TextEdit, something goes wrong. Sometimes the SVG shows an error (for its Finder icon too).

I found that if I edit the SVG directly in Safari (didn’t know I could do that until an hour ago) and copy paste the code into the SVG file, thus replacing the original code, then it works. Sigh …

However, in FW, I find that my SVG’s graphic box extends beyond the page boundaries for smaller devices (iOS)


and unlike other items, if I change it on one of the smaller page sizes, it changes everywhere! I would like to have the graphic slightly larger on the smaller devices.

Any suggestions how I go about this?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Download TextWrangler (free!) from http://barebones.com and use that instead of TextEdit. I am not 100% certain that this is your issue, but it’s an excellent place to start.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Answer my own question … being an SVG, it doesn’t appear to matter if the box is tiny everywhere.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 28 Oct 2014, 1:20 pm, waltd wrote:

Download TextWrangler (free!) from http://barebones.com and use that instead of TextEdit. I am not 100% certain that this is your issue, but it’s an excellent place to start.

Walter

Thanks Walter.

I already have TextWrangler, but it seems only ‘as confusing’ as doing it directly in Safari. :slight_smile:

Regarding the SVG Action …

Inspired by Dave, I had a look in Safari 4.1.3 in Tiger and the page loads without the logo. If I resize the page the logo appears. Also, I’m guessing it’s a jpeg, because it has lost its transparency and just has a white background.

Is there anything I can do about either, or both of these issues?

test.synonyms.fr

(Test site is now up-to-date with the SVG).


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Don’t know if any of you checked out Affinity Designer, but I have to say … they are seriously keen.

2 hours after I posted the fix that you guys suggested (I also linked to this thread) to the beta forum where I had asked the question about their SVG export, I get this message :

"Just to let you know, I’ve updated the export code to automatically set the width/height to percentages and add the relevant viewBox. In the next beta version your SVG export should just magically work without requiring fettling! :slight_smile: "

Impressive.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

“Just to let you know, I’ve updated the export code to automatically set the width/height to percentages and add the relevant viewBox. In the next beta version your SVG export should just magically work without requiring fettling! smiley “

Impressive.

That is impressive - I will take a look at AD

However, in FW, I find that my SVG’s graphic box extends beyond the page boundaries for smaller devices (iOS)

If I resize the page the logo appears

Bigger I assume? - I suspect that because your viewbox is now so large (viewBox=“0 0 760 64”) that may give you issues in Safari 4 and smaller mobile devices.

The whole point of SVG is that you can start with a small image and it will rescale perfectly.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I finally understood how to make it fit Dave. Seems okay now, even on iOS.

Of course, I had made the SVG large, thinking there was something important about initial fixed sizes … but inevitably there isn’t. Ironically, I’m one of the very few photographers who works with a vector based retouching app., so I should know better!

I’ll check Safari 4 tomorrow, I’d assumed that it wasn’t able to use the SVG, but you think it’ll work if it’s smaller?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

but you think it’ll work if it’s smaller?

Try with a smaller dimension and corresponding viewbox size

Remember that iPhone is only 320 wide so might be worth trying with those dimensions coz it will scale up OK.

This is a bit of uncharted territory for me.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ll check Safari 4 tomorrow, I’d assumed that it wasn’t able to use the SVG

And no - Safari 4 doesn’t support SVG

Using the SVG Image action should give you the jpg fallback

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options