Skip to main content

tex_font_file_name

Function tex_font_file_name 

Source
pub fn tex_font_file_name(
    family: &str,
    series: &str,
    shape: &str,
    points: f64,
) -> Option<(String, Option<String>)>
Expand description

The TeX font file of a text font, as \font names one: cmtt10, cmbx9, and cmr10 loaded at 10.95pt (Some second part) for a size with no file of its own — the Computer Modern font of the family, series and shape (None for a combination with none). LaTeX’s OT1 .fd files pick the nearest design size (ot1cmr.fd); this keeps the size or falls back to 10.