It can and should. See my previous post. If there is no JIRA for this,
then please create one.
Thanks,
Steve
On 2014-03-05 6:18 PM, Tom Schindl wrote:
The question the is why fairly all other toolkits use point in their APIs.
Some examples:
* Qt:
Hey Felipe,
I recall a couple of years ago when Phil drilled it into me that Font
size was pixels. So when you said that Font size is point, I was
skeptical. But, indeed, you are correct and I am mistaken.
I see now that setting font size from point units in our CSS is broken.
Our CSS
Hi David
On Mar 6, 2014, at 11:37 AM, David Grieve david.gri...@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.
On 3/6/14, 4:10 PM, Phil Race wrote:
I think your sum is backward. If 0.75pts==1 pixel then a 12 pt font
will be 16 pixels.
Exactly why my wife doesn't let me near the checkbook.
Hi
On Mar 4, 2014, at 4:42 PM, Jeff Martin j...@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
From my tests the font size generated by CSS is what one gets with the same
point size and font using native apps and Qt - my complaint was the font size
when using the Java API.
Tom
Von meinem iPhone gesendet
Am 05.03.2014 um 23:03 schrieb Felipe Heidrich felipe.heidr...@oracle.com:
I don't think we can do what you suggest about the warning, since there
are cases where CSS could be initialized prior to calling into the
application (e.g., the default preloader, deploy dialogs), but I think
it might make sense to add a property to control the scale. Can you file
a JIRA
Hi all,
To change the Java API now would break the universe. All you can do is
add new API. This can be in the form of new methods on Font, however
things like Font.getSize() must always return pixels. A new method can
be added getPoints() and new constructors that take points added, or
Here is the definition of point:
http://www.w3schools.com/cssref/css_units.asp
As Jeff is saying it should be 1/72 inch.
I think this should be the default. Isn't the introduction of modena
potentially going to break more apps than changing the definition of point?
Aren't breaking apps making
Everyone should just accept that there is no such thing as a 'point' in
JavaFX. Work in pixels and you will achieve nirvana.
On 3/5/14, 5:49 PM, Pedro Duque Vieira wrote:
Here is the definition of point:
http://www.w3schools.com/cssref/css_units.asp
As Jeff is saying it should be 1/72 inch.
There was a thread some time ago on this List with explainations of this
behavior!
Tom
Von meinem iPhone gesendet
Am 05.03.2014 um 01:03 schrieb Jeff Martin j...@reportmill.com:
I can't quite wrap my head around why when I specify an -fx-font-size of 9pt
in CSS, it turns into a 12 pt
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, and Nodes convert that
to the real
12 matches
Mail list logo