Enum fontconfig_parser::Property[][src]

pub enum Property {
Show 49 variants Family(Expression), FamilyLang(Expression), Style(Expression), StyleLang(Expression), FullName(Expression), FullNameLang(Expression), Slant(Expression), Weight(Expression), Size(Expression), Width(Expression), Aspect(Expression), PixelSize(Expression), Spacing(Expression), Foundry(Expression), Antialias(Expression), Hinting(Expression), HintStyle(Expression), VerticalLayout(Expression), AutoHint(Expression), GlobalAdvance(Expression), File(Expression), Index(Expression), Rasterizer(Expression), Outline(Expression), Scalable(Expression), Color(Expression), Scale(Expression), Dpi(Expression), Rgba(Expression), Lcdfilter(Expression), Minspace(Expression), Charset(Expression), Lang(Expression), Fontversion(Expression), Capability(Expression), Fontformat(Expression), Embolden(Expression), Embeddedbitmap(Expression), Decorative(Expression), Fontfeatures(Expression), Namelang(Expression), Prgname(Expression), Postscriptname(Expression), Fonthashint(Expression), Order(Expression), Matrix(Expression), PixelSizeFixupFactor(Expression), ScalingNotNeeded(Expression), Dynamic(CompactStrExpression),
}

Variants

Family(Expression)

Font family names

Tuple Fields of Family

0: Expression
FamilyLang(Expression)

Languages corresponding to each family

Tuple Fields of FamilyLang

0: Expression
Style(Expression)

Font style. Overrides weight and slant

Tuple Fields of Style

0: Expression
StyleLang(Expression)

Languages corresponding to each style

Tuple Fields of StyleLang

0: Expression
FullName(Expression)

Font full names (often includes style)

Tuple Fields of FullName

0: Expression
FullNameLang(Expression)

Languages corresponding to each fullname

Tuple Fields of FullNameLang

0: Expression
Slant(Expression)

Italic, oblique or roman

Tuple Fields of Slant

0: Expression
Weight(Expression)

Light, medium, demibold, bold or black

Tuple Fields of Weight

0: Expression

Point size

Tuple Fields of Size

0: Expression
Width(Expression)

Condensed, normal or expanded

Tuple Fields of Width

0: Expression
Aspect(Expression)

Stretches glyphs horizontally before hinting

Tuple Fields of Aspect

0: Expression
PixelSize(Expression)

Pixel size

Tuple Fields of PixelSize

0: Expression
Spacing(Expression)

Proportional, dual-width, monospace or charcell

Tuple Fields of Spacing

0: Expression
Foundry(Expression)

Font foundry name

Tuple Fields of Foundry

0: Expression
Antialias(Expression)

Whether glyphs can be antialiased

Tuple Fields of Antialias

0: Expression
Hinting(Expression)

Whether the rasterizer should use hinting

Tuple Fields of Hinting

0: Expression
HintStyle(Expression)

Automatic hinting style

Tuple Fields of HintStyle

0: Expression
VerticalLayout(Expression)

Automatic hinting style

Tuple Fields of VerticalLayout

0: Expression
AutoHint(Expression)

Use autohinter instead of normal hinter

Tuple Fields of AutoHint

0: Expression
GlobalAdvance(Expression)

Use font global advance data (deprecated)

Tuple Fields of GlobalAdvance

0: Expression

The filename holding the font

Tuple Fields of File

0: Expression
Index(Expression)

The index of the font within the file

Tuple Fields of Index

0: Expression
Rasterizer(Expression)

Which rasterizer is in use (deprecated)

Tuple Fields of Rasterizer

0: Expression
Outline(Expression)

Whether the glyphs are outlines

Tuple Fields of Outline

0: Expression
Scalable(Expression)

Whether glyphs can be scaled

Tuple Fields of Scalable

0: Expression
Color(Expression)

Whether any glyphs have color

Tuple Fields of Color

0: Expression
Scale(Expression)

Scale factor for point->pixel conversions (deprecated)

Tuple Fields of Scale

0: Expression

Target dots per inch

Tuple Fields of Dpi

0: Expression

unknown, rgb, bgr, vrgb, vbgr, none - subpixel geometry

Tuple Fields of Rgba

0: Expression
Lcdfilter(Expression)

Type of LCD filter

Tuple Fields of Lcdfilter

0: Expression
Minspace(Expression)

Eliminate leading from line spacing

Tuple Fields of Minspace

0: Expression
Charset(Expression)

Unicode chars encoded by the font

Tuple Fields of Charset

0: Expression

List of RFC-3066-style languages this font supports

Tuple Fields of Lang

0: Expression
Fontversion(Expression)

Version number of the font

Tuple Fields of Fontversion

0: Expression
Capability(Expression)

List of layout capabilities in the font

Tuple Fields of Capability

0: Expression
Fontformat(Expression)

String name of the font format

Tuple Fields of Fontformat

0: Expression
Embolden(Expression)

Rasterizer should synthetically embolden the font

Tuple Fields of Embolden

0: Expression
Embeddedbitmap(Expression)

Use the embedded bitmap instead of the outline

Tuple Fields of Embeddedbitmap

0: Expression
Decorative(Expression)

Whether the style is a decorative variant

Tuple Fields of Decorative

0: Expression
Fontfeatures(Expression)

List of the feature tags in OpenType to be enabled

Tuple Fields of Fontfeatures

0: Expression
Namelang(Expression)

Language name to be used for the default value of familylang, stylelang, and fullnamelang

Tuple Fields of Namelang

0: Expression
Prgname(Expression)

String Name of the running program

Tuple Fields of Prgname

0: Expression
Postscriptname(Expression)

Font family name in PostScript

Tuple Fields of Postscriptname

0: Expression
Fonthashint(Expression)

Whether the font has hinting

Tuple Fields of Fonthashint

0: Expression
Order(Expression)

Order number of the font

Tuple Fields of Order

0: Expression
Matrix(Expression)

Tuple Fields of Matrix

0: Expression
PixelSizeFixupFactor(Expression)

Tuple Fields of PixelSizeFixupFactor

0: Expression
ScalingNotNeeded(Expression)

Tuple Fields of ScalingNotNeeded

0: Expression

Tuple Fields of Dynamic

0: CompactStr1: Expression

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.