From 4dc665003feaafa4501d6cd35993d54c09882555 Mon Sep 17 00:00:00 2001 From: David Warring Date: Sat, 4 Jan 2025 09:38:27 +1300 Subject: [PATCH] tweak text() method --- lib/PDF/Content/Text/Line.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PDF/Content/Text/Line.rakumod b/lib/PDF/Content/Text/Line.rakumod index 2064a02..efe8846 100644 --- a/lib/PDF/Content/Text/Line.rakumod +++ b/lib/PDF/Content/Text/Line.rakumod @@ -170,7 +170,7 @@ method content(:$font!, Numeric :$font-size!, :$space-pad = 0, :$TextRise = 0.0) method text is also { join '', @!decoded.kv.map: -> $i, $w { - ((' ' x @!spaces[$i]).Slip, $w) + (' ' x @!spaces[$i].round) ~ $w } }