Libraryless. Click here for Pure Java version (7014L/41K).
static Font fontForName(S name) { if (isSnippetID(name)) ret loadFont_cached(name); if (isLocalFontFamily(name)) ret new Font(name, Font.PLAIN, defaultFontSize()); fail("No font for name " + name); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034609 |
Snippet name: | fontForName |
Eternal ID of this version: | #1034609/1 |
Text MD5: | bde7bddf730c196138909ec11222f7ac |
Transpilation MD5: | 5d9b6edcddeae622f7709b2b5c4e0060 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-20 22:21:25 |
Source code size: | 219 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 133 / 199 |
Referenced in: | [show references] |