[DRE-commits] [SCM] ruby-prawn.git branch, master, updated. upstream/1.0.0_rc1-44-g6e97afc

Cédric Boutillier cedric.boutillier at gmail.com
Thu Nov 24 23:12:11 UTC 2011


The following commit has been merged in the master branch:
commit 12f0ef0d4c8a696cb9162b30fac873fcfb0b3f31
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Thu Nov 24 00:40:35 2011 +0100

    catch one more font use in 0400_use_system_fonts.patch

diff --git a/debian/patches/0400_use_system_fonts.patch b/debian/patches/0400_use_system_fonts.patch
index 5d44068..28c5806 100644
--- a/debian/patches/0400_use_system_fonts.patch
+++ b/debian/patches/0400_use_system_fonts.patch
@@ -279,3 +279,14 @@ Last-Update: 2011-11-21
      @pdf.move_down(40)
      @pdf.text "Hi There"
  
+--- a/spec/document_spec.rb
++++ b/spec/document_spec.rb
+@@ -235,7 +235,7 @@
+     doc_uncompressed = Prawn::Document.new
+     doc_compressed   = Prawn::Document.new(:compress => true)
+     [doc_compressed, doc_uncompressed].each do |pdf|
+-       pdf.font "#{Prawn::DATADIR}/fonts/gkai00mp.ttf"
++       pdf.font "/usr/share/fonts/truetype/arphic-gkai00mp/gkai00mp.ttf"
+        pdf.text "更可怕的是,同质化竞争对手可以按照URL中后面这个ID来遍历" * 10
+     end
+ 

-- 
ruby-prawn.git



More information about the Pkg-ruby-extras-commits mailing list