Package: pango

Function pango:font-description-to-filename

Lambda List

pango:font-description-to-filename (desc)

Arguments

desc -- a pango:font-description instance

Return Value

The string with a filname.

Details

Creates a filename representation of a font description. The filename is identical to the result from calling the pango:font-description-to-string function, but with underscores instead of characters that are untypical in filenames, and in lower case only.

Example

(pango:font-description-from-string "Sans Bold 16")
=> #<PANGO:FONT-DESCRIPTION {1007EF4DF3}>
(pango:font-description-to-filename *)
=> "sans_bold_16"    
 

See also

2024-3-4