Created
January 6, 2019 08:04
-
-
Save sasaki-shigeo/d76fb665e25fa167e3740dd4e5de3e91 to your computer and use it in GitHub Desktop.
Display Processing Font Sample / フォントの表示
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| size(500, 300); | |
| PFont serif = createFont("Serif", 43); | |
| PFont sansserif = createFont("SansSerif", 43); | |
| PFont monospaced = createFont("Monospaced", 43); | |
| fill(#000000); noFill(); | |
| stroke(#ff0000); | |
| textFont(serif); text("Serif", 50, 80); | |
| textFont(sansserif); text("SansSerif", 50, 180); | |
| textFont(monospaced); text("Uniformed Width", 50, 280); | |
| printArray(PFont.list()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment