mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
move comment location for clarity
This commit is contained in:
@@ -4244,12 +4244,11 @@ public class PGraphics extends PImage implements PConstants {
|
||||
if (input != null) {
|
||||
baseFont = Font.createFont(Font.TRUETYPE_FONT, input);
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
// Fall back to how this was handled in 3.x, ugly!
|
||||
e.printStackTrace(); // dammit
|
||||
}
|
||||
|
||||
// Fall back to how this was handled in 3.x, ugly!
|
||||
if (baseFont == null) {
|
||||
baseFont = new Font("Lucida Sans", Font.PLAIN, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user