The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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
registerFontFile