On Tuesday, July 25, 2017 at 1:20:58 PM UTC+2, @TiddlyTweeter wrote:
>
> TW works well with SVG. Its well understood & integrated into it.
>

That was one of biggest changes between TWclassic and TW5. 
SVG was specified and implemented into browsers, for a very long time 
already, before developers started using them. So the technology can be 
expected to be stable. ... and SVG has some advantages over font-based icon 
sets. ...

 

> Two things I don't understand ...
>
>    - WHY is the normative icon set at 22pt (points) rather than 22px 
>    (pixels)?
>
> I wouldn't interpret too much into those settings. ... 

 - 1 pt is 1/72 inch mainly used for printing
 - 1 px basically is 1/96 of an inch, if you have a 96dpi display. .. Which 
was true for a long time. .. but now we have hiDPI screens, which only 
means, that 96px is aproximately 1 inch 

see. 
https://developer.mozilla.org/en/docs/Web/CSS/length#Absolute_length_units
especially: 

Some specific examples:
>
>    - 1in is always 96px.
>    - 3pt is always 4px.
>    - 25.4mm is always 96px.
>
>
 

>
>    - Am I right in thinking that the viewBox setting of "0 0 128 128" 
>    makes an ultimate SVG viewport 28% bigger than the content overall, with 
>    the svg content auto-centred?
>
> SVG internally defines it's coordinate system based on the viewBox params 
and the units used in width and height. Most SVG drawing programs are 
mainly used for printing, so I think, it's just the default value, that 
Jeremy's program used, when exporting svg files.

I'm not 100% percent sure, why it is 128 units, but I guess it comes from 
bitmap-icon settings in most OSes. They start with 16x16 px for favicons 
and go up to imo 512x512 of even higher. So you see its a multiple of 16. 

So it makes sense to produce vector graphics based on multiples of 16 too, 
since there will be less scaling issues, introduced by math, if you export 
bitmap-images ... just some guesses here. 

 

> In beginning to make images for TW I'd like to better understand  the 
> default approach for what become interface icons.
>

If you use the TW default settings, you'll get relatively good results, 
since they are battle-tested and the base themes work well with them. ...

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86ab3b97-fc8b-4e36-a405-2b3fb7729e59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to