The following paragraphs describe CLX functions that return fonts or font names that match a given pattern string. Such pattern strings should contain only ISO Latin-1 characters; case is not significant. The following pattern characters can be used for wildcard matching:
For example, the pattern "T?mes Roman" matches the name "Times Roman" but not the name "Thames Roman". However, the pattern "T*mes Roman" matches both names.
|font-path||display &key ( :result-type 'list)||Function|
Returns a list (by default) of names containing the current search path for fonts. With setf, this function sets the search path for font lookup. There is only one search path per server, not one per client. The interpretation of the names is server-dependent, but they are intended to specify directories to be searched in the order listed.
Setting the path to the empty list restores the default path defined for the server. Note that as a side-effect of executing this request, the server is guaranteed to flush all cached information about fonts for which there are currently no explicit resource IDs allocated.
|list-font-names||display pattern &key (:max-fonts 65535) (:result-type 'list)||Function|
Returns a sequence of strings containing the font names that match the pattern. The fonts available are determined by the font search path; see font-path). The maximum number of font names returned is determined by :max-fonts.
|list-fonts||display pattern &key (:max-fonts 65535) (:result-type 'list)||Function|
Returns a sequence of pseudo-fonts corresponding to the available fonts whose names match the pattern. The fonts available are determined by the font search path; see font-path). The maximum number of font objects returned is determined by :max-fonts.