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.
Name | Type | Description |
---|---|---|
family | String | |
style | String | |
slant | Int | Font slant. Can be roman , italic , oblique . |
weight | Int | Font weight. Can be light , medium , demibold , bold , black . |
size | Double | |
pixelsize | Double | |
encoding | String | |
spacing | Int | The gaps between characters. Can be proportional , mono or charcell . |
foundry | String | |
core | Bool | |
antialias | Bool | |
xlfd | String | |
file | String | |
index | Int | |
rasterizer | String | |
outline | Bool | |
scalable | Bool | |
rgba | Int | Can be rgb , bgr , vrgb , vbgr . |
scale | Double | |
render | Bool | |
minspace | Bool | |
charwidth | Int | |
charheight | Int | |
matrix | XftMatrix |