import_fonts: Import Ubuntu fonts for use in charts and in the PDF reports

View source: R/fonts.R

import_fontsR Documentation

Import Ubuntu fonts for use in charts and in the PDF reports

Description

[Deprecated]

The function relies on {extrafont} package that comes with briken dependencies at the moment. An experimental register_reschola_fonts() is proposed.

Usage

import_fonts()

Details

This is an analogue of hrbrthemes::import_roboto_condensed().

There is an option reschola.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.

Note

If you install the fonts just for the current user (via right-click and Install), they will probably not be discoverable by the fontspec LaTeX package that is used for PDF report typesetting!

Source

Fonts are licensed under the Ubuntu Font License.

See Also

Other Font helpers and shortcuts: install_reschola_fonts(), register_reschola_fonts(), use_reschola_fonts()


scholaempirica/reschola documentation built on June 1, 2024, 1:29 p.m.