CSS Font size in points doesn't match Node.Font.Size
felipe.heidrich at oracle.com
Thu Mar 6 13:46:47 PST 2014
On Mar 6, 2014, at 11:37 AM, David Grieve <david.grieve at oracle.com> wrote:
> I see now that setting font size from point units in our CSS is broken.
It depends how you judge.
If you compare the result of our CSS to any browser then our handling of point size in your CSS is correct.
fx-font-size=12pt [In JFX] == font-size=12pt [In any UA]
if you change that you too will break user.
IMO the one thing we can do is to add a switch (either to Node or CSS) so allow DPI to be set, so that 12pt in Node and CSS match.
More information about the openjfx-dev