Enum fontconfig_parser::PropertyKind[][src]

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(CompactStr),
}

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(CompactStr)

Tuple Fields of Dynamic

0: CompactStr

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

The associated error which can be returned from parsing.

Parses a string s to return a value of this 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.