FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 591 : PGrahicsJava2D has no way to disable native fonts after they have been enabled
Last modified: 2007-07-06 20:56
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
INVALID -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
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);