[−][src]Function pbf_font_tools::combine_glyphs
pub fn combine_glyphs(data: Vec<glyphs>) -> Option<glyphs>
Combines a list of SDF font glyphs into a single glyphs message. All input font stacks are flattened into a single font stack containing all the glyphs. The input order indicates precedence. If the same glyph ID is encountered multiple times, only the first will be used.
NOTE: This returns None
if there are no glyphs in the range. If you need to
construct an empty message, the responsibility lies with the caller.