openrndr
0.4.5-dev.8+a91fb75
jvm
openrndr-draw
/
org.openrndr.draw
/
loadFont
load
Font
jvm
fun
loadFont
(
fileOrUrl
:
String
,
size
:
Double
,
characterSet
:
Set
<
Char
>
=
defaultFontmapCharacterSet
,
contentScale
:
Double
=
1.0
,
fontScaler
:
(
Face
)
->
Double
=
::fontHeightScaler
)
:
FontImageMap
(
source
)