Devices claimed PPI is at best a rough guide to the size needed for legibility, 
but given a box size, FontMetrics.stringWidth() is accurate.
If the box doesn't fit, you can derive larger or smaller fonts and try again.  
It helps if you keep track of what font is being used so you
Know what constitutes a step smaller.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/01eeb8dd-b623-495f-aab7-a34517934129%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to