pdf.wrap: make sure to calculate whitespace properly.

char-rename
John Benediktsson 2017-02-02 09:14:10 -08:00
parent b73876dfdd
commit 0f7646e3ed
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ PRIVATE>
: string>elements ( string font -- elements )
[ word-split ] dip '[
dup word-split1 "" or
dup dup [ blank? ] find drop [ cut ] [ "" ] if*
[ _ swap text-width ] bi@
<element>
] map ;