Bug 591 : PGrahicsJava2D has no way to disable native fonts after they have been enabled
Last modified: 2007-07-06 20:56




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
gjuggler
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2007-06-30 18:22
(using revision 0124 on Windows Vista)

I can enable native fonts with hint(PConstants.ENABLE_NATIVE_FONTS), but
I'd like to be able to turn them off within the program as well. For
instance, to use native fonts when the text size is small, but switch back
to processing fonts when it's larger.

Either something like an unhint() function, or otherwise a
PConstants.DISABLE_NATIVE_FONTS would seem a reasonable (and reasonably
simple) solution.
Additional Comment #1 From fry 2007-07-06 20:56
use noHint(PConstants.ENABLE_NATIVE_FONTS);