ยค loadFont, queryFont, et al

Types

loadFont :: FudgetIO f => String -> (FontId -> f b ho) -> f b ho
queryFont :: FudgetIO f => FontId -> (FontStruct -> f b ho) -> f b ho
loadQueryFont :: FudgetIO f => String -> (Maybe FontStruct -> f b ho) -> f b ho
loadFontF :: String -> Cont (F b c) FontId
queryFontF :: FontId -> Cont (F b c) FontStruct
loadQueryFontF :: String -> Cont (F b c) (Maybe FontStruct)
safeLoadQueryFont :: FudgetIO f => FontName -> (FontStruct -> f b ho) -> f b ho
safeLoadQueryFontF :: FontName -> (FontStruct -> F b c) -> F b c

Description

These combinators are used to load fonts and font metric information.

The safe versions should never fail. They try to load the named font, but if that fails they load the fixed font instead, which is assumed to always be present.

See Also

xrequestK, xrequestF, XLoadFont, XQueryFont and XLoadQueryFont in the Xlib Programming Manual .