Updated version to 1.0.3.
[zpb-ttf.git] / package.lisp
blobc29074734f849681c4985c228aa78adf8e74cc29
1 ;;; Copyright (c) 2006 Zachary Beane, All Rights Reserved
2 ;;;
3 ;;; Redistribution and use in source and binary forms, with or without
4 ;;; modification, are permitted provided that the following conditions
5 ;;; are met:
6 ;;;
7 ;;; * Redistributions of source code must retain the above copyright
8 ;;; notice, this list of conditions and the following disclaimer.
9 ;;;
10 ;;; * Redistributions in binary form must reproduce the above
11 ;;; copyright notice, this list of conditions and the following
12 ;;; disclaimer in the documentation and/or other materials
13 ;;; provided with the distribution.
14 ;;;
15 ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
16 ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 ;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
19 ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
21 ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23 ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24 ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ;;;
27 ;;; $Id: package.lisp,v 1.22 2006/03/27 21:57:37 xach Exp $
29 (defpackage #:zpb-ttf
30 (:use #:cl)
31 (:export
32 ;; font loader
33 #:open-font-loader
34 #:close-font-loader
35 #:with-font-loader
36 #:glyph-count
37 #:name-entry-value
38 #:find-name-entry
39 #:value
40 ;; font typographic
41 #:italic-angle
42 #:underline-thickness
43 #:underline-position
44 #:fixed-pitch-p
45 #:units/em
46 #:ascender
47 #:descender
48 #:line-gap
49 ;; other font attributes
50 #:postscript-name
51 #:full-name
52 #:family-name
53 #:subfamily-name
54 #:all-kerning-pairs
55 #:glyph-exists-p
56 #:index-glyph
57 #:find-glyph
58 ;; shared between font-loader and glyph
59 #:bounding-box
60 #:xmin
61 #:ymin
62 #:xmax
63 #:ymax
64 ;; control points
65 #:x
66 #:y
67 #:on-curve-p
68 ;; glyph contours
69 #:contour-count
70 #:contour
71 #:contours
72 #:do-contours
73 #:explicit-contour-points
74 #:do-contour-segments
75 #:do-contour-segments*
76 ;; glyph other
77 #:code-point
78 #:font-index
79 ;; glyph typographic
80 #:advance-width
81 #:left-side-bearing
82 #:right-side-bearing
83 #:kerning-offset
84 #:string-bounding-box))