From e66b380ead21f5d614f57c1840e8a1633f9aaf39 Mon Sep 17 00:00:00 2001 From: wajasu Date: Thu, 5 Jul 2012 20:02:28 -0500 Subject: [PATCH] Bug 8375 - Patch for Common diacritics not shown correctly when exporting batch label to PDF Signed-off-by: Mason James Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- labels/label-create-pdf.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/labels/label-create-pdf.pl b/labels/label-create-pdf.pl index 72e9a2e9ea..3001c147ce 100755 --- a/labels/label-create-pdf.pl +++ b/labels/label-create-pdf.pl @@ -90,6 +90,7 @@ sub _print_text { foreach my $text_line (@$label_text) { my $pdf_font = $pdf->Font($text_line->{'font'}); my $line = "BT /$pdf_font $text_line->{'font_size'} Tf $text_line->{'text_llx'} $text_line->{'text_lly'} Td ($text_line->{'line'}) Tj ET"; + utf8::decode($line); $pdf->Add($line); } } -- 2.39.5