Libraryless. Click here for Pure Java version (7014L/41K).
1 | static Font fontForName(S name) { |
2 | if (isSnippetID(name)) |
3 | ret loadFont_cached(name); |
4 | if (isLocalFontFamily(name)) |
5 | ret new Font(name, Font.PLAIN, defaultFontSize()); |
6 | fail("No font for name " + name); |
7 | } |
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: | 134 / 200 |
Referenced in: | [show references] |