Trait write_fonts::FontWrite
source · pub trait FontWrite {
// Required method
fn write_into(&self, writer: &mut TableWriter);
// Provided method
fn name(&self) -> &'static str { ... }
}Expand description
A type that that can be written out as part of a font file.
This both handles writing big-endian bytes as well as describing the relationship between tables and their subtables.
Required Methods§
sourcefn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.