This is the zpb-ttf Reference Manual, version 1.0.6, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 07:10:45 2024 GMT+0.
zpb-ttf/zpb-ttf.asd
zpb-ttf/package.lisp
zpb-ttf/util.lisp
zpb-ttf/conditions.lisp
zpb-ttf/bounding-box.lisp
zpb-ttf/font-loader.lisp
zpb-ttf/maxp.lisp
zpb-ttf/head.lisp
zpb-ttf/kern.lisp
zpb-ttf/loca.lisp
zpb-ttf/name.lisp
zpb-ttf/cmap.lisp
zpb-ttf/post.lisp
zpb-ttf/hhea.lisp
zpb-ttf/hmtx.lisp
zpb-ttf/glyf.lisp
zpb-ttf/glyph.lisp
zpb-ttf/font-loader-interface.lisp
The main system appears first, followed by any subsystem dependency.
zpb-ttf
Access TrueType font metrics and outlines from Common Lisp
Zach Beane <xach@xach.com>
BSD
1.0.6
package.lisp
(file).
util.lisp
(file).
conditions.lisp
(file).
bounding-box.lisp
(file).
font-loader.lisp
(file).
maxp.lisp
(file).
head.lisp
(file).
kern.lisp
(file).
loca.lisp
(file).
name.lisp
(file).
cmap.lisp
(file).
post.lisp
(file).
hhea.lisp
(file).
hmtx.lisp
(file).
glyf.lisp
(file).
glyph.lisp
(file).
font-loader-interface.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
zpb-ttf/zpb-ttf.asd
zpb-ttf/package.lisp
zpb-ttf/util.lisp
zpb-ttf/conditions.lisp
zpb-ttf/bounding-box.lisp
zpb-ttf/font-loader.lisp
zpb-ttf/maxp.lisp
zpb-ttf/head.lisp
zpb-ttf/kern.lisp
zpb-ttf/loca.lisp
zpb-ttf/name.lisp
zpb-ttf/cmap.lisp
zpb-ttf/post.lisp
zpb-ttf/hhea.lisp
zpb-ttf/hmtx.lisp
zpb-ttf/glyf.lisp
zpb-ttf/glyph.lisp
zpb-ttf/font-loader-interface.lisp
zpb-ttf/util.lisp
package.lisp
(file).
zpb-ttf
(system).
advance-file-position
(function).
bounded-aref
(function).
(setf bounded-aref)
(function).
read-fixed
(function).
read-fixed2.14
(function).
read-fword
(function).
read-int16
(function).
read-int8
(function).
read-pstring
(function).
read-uint16
(function).
read-uint32
(function).
read-uint8
(function).
zpb-ttf/conditions.lisp
package.lisp
(file).
zpb-ttf
(system).
%actual-value
(reader method).
%expected-values
(reader method).
actual-value
(method).
actual-value
(reader method).
(setf actual-value)
(writer method).
bad-magic
(condition).
check-version
(function).
description
(reader method).
(setf description)
(writer method).
expected-values
(method).
expected-values
(reader method).
(setf expected-values)
(writer method).
location
(reader method).
(setf location)
(writer method).
regrettable-hex-value
(condition).
regrettable-value
(condition).
size
(reader method).
(setf size)
(writer method).
unsupported-format
(condition).
unsupported-value
(condition).
unsupported-version
(condition).
zpb-ttf/bounding-box.lisp
package.lisp
(file).
zpb-ttf
(system).
bounding-box
(generic function).
xmax
(generic function).
(setf xmax)
(generic function).
xmin
(generic function).
(setf xmin)
(generic function).
ymax
(generic function).
(setf ymax)
(generic function).
ymin
(generic function).
(setf ymin)
(generic function).
zpb-ttf/font-loader.lisp
package.lisp
(file).
util.lisp
(file).
bounding-box.lisp
(file).
zpb-ttf
(system).
ascender
(reader method).
(setf ascender)
(writer method).
bounding-box
(reader method).
(setf bounding-box)
(writer method).
collection-font-count
(reader method).
collection-font-index
(reader method).
descender
(reader method).
(setf descender)
(writer method).
fixed-pitch-p
(reader method).
(setf fixed-pitch-p)
(writer method).
glyph-count
(reader method).
(setf glyph-count)
(writer method).
italic-angle
(reader method).
(setf italic-angle)
(writer method).
line-gap
(reader method).
(setf line-gap)
(writer method).
print-object
(method).
underline-position
(reader method).
(setf underline-position)
(writer method).
underline-thickness
(reader method).
(setf underline-thickness)
(writer method).
units/em
(reader method).
(setf units/em)
(writer method).
advance-widths
(reader method).
(setf advance-widths)
(writer method).
character-map
(reader method).
(setf character-map)
(writer method).
font-loader
(class).
glyph-cache
(reader method).
(setf glyph-cache)
(writer method).
glyph-locations
(reader method).
(setf glyph-locations)
(writer method).
input-stream
(reader method).
(setf input-stream)
(writer method).
inverse-character-map
(reader method).
(setf inverse-character-map)
(writer method).
kerning-table
(reader method).
(setf kerning-table)
(writer method).
left-side-bearings
(reader method).
(setf left-side-bearings)
(writer method).
loca-offset-format
(reader method).
(setf loca-offset-format)
(writer method).
name
(reader method).
name-entries
(reader method).
(setf name-entries)
(writer method).
number->tag
(function).
offset
(reader method).
postscript-glyph-names
(reader method).
(setf postscript-glyph-names)
(writer method).
seek-to-table
(method).
seek-to-table
(method).
size
(reader method).
table-count
(reader method).
table-exists-p
(method).
table-info
(method).
table-info
(class).
table-position
(method).
table-size
(method).
tables
(reader method).
tag->number
(function).
zpb-ttf/maxp.lisp
package.lisp
(file).
util.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
load-maxp-info
(method).
zpb-ttf/head.lisp
package.lisp
(file).
util.lisp
(file).
conditions.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
load-head-info
(method).
zpb-ttf/kern.lisp
package.lisp
(file).
util.lisp
(file).
conditions.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
all-kerning-pairs
(method).
load-kern-info
(method).
load-kerning-format-0
(function).
load-kerning-format-2
(function).
load-kerning-subtable
(method).
parse-offset-table
(function).
zpb-ttf/loca.lisp
package.lisp
(file).
util.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
glyph-length
(method).
glyph-location
(method).
load-loca-info
(method).
zpb-ttf/name.lisp
package.lisp
(file).
util.lisp
(file).
conditions.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
family-name
(method).
find-name-entry
(method).
full-name
(method).
name-entry-value
(method).
postscript-name
(method).
print-object
(method).
subfamily-name
(method).
value
(generic function).
(setf value)
(writer method).
%octets
(reader method).
%value
(reader method).
*encoding-tables*
(special variable).
*iso-encoding-ids*
(special variable).
*macintosh-encoding-ids*
(special variable).
*macroman-translation-table*
(special variable).
*microsoft-encoding-ids*
(special variable).
*name-identifiers*
(special variable).
*platform-identifiers*
(special variable).
*unicode-encoding-ids*
(special variable).
+custom-platform-id+
(constant).
+iso-platform-id+
(constant).
+macintosh-english-language-id+
(constant).
+macintosh-platform-id+
(constant).
+macintosh-roman-encoding-id+
(constant).
+microsoft-platform-id+
(constant).
+microsoft-symbol-encoding-id+
(constant).
+microsoft-unicode-bmp-encoding-id+
(constant).
+microsoft-unicode-ucs4-encoding-id+
(constant).
+microsoft-us-english-language-id+
(constant).
+unicode-2.0-encoding-id+
(constant).
+unicode-2.0-full-encoding-id+
(constant).
+unicode-language-id+
(constant).
+unicode-platform-id+
(constant).
encoding-id
(reader method).
(setf encoding-id)
(writer method).
encoding-id-name
(function).
entry-length
(reader method).
(setf entry-length)
(writer method).
font-loader
(reader method).
(setf font-loader)
(writer method).
initialize-name-entry
(generic function).
language-id
(reader method).
(setf language-id)
(writer method).
load-name-info
(function).
macintosh-octets-to-string
(function).
name-entry
(class).
name-id
(reader method).
(setf name-id)
(writer method).
name-identifier-id
(function).
octets
(generic function).
(setf octets)
(writer method).
offset
(reader method).
(setf offset)
(writer method).
platform-id
(reader method).
(setf platform-id)
(writer method).
platform-id-name
(function).
unicode-octets-to-string
(function).
zpb-ttf/cmap.lisp
package.lisp
(file).
util.lisp
(file).
name.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
%decode-format-12-cmap-code-point-index
(function).
%decode-format-4-cmap-code-point-index
(function).
%load-cmap-info
(function).
%unknown-cmap-error
(function).
available-character-maps
(function).
cmap-value-table
(type).
code-point-font-index
(generic function).
code-point-font-index-from-cmap
(generic function).
end-codes
(reader method).
end-codes
(reader method).
font-index-code-point
(generic function).
format-12-cmap
(class).
glyph-indexes
(reader method).
(setf glyph-indexes)
(writer method).
glyph-starts
(reader method).
(setf glyph-starts)
(writer method).
group-count
(reader method).
id-deltas
(reader method).
id-range-offsets
(reader method).
invert-character-map
(method).
load-cmap-info
(method).
load-unicode-cmap
(function).
load-unicode-cmap-format12
(function).
segment-count
(reader method).
start-codes
(reader method).
start-codes
(reader method).
unicode-cmap
(class).
zpb-ttf/post.lisp
package.lisp
(file).
util.lisp
(file).
conditions.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
*standard-mac-glyph-names*
(special variable).
load-post-format-2
(function).
load-post-format-3
(function).
load-post-info
(method).
postscript-name-code-point
(function).
postscript-uni-name-p
(function).
zpb-ttf/hhea.lisp
package.lisp
(file).
util.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
horizontal-metrics-count
(method).
load-hhea-info
(method).
zpb-ttf/hmtx.lisp
package.lisp
(file).
util.lisp
(file).
font-loader.lisp
(file).
hhea.lisp
(file).
zpb-ttf
(system).
load-hmtx-info
(method).
zpb-ttf/glyf.lisp
package.lisp
(file).
util.lisp
(file).
loca.lisp
(file).
font-loader.lisp
(file).
zpb-ttf
(system).
do-contour-segments
(macro).
do-contour-segments*
(macro).
explicit-contour-points
(function).
on-curve-p
(reader method).
print-object
(method).
x
(reader method).
(setf x)
(writer method).
y
(reader method).
(setf y)
(writer method).
*compound-contour-loop-check*
(special variable).
*empty-bounding-box*
(special variable).
*empty-contours*
(special variable).
control-point
(class).
dump-compound-flags
(function).
empty-bounding-box
(function).
empty-contours
(function).
make-control-point
(function).
make-transformer
(function).
merge-contours
(function).
read-compound-contours
(function).
read-contours-at-index
(function).
read-points-vector
(function).
read-simple-contours
(function).
start-of-contour
(function).
transform-contours
(function).
transform-option-count
(function).
with-compound-contour-loop
(macro).
zpb-ttf/glyph.lisp
package.lisp
(file).
util.lisp
(file).
font-loader.lisp
(file).
bounding-box.lisp
(file).
glyf.lisp
(file).
kern.lisp
(file).
loca.lisp
(file).
zpb-ttf
(system).
advance-width
(generic function).
(setf advance-width)
(method).
bounding-box
(reader method).
bounding-box
(method).
(setf bounding-box)
(writer method).
code-point
(reader method).
(setf code-point)
(writer method).
contour
(generic function).
contour-count
(generic function).
contours
(reader method).
contours
(method).
(setf contours)
(writer method).
do-contours
(macro).
find-glyph
(generic function).
font-index
(reader method).
(setf font-index)
(writer method).
glyph-exists-p
(generic function).
index-glyph
(generic function).
initialize-instance
(method).
kerning-offset
(generic function).
left-side-bearing
(generic function).
(setf left-side-bearing)
(method).
postscript-name
(method).
print-object
(method).
right-side-bearing
(generic function).
string-bounding-box
(generic function).
data-size
(generic function).
font-loader
(reader method).
glyph
(class).
initialize-bounding-box
(method).
initialize-contours
(method).
kerned-advance-width
(generic function).
location
(generic function).
zpb-ttf/font-loader-interface.lisp
package.lisp
(file).
util.lisp
(file).
conditions.lisp
(file).
font-loader.lisp
(file).
maxp.lisp
(file).
head.lisp
(file).
kern.lisp
(file).
loca.lisp
(file).
name.lisp
(file).
cmap.lisp
(file).
post.lisp
(file).
hhea.lisp
(file).
hmtx.lisp
(file).
zpb-ttf
(system).
close-font-loader
(function).
open-font-loader
(function).
with-font-loader
(macro).
arrange-finalization
(function).
check-magic
(function).
open-font-loader-from-file
(function).
open-font-loader-from-stream
(function).
Packages are listed by definition order.
zpb-ttf
common-lisp
.
advance-width
(generic function).
(setf advance-width)
(generic function).
all-kerning-pairs
(generic function).
ascender
(generic reader).
(setf ascender)
(generic writer).
bounding-box
(generic function).
(setf bounding-box)
(generic writer).
close-font-loader
(function).
code-point
(generic reader).
(setf code-point)
(generic writer).
collection-font-count
(generic reader).
collection-font-index
(generic reader).
contour
(generic function).
contour-count
(generic function).
contours
(generic function).
(setf contours)
(generic writer).
descender
(generic reader).
(setf descender)
(generic writer).
do-contour-segments
(macro).
do-contour-segments*
(macro).
do-contours
(macro).
explicit-contour-points
(function).
family-name
(generic function).
find-glyph
(generic function).
find-name-entry
(generic function).
fixed-pitch-p
(generic reader).
(setf fixed-pitch-p)
(generic writer).
font-index
(generic reader).
(setf font-index)
(generic writer).
full-name
(generic function).
glyph-count
(generic reader).
(setf glyph-count)
(generic writer).
glyph-exists-p
(generic function).
index-glyph
(generic function).
italic-angle
(generic reader).
(setf italic-angle)
(generic writer).
kerning-offset
(generic function).
left-side-bearing
(generic function).
(setf left-side-bearing)
(generic function).
line-gap
(generic reader).
(setf line-gap)
(generic writer).
name-entry-value
(generic function).
on-curve-p
(generic reader).
open-font-loader
(function).
postscript-name
(generic function).
right-side-bearing
(generic function).
string-bounding-box
(generic function).
subfamily-name
(generic function).
underline-position
(generic reader).
(setf underline-position)
(generic writer).
underline-thickness
(generic reader).
(setf underline-thickness)
(generic writer).
units/em
(generic reader).
(setf units/em)
(generic writer).
value
(generic function).
(setf value)
(generic writer).
with-font-loader
(macro).
x
(generic reader).
(setf x)
(generic writer).
xmax
(generic function).
(setf xmax)
(generic function).
xmin
(generic function).
(setf xmin)
(generic function).
y
(generic reader).
(setf y)
(generic writer).
ymax
(generic function).
(setf ymax)
(generic function).
ymin
(generic function).
(setf ymin)
(generic function).
%actual-value
(generic reader).
%decode-format-12-cmap-code-point-index
(function).
%decode-format-4-cmap-code-point-index
(function).
%expected-values
(generic reader).
%load-cmap-info
(function).
%octets
(generic reader).
%unknown-cmap-error
(function).
%value
(generic reader).
*compound-contour-loop-check*
(special variable).
*empty-bounding-box*
(special variable).
*empty-contours*
(special variable).
*encoding-tables*
(special variable).
*iso-encoding-ids*
(special variable).
*macintosh-encoding-ids*
(special variable).
*macroman-translation-table*
(special variable).
*microsoft-encoding-ids*
(special variable).
*name-identifiers*
(special variable).
*platform-identifiers*
(special variable).
*standard-mac-glyph-names*
(special variable).
*unicode-encoding-ids*
(special variable).
+custom-platform-id+
(constant).
+iso-platform-id+
(constant).
+macintosh-english-language-id+
(constant).
+macintosh-platform-id+
(constant).
+macintosh-roman-encoding-id+
(constant).
+microsoft-platform-id+
(constant).
+microsoft-symbol-encoding-id+
(constant).
+microsoft-unicode-bmp-encoding-id+
(constant).
+microsoft-unicode-ucs4-encoding-id+
(constant).
+microsoft-us-english-language-id+
(constant).
+unicode-2.0-encoding-id+
(constant).
+unicode-2.0-full-encoding-id+
(constant).
+unicode-language-id+
(constant).
+unicode-platform-id+
(constant).
actual-value
(generic function).
(setf actual-value)
(generic writer).
advance-file-position
(function).
advance-widths
(generic reader).
(setf advance-widths)
(generic writer).
arrange-finalization
(function).
available-character-maps
(function).
bad-magic
(condition).
bounded-aref
(function).
(setf bounded-aref)
(function).
character-map
(generic reader).
(setf character-map)
(generic writer).
check-magic
(function).
check-version
(function).
cmap-value-table
(type).
code-point-font-index
(generic function).
code-point-font-index-from-cmap
(generic function).
control-point
(class).
data-size
(generic function).
description
(generic reader).
(setf description)
(generic writer).
dump-compound-flags
(function).
empty-bounding-box
(function).
empty-contours
(function).
encoding-id
(generic reader).
(setf encoding-id)
(generic writer).
encoding-id-name
(function).
end-codes
(generic reader).
entry-length
(generic reader).
(setf entry-length)
(generic writer).
expected-values
(generic function).
(setf expected-values)
(generic writer).
font-index-code-point
(generic function).
font-loader
(generic reader).
(setf font-loader)
(generic writer).
font-loader
(class).
format-12-cmap
(class).
glyph
(class).
glyph-cache
(generic reader).
(setf glyph-cache)
(generic writer).
glyph-indexes
(generic reader).
(setf glyph-indexes)
(generic writer).
glyph-length
(generic function).
glyph-location
(generic function).
glyph-locations
(generic reader).
(setf glyph-locations)
(generic writer).
glyph-starts
(generic reader).
(setf glyph-starts)
(generic writer).
group-count
(generic reader).
horizontal-metrics-count
(generic function).
id-deltas
(generic reader).
id-range-offsets
(generic reader).
initialize-bounding-box
(generic function).
initialize-contours
(generic function).
initialize-name-entry
(generic function).
input-stream
(generic reader).
(setf input-stream)
(generic writer).
inverse-character-map
(generic reader).
(setf inverse-character-map)
(generic writer).
invert-character-map
(generic function).
kerned-advance-width
(generic function).
kerning-table
(generic reader).
(setf kerning-table)
(generic writer).
language-id
(generic reader).
(setf language-id)
(generic writer).
left-side-bearings
(generic reader).
(setf left-side-bearings)
(generic writer).
load-cmap-info
(generic function).
load-head-info
(generic function).
load-hhea-info
(generic function).
load-hmtx-info
(generic function).
load-kern-info
(generic function).
load-kerning-format-0
(function).
load-kerning-format-2
(function).
load-kerning-subtable
(generic function).
load-loca-info
(generic function).
load-maxp-info
(generic function).
load-name-info
(function).
load-post-format-2
(function).
load-post-format-3
(function).
load-post-info
(generic function).
load-unicode-cmap
(function).
load-unicode-cmap-format12
(function).
loca-offset-format
(generic reader).
(setf loca-offset-format)
(generic writer).
location
(generic function).
(setf location)
(generic writer).
macintosh-octets-to-string
(function).
make-control-point
(function).
make-transformer
(function).
merge-contours
(function).
name
(generic reader).
name-entries
(generic reader).
(setf name-entries)
(generic writer).
name-entry
(class).
name-id
(generic reader).
(setf name-id)
(generic writer).
name-identifier-id
(function).
number->tag
(function).
octets
(generic function).
(setf octets)
(generic writer).
offset
(generic reader).
(setf offset)
(generic writer).
open-font-loader-from-file
(function).
open-font-loader-from-stream
(function).
parse-offset-table
(function).
platform-id
(generic reader).
(setf platform-id)
(generic writer).
platform-id-name
(function).
postscript-glyph-names
(generic reader).
(setf postscript-glyph-names)
(generic writer).
postscript-name-code-point
(function).
postscript-uni-name-p
(function).
read-compound-contours
(function).
read-contours-at-index
(function).
read-fixed
(function).
read-fixed2.14
(function).
read-fword
(function).
read-int16
(function).
read-int8
(function).
read-points-vector
(function).
read-pstring
(function).
read-simple-contours
(function).
read-uint16
(function).
read-uint32
(function).
read-uint8
(function).
regrettable-hex-value
(condition).
regrettable-value
(condition).
seek-to-table
(generic function).
segment-count
(generic reader).
size
(generic reader).
(setf size)
(generic writer).
start-codes
(generic reader).
start-of-contour
(function).
table-count
(generic reader).
table-exists-p
(generic function).
table-info
(generic function).
table-info
(class).
table-position
(generic function).
table-size
(generic function).
tables
(generic reader).
tag->number
(function).
transform-contours
(function).
transform-option-count
(function).
unicode-cmap
(class).
unicode-octets-to-string
(function).
unsupported-format
(condition).
unsupported-value
(condition).
unsupported-version
(condition).
with-compound-contour-loop
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
A contour is made up of segments. A segment may be a straight line or a curve. For each segment, bind the P0 and P2 variables to the start and end points of the segment. If the segment is a curve, set P1 to the control point of the curve, otherwise set P1 to NIL.
font-loader
)) ¶font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
array
)) ¶glyph
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶Find the glyph object for CHARACTER in FONT-LOADER
and return it. If CHARACTER is an integer, treat it as a Unicode code
point. If CHARACTER is a Lisp character, treat its char-code as a
Unicode code point.
integer
) (font-loader font-loader
)) ¶character
) (font-loader font-loader
)) ¶font-loader
)) ¶font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
Return the GLYPH object located at glyph index
INDEX in FONT-LOADER, or NIL if no glyph is defined for that
index. Despite the name, NOT the inverse of GLYPH-INDEX.
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
null
) font-loader) ¶null
) right font-loader) ¶character
) (right character
) (font-loader font-loader
)) ¶glyph
) (right-glyph glyph
) (font-loader font-loader
)) ¶font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶control-point
)) ¶automatically generated reader method
font-loader
)) ¶font-loader
) &key kerning) ¶font-loader
)) ¶font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
name-entry
)) ¶automatically generated writer method
control-point
)) ¶automatically generated reader method
control-point
)) ¶automatically generated writer method
control-point
)) ¶automatically generated reader method
control-point
)) ¶automatically generated writer method
glyph
) &key code-point font-index font-loader &allow-other-keys) ¶table-info
) stream) ¶control-point
) stream) ¶name-entry
) stream) ¶Return the index of the Unicode CODE-POINT in a format 12 CMAP, if present, otherwise NIL. Assumes INDEX points to the element of the CMAP arrays (END-CODES etc) corresponding to code-point.
Return the index of the Unicode CODE-POINT in a format 4 CMAP, if present, otherwise NIL. Assumes INDEX points to the element of the CMAP arrays (END-CODES etc) corresponding to code-point.
Move the file position of STREAM ahead by N bytes.
Some TrueType data vectors are truncated, and any references beyond the end of the vector should be treated as a reference to the last element in the vector.
Return a hash table keyed on a UINT32 key that represents the glyph index in the left and right halves with a value of the kerning distance between the pair.
Return a hash table keyed on a UINT32 key that represents the glyph index in the left and right halves with a value of the kerning distance between the pair.
Load a Unicode character map of type 4 or 12 from STREAM starting at the current offset.
Load a Unicode character map of type 12 from STREAM starting at the current offset. Assumes format is already read and checked.
Given the elements of the transformation matrix specified by A, B,
C, D, E, and F, return a function of two arguments that returns the
arguments transformed as multiple values.
Ref: http://developer.apple.com/fonts/TTRefMan/RM06/Chap6glyf.html
Convert the 32-bit NUMBER to a string of four characters based on the CODE-CHAR of each octet in the number.
Returns, if available, the interpretation of the PostScript name NAME as a Unicode code point specifier. Ref: http://partners.adobe.com/public/developer/opentype/index_glyph.html
Read the contours at glyph index INDEX, discarding bounding box information.
Read a Pascal-style length-prefixed string.
With the stream positioned immediately after the glyph bounding box, read the contours data from STREAM and return it as a vector.
If first point of a contour is on the curve, return it, otherwise find and return previous (possibly implicit) point on the curve.
Convert the four-character string TAG to a 32-bit number based on the CHAR-CODE of each character.
Call FN with the X and Y coordinates of each point of each contour in the vector CONTOURS. FN should return two values, which are used to update the X and Y values of each point.
regrettable-hex-value
)) ¶regrettable-hex-value
)) ¶name-entry
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated reader method
regrettable-hex-value
)) ¶regrettable-value
)) ¶regrettable-value
)) ¶font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
Return the index of the Unicode CODE-POINT in FONT-LOADER, if present, otherwise NIL.
Return the index of the Unicode CODE-POINT in CMAP, if present, otherwise NIL.
unicode-cmap
)) ¶format-12-cmap
)) ¶regrettable-value
)) ¶regrettable-value
)) ¶name-entry
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated writer method
format-12-cmap
)) ¶automatically generated reader method
unicode-cmap
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated writer method
regrettable-hex-value
)) ¶regrettable-value
)) ¶regrettable-value
)) ¶Return the code-point for a given glyph index.
glyph
)) ¶The font-loader from which this glyph originates.
name-entry
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
unicode-cmap
)) ¶automatically generated reader method
unicode-cmap
)) ¶automatically generated writer method
font-loader
)) ¶font-loader
)) ¶font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
format-12-cmap
)) ¶automatically generated reader method
format-12-cmap
)) ¶automatically generated writer method
format-12-cmap
)) ¶automatically generated reader method
font-loader
)) ¶unicode-cmap
)) ¶automatically generated reader method
unicode-cmap
)) ¶automatically generated reader method
font-loader
)) ¶font-loader
)) ¶The stream from which things are loaded.
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
name-entry
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
font-loader
)) ¶font-loader
)) ¶font-loader
)) ¶font-loader
)) ¶font-loader
)) ¶font-loader
) format size) ¶font-loader
)) ¶font-loader
)) ¶font-loader
)) ¶font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
regrettable-value
)) ¶regrettable-value
)) ¶table-info
)) ¶automatically generated reader method
name
.
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
name-entry
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated writer method
name-entry
)) ¶automatically generated writer method
name-entry
)) ¶name-entry
)) ¶The octet offset within the TrueType file stream
of the entry’s data. *Not* the same as the offset in the NameRecord
structure, which is relative to the start of the string data for the
table.
table-info
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated reader method
name-entry
)) ¶automatically generated writer method
font-loader
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated writer method
table-info
) (font-loader font-loader
)) ¶Move FONT-LOADER’s input stream to the start of TABLE.
string
) (font-loader font-loader
)) ¶Move FONT-LOADER’s input stream to the start of the table named by TAG.
unicode-cmap
)) ¶automatically generated reader method
regrettable-hex-value
)) ¶regrettable-hex-value
)) ¶size
.
table-info
)) ¶automatically generated reader method
size
.
format-12-cmap
)) ¶automatically generated reader method
unicode-cmap
)) ¶automatically generated reader method
font-loader
)) ¶automatically generated reader method
string
) (font-loader font-loader
)) ¶string
) (font-loader font-loader
)) ¶Return the byte position in the font-loader’s stream for the table named by TAG.
string
) (font-loader font-loader
)) ¶font-loader
)) ¶automatically generated reader method
(quote "bad magic")
:description
:actual-value
This slot is read-only.
:expected-values
This slot is read-only.
condition
.
:actual-value
:expected-values
(quote nil)
:description
(quote nil)
:location
(quote "unsupported format")
:description
(quote "unsupported")
:description
(quote "unsupported version")
:description
on-curve-p
.
print-object
.
(setf x)
.
x
.
(setf y)
.
y
.
:on-curve-p
This slot is read-only.
(setf advance-widths)
.
advance-widths
.
all-kerning-pairs
.
(setf ascender)
.
ascender
.
(setf bounding-box)
.
bounding-box
.
(setf character-map)
.
character-map
.
collection-font-count
.
collection-font-index
.
(setf descender)
.
descender
.
family-name
.
find-glyph
.
find-glyph
.
find-name-entry
.
(setf fixed-pitch-p)
.
fixed-pitch-p
.
full-name
.
(setf glyph-cache)
.
glyph-cache
.
(setf glyph-count)
.
glyph-count
.
glyph-length
.
glyph-location
.
(setf glyph-locations)
.
glyph-locations
.
horizontal-metrics-count
.
(setf input-stream)
.
input-stream
.
(setf inverse-character-map)
.
inverse-character-map
.
(setf italic-angle)
.
italic-angle
.
kerning-offset
.
kerning-offset
.
(setf kerning-table)
.
kerning-table
.
(setf left-side-bearings)
.
left-side-bearings
.
(setf line-gap)
.
line-gap
.
load-cmap-info
.
load-head-info
.
load-hhea-info
.
load-hmtx-info
.
load-kern-info
.
load-kerning-subtable
.
load-loca-info
.
load-maxp-info
.
load-post-info
.
(setf loca-offset-format)
.
loca-offset-format
.
(setf name-entries)
.
name-entries
.
name-entry-value
.
(setf postscript-glyph-names)
.
postscript-glyph-names
.
postscript-name
.
seek-to-table
.
seek-to-table
.
string-bounding-box
.
subfamily-name
.
table-count
.
table-info
.
table-position
.
table-size
.
tables
.
(setf underline-position)
.
underline-position
.
(setf underline-thickness)
.
underline-thickness
.
(setf units/em)
.
units/em
.
The stream from which things are loaded.
:input-stream
:table-count
This slot is read-only.
(make-hash-table)
0
0
0
:collection-font-cont
This slot is read-only.
:collection-font-index
This slot is read-only.
(setf advance-width)
.
advance-width
.
bounding-box
.
(setf bounding-box)
.
bounding-box
.
(setf code-point)
.
code-point
.
contours
.
(setf contours)
.
contours
.
data-size
.
(setf font-index)
.
font-index
.
font-loader
.
glyph-exists-p
.
initialize-bounding-box
.
initialize-contours
.
initialize-instance
.
kerned-advance-width
.
kerning-offset
.
left-side-bearing
.
location
.
postscript-name
.
print-object
.
right-side-bearing
.
The font-loader from which this glyph originates.
:font-loader
This slot is read-only.
The index of this glyph within the font file, used
to look up information in various structures in the truetype file.
:font-index
:code-point
:contours
:bounding-box
:font-loader
:platform-id
:encoding-id
:language-id
:name-id
The octet offset within the TrueType file stream
of the entry’s data. *Not* the same as the offset in the NameRecord
structure, which is relative to the start of the string data for the
table.
:offset
:entry-length
:segment-count
This slot is read-only.
:start-codes
This slot is read-only.
:id-range-offsets
This slot is read-only.
:glyph-indexes
Jump to: | %
(
A B C D E F G H I K L M N O P R S T U V W X Y |
---|
Jump to: | %
(
A B C D E F G H I K L M N O P R S T U V W X Y |
---|
Jump to: | *
+
A B C D E F G I K L N O P S T U V X Y |
---|
Jump to: | *
+
A B C D E F G I K L N O P S T U V X Y |
---|
Jump to: | B C F G H K L M N P R S T U Z |
---|
Jump to: | B C F G H K L M N P R S T U Z |
---|