Libraryless. Click here for Pure Java version (7579L/43K).
static L<Font> getLocalFonts(Iterable<S> fontFamilies) { var families = asSet(localFontFamilies()); ret mapNonNulls(fontFamilies, name -> families.contains(name) ? localFont(name) : null); }
Began life as a copy of #1034606
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035097 |
Snippet name: | getLocalFonts - lookup local fonts by name, return only those that exist |
Eternal ID of this version: | #1035097/2 |
Text MD5: | 9e56e7718a73c27706084e148abd4d80 |
Transpilation MD5: | afad2150f995408425ef5bc7b519a7a4 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-29 23:47:19 |
Source code size: | 197 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 141 / 192 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |