This is the font-discovery Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 05:08:40 2025 GMT+0.
font-discovery/font-discovery.asd
font-discovery/package.lisp
font-discovery/common.lisp
font-discovery/generic.lisp
font-discovery/fontconfig.lisp
font-discovery/linux.lisp
font-discovery/coretext.lisp
font-discovery/macos.lisp
font-discovery/directwrite.lisp
font-discovery/windows.lisp
font-discovery/documentation.lisp
The main system appears first, followed by any subsystem dependency.
font-discovery
Find system font files matching a font spec.
Yukari Hafner <shinmera@tymoon.eu>
Yukari Hafner <shinmera@tymoon.eu>
zlib
1.0.0
trivial-features
(system).
documentation-utils
(system).
pathname-utils
(system).
trivial-indent
(system).
zpb-ttf
(system).
com-on
(system)., for feature :windows
cffi
(system).
package.lisp
(file).
common.lisp
(file).
generic.lisp
(file).
fontconfig.lisp
(file).
linux.lisp
(file).
coretext.lisp
(file).
macos.lisp
(file).
directwrite.lisp
(file).
windows.lisp
(file).
documentation.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
font-discovery/font-discovery.asd
font-discovery/package.lisp
font-discovery/common.lisp
font-discovery/generic.lisp
font-discovery/fontconfig.lisp
font-discovery/linux.lisp
font-discovery/coretext.lisp
font-discovery/macos.lisp
font-discovery/directwrite.lisp
font-discovery/windows.lisp
font-discovery/documentation.lisp
font-discovery/font-discovery.asd
font-discovery
(system).
font-discovery/common.lisp
package.lisp
(file).
font-discovery
(system).
*backends*
(special variable).
backend
(class).
deinit*
(generic function).
find-font*
(generic function).
init*
(generic function).
list-fonts*
(generic function).
maybe-enum
(function).
maybe-enum-val
(function).
parse-file
(function).
refresh*
(generic function).
register-backend
(function).
with-protection
(macro).
font-discovery/generic.lisp
common.lisp
(file).
font-discovery
(system).
*font-search-paths*
(special variable).
*system-font-search-paths*
(special variable).
deinit*
(method).
discover-fonts
(function).
find-font*
(method).
generic
(class).
init*
(method).
list-fonts*
(method).
match-font
(function).
refresh*
(method).
registry
(reader method).
(setf registry)
(writer method).
font-discovery/fontconfig.lisp
(:or :linux (:and :bsd (:not :darwin)))
generic.lisp
(file).
font-discovery
(system).
+family+
(special variable).
+file+
(special variable).
+size+
(special variable).
+slant+
(special variable).
+spacing+
(special variable).
+weight+
(special variable).
+width+
(special variable).
config-destroy
(function).
config-substitute
(function).
create-pattern
(function).
create-range
(function).
default-substitute
(function).
destroy-pattern
(function).
destroy-range
(function).
destroy-set
(function).
fini
(function).
font-match
(function).
font-set-fonts
(function).
(setf font-set-fonts)
(function).
font-set-nfont
(function).
(setf font-set-nfont)
(function).
font-set-sfont
(function).
(setf font-set-sfont)
(function).
font-set-tclass
(class).
font-sort
(function).
init-load-config-and-fonts
(function).
pattern-add-integer
(function).
pattern-add-range
(function).
pattern-add-string
(function).
pattern-get-double
(function).
pattern-get-integer
(function).
pattern-get-range
(function).
pattern-get-string
(function).
range-get
(function).
font-discovery/linux.lisp
(:or :linux (:and :bsd (:not :darwin)))
fontconfig.lisp
(file).
generic.lisp
(file).
font-discovery
(system).
deinit*
(method).
find-font*
(method).
fontconfig
(class).
handle
(reader method).
(setf handle)
(writer method).
init*
(method).
init-pattern
(function).
list-fonts*
(method).
refresh*
(method).
translate-match
(function).
with-result
(macro).
font-discovery/coretext.lisp
:darwin
linux.lisp
(file).
fontconfig.lisp
(file).
generic.lisp
(file).
font-discovery
(system).
font-discovery/macos.lisp
:darwin
coretext.lisp
(file).
linux.lisp
(file).
fontconfig.lisp
(file).
generic.lisp
(file).
font-discovery
(system).
font-discovery/directwrite.lisp
:win32
macos.lisp
(file).
coretext.lisp
(file).
linux.lisp
(file).
fontconfig.lisp
(file).
generic.lisp
(file).
font-discovery
(system).
font-discovery/windows.lisp
:win32
directwrite.lisp
(file).
macos.lisp
(file).
coretext.lisp
(file).
linux.lisp
(file).
fontconfig.lisp
(file).
generic.lisp
(file).
font-discovery
(system).
font-discovery/documentation.lisp
windows.lisp
(file).
directwrite.lisp
(file).
macos.lisp
(file).
coretext.lisp
(file).
linux.lisp
(file).
fontconfig.lisp
(file).
generic.lisp
(file).
font-discovery
(system).
Packages are listed by definition order.
org.shirakumo.font-discovery
common-lisp
.
*font-search-paths*
(special variable).
*system-font-search-paths*
(special variable).
deinit
(function).
family
(generic reader).
file
(generic reader).
find-font
(function).
font
(class).
init
(function).
list-fonts
(function).
refresh
(function).
slant
(generic reader).
spacing
(generic reader).
stretch
(generic reader).
weight
(generic reader).
*backends*
(special variable).
+family+
(special variable).
+file+
(special variable).
+size+
(special variable).
+slant+
(special variable).
+spacing+
(special variable).
+weight+
(special variable).
+width+
(special variable).
backend
(class).
config-destroy
(function).
config-substitute
(function).
create-pattern
(function).
create-range
(function).
default-substitute
(function).
deinit*
(generic function).
destroy-pattern
(function).
destroy-range
(function).
destroy-set
(function).
discover-fonts
(function).
find-font*
(generic function).
fini
(function).
font-match
(function).
font-set-fonts
(function).
(setf font-set-fonts)
(function).
font-set-nfont
(function).
(setf font-set-nfont)
(function).
font-set-sfont
(function).
(setf font-set-sfont)
(function).
font-set-tclass
(class).
font-sort
(function).
fontconfig
(class).
generic
(class).
handle
(generic reader).
(setf handle)
(generic writer).
init*
(generic function).
init-load-config-and-fonts
(function).
init-pattern
(function).
list-fonts*
(generic function).
match-font
(function).
maybe-enum
(function).
maybe-enum-val
(function).
parse-file
(function).
pattern-add-integer
(function).
pattern-add-range
(function).
pattern-add-string
(function).
pattern-get-double
(function).
pattern-get-integer
(function).
pattern-get-range
(function).
pattern-get-string
(function).
range-get
(function).
refresh*
(generic function).
register-backend
(function).
registry
(generic reader).
(setf registry)
(generic writer).
translate-match
(function).
with-protection
(macro).
with-result
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
List of directories to search for fonts in the generic backend.
Users may push additional directories to search onto this list.
After modifying the list, REFRESH must be called to rediscover
the fonts.
See *SYSTEM-FONT-SEARCH-PATHS*
See REFRESH
List of standard system font directories.
The default list depends on the operating system as follows:
On Linux/BSD:
/usr/share/fonts/
/usr/local/share/fonts/
~/.local/share/fonts/
~/.fonts/
$XDG_DATA_HOME/fonts/
On Darwin:
/System/Library/Fonts/
/Library/Fonts/
~/Library/Fonts/
On Windows:
%WINDIR%/Fonts/
%USERPROFILE%/AppData/Local/Microsoft/Windows/Fonts/
See *FONT-SEARCH-PATHS*
Uninitializes the library.
This will shut down foreign libraries and deallocate cache memory.
Returns T if it did so.
It will not close the foreign libraries that were opened by INIT.
It is safe to call this function multiple times.
See INIT
Attempts to find a font with specifications that match the query as close as possible.
Returns a FONT instance, or NIL if no match can be found.
Note that on some systems the returned font may not be an exact
match, but rather a closest approximation.
For the possible values of the arguments, see the FONT class and its
reader functions.
Doing this will automatically call INIT.
See LIST-FONTS
See INIT
See FONT
Initializes the library for use.
This will load foreign libraries and set up internal state if
necessary. Returns T if it did so.
It is safe to call this function multiple times.
See REFRESH
See DEINIT
Returns a list of fonts with specifications that match the query.
Returns a list of FONT instances that match the query.
For the possible values of the arguments, see the FONT class and its
reader functions.
Doing this will automatically call INIT.
See FIND-FONT
See INIT
See FONT
Refreshes the font cache.
This should cause new system fonts to be recognised. You should call
this function whenever you think the list of system fonts might have
changed. Returns T if the cache was updated.
Doing this will automatically call INIT.
See INIT
Returns the font family name.
See FONT
Returns the pathname to the font file.
This may be a TTF or OTF file.
See FONT
Returns the slant of the font.
This may be one of the following keywords, in order of increasing slant, or a system-dependent numeric value for the font’s slant.
:ROMAN
:ITALIC
:OBLIQUE
See FONT
Returns the font’s spacing.
This may be one of the following keywords, in order of increasing spacing, or a system-dependent numeric value for the font’s spacing.
:PROPORTIONAL
:DUALSPACE
:MONOSPACE
:CHARCELL
See FONT
Returns the font’s stretch factor.
This may be one of the following keywords, in order of increasing
stretch factor, or a system-dependent numeric value for the font’s
stretch factor.
:ULTRA-CONDENSED
:EXTRA-CONDENSED
:CONDENSED
:SEMI-CONDENSED
:NORMAL
:SEMI-EXPANDED
:EXPANDED
:EXTRA-EXPANDED
:ULTRA-EXPANDED
See FONT
Returns the weight of the font.
This may be one of the following keywords, in order of increasing weight, or a system-dependent numeric value for the font’s weight.
:THIN
:EXTRA-LIGHT
:LIGHT
:SEMI-LIGHT
:BOOK
:REGULAR
:MEDIUM
:SEMI-BOLD
:BOLD
:EXTRA-BOLD
:BLACK
:EXTRA-BLACK
See FONT
A representation of a system font and its font attributes.
See FILE
See FAMILY
See SLANT
See WEIGHT
See SPACING
See STRETCH
(error "file required.")
:file
file
.
This slot is read-only.
(error "family required.")
:family
This slot is read-only.
:proportional
:spacing
This slot is read-only.
fontconfig
)) ¶fontconfig
) &rest args &key &allow-other-keys) ¶fontconfig
)) ¶automatically generated reader method
fontconfig
)) ¶automatically generated writer method
fontconfig
)) ¶fontconfig
) &rest args &key &allow-other-keys) ¶fontconfig
)) ¶foreign-struct-type
.
translatable-foreign-type
.
Jump to: | (
C D F G H I L M P R S T W |
---|
Jump to: | (
C D F G H I L M P R S T W |
---|
Jump to: | *
+
F H R S W |
---|
Jump to: | *
+
F H R S W |
---|
Jump to: | B C D F G L M O P S W |
---|
Jump to: | B C D F G L M O P S W |
---|