printed ~master (2024-08-05T00:29:54Z)
Dub
Repo
FontRegistry.findBestMatchingFont
printed
font
fontregistry
FontRegistry
class
FontRegistry
OpenTypeFont
findBestMatchingFont
(
string
familyName
,
OpenTypeFontWeight
weight
,
OpenTypeFontStyle
style
)
Return Value
Type:
OpenTypeFont
a font which best follows the requested characteristics given.
Meta
Source
See Implementation
printed
font
fontregistry
FontRegistry
constructors
this
functions
findBestMatchingFont
knownFonts
registerFontFile
structs
FontSpec
variables
_matchedFonts