loadFont :: FudgetIO f => FontName -> (FontId -> f hi ho) -> f hi ho
queryFont :: FudgetIO f =>
FontId -> (FontStructF (Array Char CharStruct) -> f hi ho) -> f hi ho
loadQueryFont :: FudgetIO f =>
FontName ->
(Maybe (FontStructF (Array Char CharStruct)) -> f hi ho) -> f hi ho
loadFontF :: FontName -> Cont (F b c) FontId
queryFontF :: FontId -> Cont (F b c) (FontStructF (Array Char CharStruct))
loadQueryFontF :: FontName -> Cont (F b c) (Maybe (FontStructF (Array Char CharStruct)))
safeLoadQueryFont :: FudgetIO f =>
FontName ->
(FontStructF (Array Char CharStruct) -> f hi ho) -> f hi ho
safeLoadQueryFontF :: FontName -> (FontStructF (Array Char CharStruct) -> 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
.