[DRE-commits] [ruby-prawn] 05/08: refresh again 0400_use_system_fonts.patch
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Apr 29 14:37:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-prawn.
commit 78c4b73aeaa497b79a8d83e851edddf329ea1f00
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Apr 29 15:04:42 2015 +0200
refresh again 0400_use_system_fonts.patch
---
debian/patches/0400_use_system_fonts.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/patches/0400_use_system_fonts.patch b/debian/patches/0400_use_system_fonts.patch
index dfa0946..6aa0b0d 100644
--- a/debian/patches/0400_use_system_fonts.patch
+++ b/debian/patches/0400_use_system_fonts.patch
@@ -186,6 +186,17 @@ Last-Update: 2015-04-29
@pdf.width_of("\nhello world\n").should ==
@pdf.width_of("hello world")
+@@ -85,8 +85,8 @@
+
+ @pdf.font_families.update(
+ 'DejaVu Sans' => {
+- :normal => "#{Prawn::DATADIR}/fonts/DejaVuSans.ttf",
+- :bold => "#{Prawn::DATADIR}/fonts/DejaVuSans-Bold.ttf",
++ :normal => "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf",
++ :bold => "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf",
+ }
+ )
+ @pdf.font("DejaVu Sans") {
@@ -171,7 +171,7 @@
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-prawn.git
More information about the Pkg-ruby-extras-commits
mailing list