octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52655] [GL2PS] fontsize not correct svg outpu


From: Rik
Subject: [Octave-bug-tracker] [bug #52655] [GL2PS] fontsize not correct svg output
Date: Thu, 14 Dec 2017 16:59:22 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #7, bug #52655 (project octave):

This documentation on units in SVG is instructive
(https://www.w3.org/TR/SVG/coords.html#Units).

A point is defined to be 1.25 pixels.  So if Octave is using points, and SVG
is using pixels, the transform ratio is 1/1.25 = 0.8.  This is fixed, and is
why I am seeing a font size of 9.6 points in Inkscape for what is a 12 point
font in Octave (0.8*12 = 9.6).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52655>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]