font-size should indicate unit (px) or have unit menu

Bug #166998 reported by Flaig
2
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

After pushing the apply button, the selected font size
is displayed as value of pixels instead of points (for
e.g. when selecting a value of 40pts from the drop down
menu).

Also later when choosing a text for modification, the
font size is displayed as value of pixel, the drop down
menu shows point values.

Is it possible to convert the pixel values to point values?

Revision history for this message
Flaig (flaig) wrote :
Revision history for this message
Abrolag (abrolag) wrote :

I've seen the same problem - thought it was a wrongly set
optin at first :(

Revision history for this message
Richard Hughes (cyreve) wrote :

The conversion is always 1.25px = 1pt but yes, the dialog
should use the units you select.

Revision history for this message
Peter Moulder (pjrm) wrote :

In almost all cases, inkscape converts inches/mm/pt etc. to
"user units" (same as CSS px in absence of a viewBox
attribute or transforms), to avoid disproportionate scaling
in different display environment.

If Inkscape were to literally specify font size in pt and
curves in px (rather than silently converting
inches,mm,pt,etc. to px at a rate of 90px/inch), then
different parts of the drawing will scale at different rates
when moving between paper & screen, which is rarely what you
want, and indeed the SVG spec (same page as referred to
above) recommends against doing this.

By specifying things in CSS px rather than inches or mm or
pt, the drawing will be bigger on screen and smaller on
paper, which is usually what you want given that you hold a
piece of paper in your hand closer than a monitor and things
are more readable at smaller sizes on paper than on screen.
If by chance you want the drawing to be shown at roughly the
same number of inches on screen as on paper, and if you
don't mind using the XML editor (Ctrl+Shift+X) to do it,
then give the outermost <svg> element width & height
attributes specified in mm or in or pt, and a viewBox
attribute: see
http://www.w3.org/TR/SVG11/coords.html#ViewBoxAttribute.

(See
http://sourceforge.net/tracker/index.php?func=detail&aid=1276048&group_id=93438&atid=604306
for more comments on SVG units and how to indicate sizes to
users.)

Consequently I'm retitling this bug.

Revision history for this message
Mgsloan-users (mgsloan-users) wrote :
Revision history for this message
Rwst (rwst) wrote :

this means it is in the feature tracker, and does not belong
here, thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.