mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
set default density for backwards compat (fixes #3413)
This commit is contained in:
@@ -88,12 +88,8 @@ public class PFont implements PConstants {
|
||||
//protected int size;
|
||||
private int size;
|
||||
|
||||
protected int density;
|
||||
// /**
|
||||
// * The size that this font will default to when drawn. Used to create fonts
|
||||
// * at 2x the size for high-res displays in OpenGL.
|
||||
// */
|
||||
// protected int defaultSize;
|
||||
/** Default density set to 1 for backwards compatibility with loadFont(). */
|
||||
protected int density = 1;
|
||||
|
||||
/** true if smoothing was enabled for this font, used for native impl */
|
||||
protected boolean smooth;
|
||||
|
||||
Reference in New Issue
Block a user