Handbook
Glossary
string>elements ( string font -- elements )
Vocabulary
pdf
.
wrap
.
private
Inputs
string
an
object
font
an
object
Outputs
elements
an
object
Definition
USING:
kernel
pdf.wrap
sequences
ui.text
unicode
wrap
;
IN:
pdf.wrap.private
:
string>elements
( string font -- elements )
[
word-split
]
dip
[
swap
text-width
]
curry
[
[
dup
dup
[
blank?
]
find
drop
[
cut
]
[
""
]
if*
]
]
dip
[
bi@
<element>
]
curry
compose
map
;