Return Font Information

get_font_info_from_tk(tkFont)

Arguments

tkFont

A specified tk font character, one of l_getOption("font-scales"), l_getOption("font-title"), l_getOption("font-xlabel"), l_getOption("font-ylabel")

Value

A list of font information, containing font "family", font "face" and font "size"

Examples

fontscales <- l_getOption("font-scales") get_font_info_from_tk(fontscales)
#> $family #> [1] "sans" #> #> $face #> [1] "plain" #> #> $size #> [1] 8 #>