Enum fontconfig_parser::Property[][src]

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

Variants

Family(Expression<'a>)

Font family names

Tuple Fields of Family

0: Expression<'a>
FamilyLang(Expression<'a>)

Languages corresponding to each family

Tuple Fields of FamilyLang

0: Expression<'a>
Style(Expression<'a>)

Font style. Overrides weight and slant

Tuple Fields of Style

0: Expression<'a>
StyleLang(Expression<'a>)

Languages corresponding to each style

Tuple Fields of StyleLang

0: Expression<'a>
FullName(Expression<'a>)

Font full names (often includes style)

Tuple Fields of FullName

0: Expression<'a>
FullNameLang(Expression<'a>)

Languages corresponding to each fullname

Tuple Fields of FullNameLang

0: Expression<'a>
Slant(Expression<'a>)

Italic, oblique or roman

Tuple Fields of Slant

0: Expression<'a>
Weight(Expression<'a>)

Light, medium, demibold, bold or black

Tuple Fields of Weight

0: Expression<'a>
Size(Expression<'a>)

Point size

Tuple Fields of Size

0: Expression<'a>
Width(Expression<'a>)

Condensed, normal or expanded

Tuple Fields of Width

0: Expression<'a>
Aspect(Expression<'a>)

Stretches glyphs horizontally before hinting

Tuple Fields of Aspect

0: Expression<'a>
PixelSize(Expression<'a>)

Pixel size

Tuple Fields of PixelSize

0: Expression<'a>
Spacing(Expression<'a>)

Proportional, dual-width, monospace or charcell

Tuple Fields of Spacing

0: Expression<'a>
Foundry(Expression<'a>)

Font foundry name

Tuple Fields of Foundry

0: Expression<'a>
Antialias(Expression<'a>)

Whether glyphs can be antialiased

Tuple Fields of Antialias

0: Expression<'a>
Hinting(Expression<'a>)

Whether the rasterizer should use hinting

Tuple Fields of Hinting

0: Expression<'a>
HintStyle(Expression<'a>)

Automatic hinting style

Tuple Fields of HintStyle

0: Expression<'a>
VerticalLayout(Expression<'a>)

Automatic hinting style

Tuple Fields of VerticalLayout

0: Expression<'a>
AutoHint(Expression<'a>)

Use autohinter instead of normal hinter

Tuple Fields of AutoHint

0: Expression<'a>
GlobalAdvance(Expression<'a>)

Use font global advance data (deprecated)

Tuple Fields of GlobalAdvance

0: Expression<'a>
File(Expression<'a>)

The filename holding the font

Tuple Fields of File

0: Expression<'a>
Index(Expression<'a>)

The index of the font within the file

Tuple Fields of Index

0: Expression<'a>
Rasterizer(Expression<'a>)

Which rasterizer is in use (deprecated)

Tuple Fields of Rasterizer

0: Expression<'a>
Outline(Expression<'a>)

Whether the glyphs are outlines

Tuple Fields of Outline

0: Expression<'a>
Scalable(Expression<'a>)

Whether glyphs can be scaled

Tuple Fields of Scalable

0: Expression<'a>
Color(Expression<'a>)

Whether any glyphs have color

Tuple Fields of Color

0: Expression<'a>
Scale(Expression<'a>)

Scale factor for point->pixel conversions (deprecated)

Tuple Fields of Scale

0: Expression<'a>
Dpi(Expression<'a>)

Target dots per inch

Tuple Fields of Dpi

0: Expression<'a>
Rgba(Expression<'a>)

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

Tuple Fields of Rgba

0: Expression<'a>
Lcdfilter(Expression<'a>)

Type of LCD filter

Tuple Fields of Lcdfilter

0: Expression<'a>
Minspace(Expression<'a>)

Eliminate leading from line spacing

Tuple Fields of Minspace

0: Expression<'a>
Charset(Expression<'a>)

Unicode chars encoded by the font

Tuple Fields of Charset

0: Expression<'a>
Lang(Expression<'a>)

List of RFC-3066-style languages this font supports

Tuple Fields of Lang

0: Expression<'a>
Fontversion(Expression<'a>)

Version number of the font

Tuple Fields of Fontversion

0: Expression<'a>
Capability(Expression<'a>)

List of layout capabilities in the font

Tuple Fields of Capability

0: Expression<'a>
Fontformat(Expression<'a>)

String name of the font format

Tuple Fields of Fontformat

0: Expression<'a>
Embolden(Expression<'a>)

Rasterizer should synthetically embolden the font

Tuple Fields of Embolden

0: Expression<'a>
Embeddedbitmap(Expression<'a>)

Use the embedded bitmap instead of the outline

Tuple Fields of Embeddedbitmap

0: Expression<'a>
Decorative(Expression<'a>)

Whether the style is a decorative variant

Tuple Fields of Decorative

0: Expression<'a>
Fontfeatures(Expression<'a>)

List of the feature tags in OpenType to be enabled

Tuple Fields of Fontfeatures

0: Expression<'a>
Namelang(Expression<'a>)

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

Tuple Fields of Namelang

0: Expression<'a>
Prgname(Expression<'a>)

String Name of the running program

Tuple Fields of Prgname

0: Expression<'a>
Postscriptname(Expression<'a>)

Font family name in PostScript

Tuple Fields of Postscriptname

0: Expression<'a>
Fonthashint(Expression<'a>)

Whether the font has hinting

Tuple Fields of Fonthashint

0: Expression<'a>
Order(Expression<'a>)

Order number of the font

Tuple Fields of Order

0: Expression<'a>
Matrix(Expression<'a>)

Tuple Fields of Matrix

0: Expression<'a>
PixelSizeFixupFactor(Expression<'a>)

Tuple Fields of PixelSizeFixupFactor

0: Expression<'a>
ScalingNotNeeded(Expression<'a>)

Tuple Fields of ScalingNotNeeded

0: Expression<'a>
Dynamic(StringExpression<'a>)

Tuple Fields of Dynamic

0: String1: Expression<'a>

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.