CSS Font size in points doesn't match Node.Font.Size

Pedro Duque Vieira pedro.duquevieira at gmail.com
Wed Mar 5 12:39:15 PST 2014

Hi Tom, Jeff, Felipe...

Having bugs stay in to maintain backwards compatibility sounds very weird
to me IMHO.

If we go down that road aren't we creating a library that will some day
have too many glitches and as such less appeal to programmers looking for
UI libraries?


> Hi
> On Mar 4, 2014, at 4:42 PM, Jeff Martin <jeff at reportmill.com> wrote:
> > Thanks Tom! I assume the thread was this one:
> >
> >       Font.font() says it is point size but it looks like it are pixels
> >
> http://mail.openjdk.java.net/pipermail/openjfx-dev/2014-January/012398.html
> >
> > I guess the final word is that CSS assumes 1pt==1/92in,
> Yes
> > and Nodes convert that to the real world on render?
> >
> On the printer yes, on the display it assumes 72 (pt=px).
> > And that this is basically a bug, but it can't be fixed due to legacy
> considerations?
> >
> Yes
>  Felipe

Pedro Duque Vieira

More information about the openjfx-dev mailing list