fn serialize_font<W>(style: &Font, dest: &mut W) -> Resultwhere
    W: Write,