mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 11:21:06 +01:00
Improved the logic that sets the size of the font textures
This commit is contained in:
@@ -124,7 +124,8 @@ public class PGL extends processing.opengl.PGL {
|
||||
*/
|
||||
protected static final int FLUSH_VERTEX_COUNT = MAX_VERTEX_INDEX1;
|
||||
|
||||
/** Maximum dimension of a texture used to hold font data. **/
|
||||
/** Minimum/maximum dimensions of a texture used to hold font data. **/
|
||||
protected static final int MIN_FONT_TEX_SIZE = 256;
|
||||
protected static final int MAX_FONT_TEX_SIZE = 1024;
|
||||
|
||||
/** Minimum stroke weight needed to apply the full path stroking
|
||||
|
||||
Reference in New Issue
Block a user