Hello,

It would be very useful too to be able to give a precise line height in pts or px like in CSS. (Of course one should keep the choice of working with %)

ivan


Le Jeudi 18 février 2016 17h18, Jabier Arraiza <jabier.arraiza@...2893...> a écrit :


Hi Tobias.
Is based, in a preferences option.I have plans to improve it, based in
a su_v and Gez work in a bug. https://bugs.launchpad.net/inkscape/+bug/
1422926

Cheers, Jabier.

 

El jue, 18-02-2016 a las 15:27 +0100, Tobias Ellinghaus escribió:
> Hi,
>
> in IRC there was a discussion about the font size setting and I have
> to admit 
> that I don't understand it.
>
> The tooltip says the value is in pt, which (according to the CSS
> specs) is 
> 1/72th of an inch.
>
> Inkscape now uses a DPI of 96 to convert to/from pixels.
>
> When I type some text in 72 pt and then select the object the control
> bar 
> tells me it's size was 6.72 mm, which would be 0.264566929134 inch
> [0] and 
> that is 25.4 pixel [1], which is what I can see in the XML being
> stored.
>
> The part I don't understand is how that value relates to the initial
> 72 pt? 
> And is it a coincidence that the final result of 25.4 is the
> conversion factor 
> inch/mm?
>
> Some clarification or links to documentation would be appreciated.
>
> Tobias
>
> PS: Would it be possible to fix the font size box to show "nice"
> values and not 
> some rounded numbers? Maybe just storing the pt value typed by the
> user along 
> the converted px value and showing that? Or doing it the right way
> and putting 
> the pt verbatim into the SVG as it used to be done? Currently it's
> really hard 
> to do any serious work that involves text.
>
>
> [0] 6.72 / 25.4 = 0.264566929134
> [1] 0.264566929134 * 96 = 25,3984251969 ~ 25.4
> -------------------------------------------------------------------
> -----------
> Site24x7 APM Insight: Get Deep Visibility into Application
> Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Inkscape-devel mailing list
> Inkscape-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/inkscape-devel


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel