We are using java.awt.Font class in our application. There is an attribute called 'size' which is actually font size. That is defined as an int variable. We want to use a decimal point size in the application. We want to know if there is any possibility to use point size as decimal.
Please let us know ASAP as its an urgent issue. Thanks in advance.
posted 6 years ago
No, there isn't. Fonts always come in full point sizes, so there's not even a reason for doing so. How would you display fractions of a point on a display that works with pixels?