get-text-extent must always return an inexact width
svn: r4883
This commit is contained in:
parent
7707065a2d
commit
31f39a0f0f
|
@ -461,7 +461,7 @@
|
||||||
[scale (/ size 1000.0)]
|
[scale (/ size 1000.0)]
|
||||||
[descent (* scale (font-descent font))])
|
[descent (* scale (font-descent font))])
|
||||||
(values (* scale
|
(values (* scale
|
||||||
(let loop ([cl (map-symbols sym-map? (string->list string))][width 0])
|
(let loop ([cl (map-symbols sym-map? (string->list string))][width 0.0])
|
||||||
(cond
|
(cond
|
||||||
[(empty? cl) width]
|
[(empty? cl) width]
|
||||||
[else (let ([achar (hash-table-get
|
[else (let ([achar (hash-table-get
|
||||||
|
|
Loading…
Reference in New Issue
Block a user