loadFont :: FudgetIO f => FontName -> (FontId -> f b ho) -> f b ho queryFont :: FudgetIO f => FontId -> (FontStruct -> f b ho) -> f b ho loadQueryFont :: FudgetIO f => FontName -> (Maybe FontStruct -> f b ho) -> f b ho loadFontF :: FontName -> Cont (F b c) FontId queryFontF :: FontId -> Cont (F b c) FontStruct loadQueryFontF :: FontName -> 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
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.
XLoadFont
, XQueryFont
and XLoadQueryFont
in the Xlib Programming Manual
.