Comment 40 for bug 168164

Revision history for this message
su_v (suv-lp) wrote :

ScislaC wrote:
> ~suv: complimentary preference to write hardcoded units, just defaulted to off?

I can't claim to be an SVG expert myself, and do hope that others with more insight and experience with SVG will chime in: the issue with units (SVG user units 'px' vs real (absolute) units) and the conflicts resulting due to Inkscape's current implementation (hardcoded internal resolution 90dpi along with defining document sizes without viewBox attribute) if users demand that "real" (absolute) units are to be used (which will render the same everywhere) has been discussed multiple times on the mailing lists before. Here are some links to earlier discussions (I can provide more, if needed):

Re: Units within SVG (2005-06-06)
<http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/9587/focus=9662>
<http://article.gmane.org/gmane.comp.graphics.inkscape.devel/9667>

Re: Font size (2005-06-06)
<http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/9587/focus=9666>
<http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/9587/focus=9668>

Re: GSoC / SVG compliance / font size (2011-03 / 2011-04)
<http://article.gmane.org/gmane.comp.graphics.inkscape.devel/36249>
<http://article.gmane.org/gmane.comp.graphics.inkscape.devel/36258>

Considering that Inkscape chose SVG as native file format, aims for better (aka 100%) compliance with the SVG spec, and is used for various tasks which have different (maybe even conflicting) demands with regard to scalability and absolute units:
If the feature stays in (allow different units for font sizes), it might make sense to make it optional, and default to using the units for the GUI only (and make that the default).

If solved this way - optional, default to GUI units only - maybe the unit selection ought to be moved to the text tool controls bar, like with all other spinboxes which allow different units for input while internally the values stored in the SVG source are converted to SVG user units (px) based on Inkscape's internal resolution (90dpi)?