Enum fontconfig_parser::PropertyKind
source · pub enum PropertyKind {
Show 49 variants
Family,
FamilyLang,
Style,
StyleLang,
FullName,
FullNameLang,
Slant,
Weight,
Size,
Width,
Aspect,
PixelSize,
Spacing,
Foundry,
Antialias,
Hinting,
HintStyle,
VerticalLayout,
AutoHint,
GlobalAdvance,
File,
Index,
Rasterizer,
Outline,
Scalable,
Color,
Scale,
Dpi,
Rgba,
Lcdfilter,
Minspace,
Charset,
Lang,
Fontversion,
Capability,
Fontformat,
Embolden,
Embeddedbitmap,
Decorative,
Fontfeatures,
Namelang,
Prgname,
Postscriptname,
Fonthashint,
Order,
Matrix,
PixelSizeFixupFactor,
ScalingNotNeeded,
Dynamic(String),
}
Variants§
Family
Font family names
FamilyLang
Languages corresponding to each family
Style
Font style. Overrides weight and slant
StyleLang
Languages corresponding to each style
FullName
Font full names (often includes style)
FullNameLang
Languages corresponding to each fullname
Slant
Italic, oblique or roman
Weight
Light, medium, demibold, bold or black
Size
Point size
Width
Condensed, normal or expanded
Aspect
Stretches glyphs horizontally before hinting
PixelSize
Pixel size
Spacing
Proportional, dual-width, monospace or charcell
Foundry
Font foundry name
Antialias
Whether glyphs can be antialiased
Hinting
Whether the rasterizer should use hinting
HintStyle
Automatic hinting style
VerticalLayout
Automatic hinting style
AutoHint
Use autohinter instead of normal hinter
GlobalAdvance
Use font global advance data (deprecated)
File
The filename holding the font
Index
The index of the font within the file
Rasterizer
Which rasterizer is in use (deprecated)
Outline
Whether the glyphs are outlines
Scalable
Whether glyphs can be scaled
Color
Whether any glyphs have color
Scale
Scale factor for point->pixel conversions (deprecated)
Dpi
Target dots per inch
Rgba
unknown, rgb, bgr, vrgb, vbgr, none - subpixel geometry
Lcdfilter
Type of LCD filter
Minspace
Eliminate leading from line spacing
Charset
Unicode chars encoded by the font
Lang
List of RFC-3066-style languages this font supports
Fontversion
Version number of the font
Capability
List of layout capabilities in the font
Fontformat
String name of the font format
Embolden
Rasterizer should synthetically embolden the font
Embeddedbitmap
Use the embedded bitmap instead of the outline
Decorative
Whether the style is a decorative variant
Fontfeatures
List of the feature tags in OpenType to be enabled
Namelang
Language name to be used for the default value of familylang, stylelang, and fullnamelang
Prgname
String Name of the running program
Postscriptname
Font family name in PostScript
Fonthashint
Whether the font has hinting
Order
Order number of the font
Matrix
PixelSizeFixupFactor
ScalingNotNeeded
Dynamic(String)
Implementations§
source§impl PropertyKind
impl PropertyKind
pub fn make_property(self, expr: Expression) -> Property
Trait Implementations§
source§impl Clone for PropertyKind
impl Clone for PropertyKind
source§fn clone(&self) -> PropertyKind
fn clone(&self) -> PropertyKind
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PropertyKind
impl Debug for PropertyKind
source§impl Default for PropertyKind
impl Default for PropertyKind
source§impl FromStr for PropertyKind
impl FromStr for PropertyKind
source§impl PartialEq for PropertyKind
impl PartialEq for PropertyKind
impl Eq for PropertyKind
impl StructuralPartialEq for PropertyKind
Auto Trait Implementations§
impl Freeze for PropertyKind
impl RefUnwindSafe for PropertyKind
impl Send for PropertyKind
impl Sync for PropertyKind
impl Unpin for PropertyKind
impl UnwindSafe for PropertyKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)