Hind Hind is an Open Source typeface supporting the Devanagari and Latin scripts. Developed explicitly for use in User Interface design, the Hind font family includes five styles.
theme_ipsum_hind(base_family = "Hind", plot_title_family = "Hind-SemiBold", subtitle_family = "Hind-Medium", strip_text_family = "Hind Medium", caption_family = "Hind-Light", axis_title_family = "Hind Medium", ...)
base_family | base font family and size |
---|---|
plot_title_family | plot title family, face, size and margi |
subtitle_family | plot subtitle family, face and size |
strip_text_family | facet label font family, face and size |
caption_family | plot caption family, face, size and margin |
axis_title_family | axis title font family, face and size |
... | Arguments passed on to
|
First and foremost, Arial Narrow is generally installed by default or readily available on any modern system, so it's "free"-ish; plus, it is a condensed font with solid default kerning pairs and geometric numbers.
The function is setup in such a way that you can customize your own one by just wrapping the call and changing the parameters. See source for examples.
There are distinctions between font names and various devices. Names that work
for display graphics devices and bitmap ones such as png
may not work well
for PostScript or PDF ones. You may need two versions of a font-based
theme function for them to work in a particular situation. This situation
usually only arises when using a newer font with many weights but somewhat
irregular internal font name patterns.
There is an option hrbrthemes.loadfonts
which -- if set to TRUE
-- will
call extrafont::loadfonts()
to register non-core fonts with R PDF & PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.