From: Toshi MARUYAMA Date: Thu, 9 Jun 2011 23:51:42 +0000 (+0000) Subject: Merged r6031 from trunk. X-Git-Tag: 1.2.1~47 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0ce6793181cb2e23924d82ad9e7b9ba0919a3866;p=redmine.git 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 --- 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