From 0ce6793181cb2e23924d82ad9e7b9ba0919a3866 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 9 Jun 2011 23:51:42 +0000 Subject: [PATCH] Merged r6031 from trunk. PDF: fix font name in vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6033 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb b/vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb index 8987fd92f..770f1a1c2 100644 --- a/vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb +++ b/vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb @@ -1,4 +1,4 @@ -TCPDFFontDescriptor.define('DejaVuSansi') do |font| +TCPDFFontDescriptor.define('dejavusansi') do |font| font[:type]='TrueTypeUnicode'; font[:name]='DejaVuSans-Oblique'; font[:desc]={'Ascent'=>928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>96,'FontBBox'=>'[-1016 -385 1659 1068]','ItalicAngle'=>-11,'StemV'=>70,'MissingWidth'=>600}; @@ -264,4 +264,4 @@ TCPDFFontDescriptor.define('DejaVuSansi') do |font| font[:file]='DejaVuSans-Oblique.z'; font[:ctg]='DejaVuSans-Oblique.ctg.z'; font[:originalsize]=461680; -end \ No newline at end of file +end -- 2.39.5