Bugzilla – Attachment 26905 Details for
Bug 8375
Common diacritics not shown correctly when exporting batch label to PDF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8375 - Followup - Fix font code
Bug-8375---Followup---Fix-font-code.patch (text/plain), 1.11 KB, created by
Bernardo Gonzalez Kriegel
on 2014-04-09 00:56:38 UTC
(
hide
)
Description:
Bug 8375 - Followup - Fix font code
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2014-04-09 00:56:38 UTC
Size:
1.11 KB
patch
obsolete
>From 01ae79844324faa774ded058a54c4f2ac40e5242 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Tue, 8 Apr 2014 20:55:58 -0300 >Subject: [PATCH] Bug 8375 - Followup - Fix font code >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This follow up fixes font code taking it from layout. > >To test: >1. Try making a batch using Helvética, downloaded >PDF do not open. >2. Apply the patch >3. Try again, now it's correct >--- > labels/label-create-pdf.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/labels/label-create-pdf.pl b/labels/label-create-pdf.pl >index e23b068..3976d4e 100755 >--- a/labels/label-create-pdf.pl >+++ b/labels/label-create-pdf.pl >@@ -88,7 +88,7 @@ sub _calc_next_label_pos { > sub _print_text { > my $label_text = shift; > foreach my $text_line (@$label_text) { >- $pdf->Font($text_line->{'font'}); >+ $pdf->Font($layout->get_attr('font')); > $pdf->FontSize( $text_line->{'font_size'} ); > $pdf->Text( $text_line->{'text_llx'}, $text_line->{'text_lly'}, $text_line->{'line'} ); > } >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8375
:
10651
|
10652
|
10653
|
10654
|
11031
|
12925
|
16548
|
21458
|
26905
|
26906
|
26907
|
26928
|
26976
|
26977
|
26978
|
27335
|
27363
|
27480
|
27482
|
27483
|
27484
|
27917
|
27918
|
37279
|
37285