This is the font-discovery Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:08:08 2024 GMT+0.
font-discovery/font-discovery.asd
font-discovery/package.lisp
font-discovery/common.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).
trivial-indent
(system).
com-on
(system)., for feature :windows
cffi
(system).
package.lisp
(file).
common.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/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).
maybe-enum
(function).
maybe-enum-val
(function).
parse-file
(function).
with-protection
(macro).
font-discovery/fontconfig.lisp
(:or :linux :bsd)
common.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 :bsd)
fontconfig.lisp
(file).
common.lisp
(file).
font-discovery
(system).
deinit
(function).
find-font
(function).
init
(function).
list-fonts
(function).
refresh
(function).
*config*
(special variable).
init-pattern
(function).
translate-match
(function).
with-result
(macro).
font-discovery/coretext.lisp
:darwin
linux.lisp
(file).
fontconfig.lisp
(file).
common.lisp
(file).
font-discovery
(system).
font-discovery/macos.lisp
:darwin
coretext.lisp
(file).
linux.lisp
(file).
fontconfig.lisp
(file).
common.lisp
(file).
font-discovery
(system).
font-discovery/directwrite.lisp
:win32
macos.lisp
(file).
coretext.lisp
(file).
linux.lisp
(file).
fontconfig.lisp
(file).
common.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).
common.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).
common.lisp
(file).
font-discovery
(system).
Packages are listed by definition order.
org.shirakumo.font-discovery
common-lisp
.
*config*
(special variable).
+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).
init-pattern
(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).
translate-match
(function).
with-protection
(macro).
with-result
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
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.
foreign-struct-type
.
translatable-foreign-type
.
Jump to: | (
C D F G I L M P R S T W |
---|
Jump to: | (
C D F G I L M P R S T W |
---|
Jump to: | *
+
F S W |
---|
Jump to: | *
+
F S W |
---|
Jump to: | C D F L M O P S W |
---|
Jump to: | C D F L M O P S W |
---|