Skip to main content

write_glyph_register

Function write_glyph_register 

Source
pub fn write_glyph_register<W: Write>(
    w: &mut W,
    registration: &GlyphRegistration<'_>,
) -> Result<()>
Expand description

Write a registration request.

Binary payloads are base64-encoded. The writer checks the framing before any output: vg text and option values must be printable ASCII without ;, option keys must be lowercase ASCII letters other than the keys the writer sets, and the payload must fit MAX_GLYPH_PAYLOAD. The terminal checks the codepoint and the payload content, and replies with a reason.