Panose
struct · ferroui-base · v0.5.0
struct Panose
The PANOSE classification of a font (the ten bytes stored in the OS/2 table).
Members
newloadfamily_kindserif_styleweightproportioncontraststroke_variationarm_styleletterformmidlinex_height
new
const fn new(b0: u8, b1: u8, b2: u8, b3: u8, b4: u8, b5: u8, b6: u8, b7: u8, b8: u8, b9: u8) -> Self
load
fn load(reader: &mut BigEndianBinaryReader<'_>) -> Result<Panose, FontTableError>
family_kind
fn family_kind(self: &Self) -> PanoseFamilyKind
serif_style
fn serif_style(self: &Self) -> PanoseSerifStyle
weight
fn weight(self: &Self) -> PanoseWeight
proportion
fn proportion(self: &Self) -> PanoseProportion
contrast
fn contrast(self: &Self) -> PanoseContrast
stroke_variation
fn stroke_variation(self: &Self) -> PanoseStrokeVariation
arm_style
fn arm_style(self: &Self) -> PanoseArmStyle
letterform
fn letterform(self: &Self) -> PanoseLetterform
midline
fn midline(self: &Self) -> PanoseMidline
x_height
fn x_height(self: &Self) -> PanoseXHeight
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHashDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.