Skip to main content

merge_font

Function merge_font 

Source
pub fn merge_font(font: Font)
Expand description

Merge font attributes into the current font, locally — the change reverts with the enclosing TeX group.

Port of Perl Package.pm:MergeFont L441-444 (AssignValue(font => LookupValue('font')->merge(@kv), 'local')). Only the attributes font actually specifies are taken; the rest are inherited from the font in force. See merge_font_ref to merge without moving the font.