On Mar 5, 2014, at 3:18 PM, Tom Schindl <tom.schi...@bestsolution.at> wrote:

> Why can't JavaFX not at least provide a font-API to create fonts with point?

The current JavaFX API is point (see the doc).
The thing is, on the desktop it uses DPI=72, so px=pt.
In the printer the actual device DPI is used (so that 72pt=1in on the paper).

Note, Mac is exactly the same,  see the doc for CTFontRef for example
It talks about point size the very same way JavaFX does.

That is so true that the very value passed to Font.font(double) is passed to 
CTFontCreateWithName() in CTFontStrike.java as is.
The same is true for Windows, using DirectWrite and Linux, using FreeType.


Reply via email to