Brain Dump

Xft

Tags
software

Is a standard for font specifications for Xorg.

Xft uses a pattern of the form

`[-][,[-fallback-size]...][:=...]`

where name=value pairs can be used to provide arbitrary options for the font lookup engine. Xorg will then search for the font most closely matching the options you provide and then return it. Note: In the case where you specify multiple fallback fonts, the options will be applied to every font in turn to pick a match. So if you specify weight=bold that will be applied to whichever font is returned.

Table 1: Listing of all the available Xft fields and options.
NameTypeDescription
familyString
styleString
slantIntFont slant. Can be roman, italic, oblique.
weightIntFont weight. Can be light, medium, demibold, bold, black.
sizeDouble
pixelsizeDouble
encodingString
spacingIntThe gaps between characters. Can be proportional, mono or charcell.
foundryString
coreBool
antialiasBool
xlfdString
fileString
indexInt
rasterizerString
outlineBool
scalableBool
rgbaIntCan be rgb, bgr, vrgb, vbgr.
scaleDouble
renderBool
minspaceBool
charwidthInt
charheightInt
matrixXftMatrix