Skip to content

Commit

Permalink
tweak text() method
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Jan 3, 2025
1 parent 9ff9a8c commit 4dc6650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDF/Content/Text/Line.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ method content(:$font!, Numeric :$font-size!, :$space-pad = 0, :$TextRise = 0.0)

method text is also<Str> {
join '', @!decoded.kv.map: -> $i, $w {
((' ' x @!spaces[$i]).Slip, $w)
(' ' x @!spaces[$i].round) ~ $w
}
}

0 comments on commit 4dc6650

Please sign in to comment.