afm top space uses Ascent instead of CapHeight

svn: r872
This commit is contained in:
Matthew Flatt 2005-09-18 12:32:51 +00:00
parent 29c9c7d0dd
commit f957d1ffa9

View File

@ -252,7 +252,7 @@
[r (read i)] [r (read i)]
[b (read i)]) [b (read i)])
(set! bbox-down t))] (set! bbox-down t))]
[(capheight) (set! cap-height (read i))] [(ascender) (set! cap-height (read i))]
[(characterset) (let ([m (regexp-match #rx#"[a-zA-Z_0-9-]+" (read-bytes-line i))]) [(characterset) (let ([m (regexp-match #rx#"[a-zA-Z_0-9-]+" (read-bytes-line i))])
(when m (when m
(set! char-set-name (car m)) (set! char-set-name (car m))