Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1034606 // localFont

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (38L/1K).

static Font localFont(S fontFamily, int size default defaultFontSize()) {
  ret new Font(fontFamily, Font.PLAIN, size);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034606
Snippet name: localFont
Eternal ID of this version: #1034606/4
Text MD5: 9804049a2ee2b2672cd935845e886671
Transpilation MD5: 86be9b472709bd851ea8391bbcf00f1c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-30 03:41:50
Source code size: 123 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 167 / 248
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035097 - getLocalFonts - lookup local fonts by name, return only those that exist