From: Lunar Date: Tue, 17 Dec 2013 16:13:56 +0000 (+0100) Subject: Utilisation d'une image JPEG plutôt que PNG pour s'accomoder à d'avantage de lecteurs... X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/commitdiff_plain/4a9b019245f6370d961f32d0c41cf13563865bd1 Utilisation d'une image JPEG plutôt que PNG pour s'accomoder à d'avantage de lecteurs de PDF --- diff --git a/lib/nos_oignons/receipt.rb b/lib/nos_oignons/receipt.rb index 87869f7..a1d0b75 100644 --- a/lib/nos_oignons/receipt.rb +++ b/lib/nos_oignons/receipt.rb @@ -31,7 +31,7 @@ module NosOignons FOOTER_HEIGHT = 25.mm DARK_LOGO_COLOR = '57075f' FONT_PATH = File.expand_path("../../../share/fonts/OpenSans/OpenSans.ttf", __FILE__) - LOGO_PATH = File.expand_path("../../../share/images/nos-oignons.png", __FILE__) + LOGO_PATH = File.expand_path("../../../share/images/nos-oignons.jpg", __FILE__) def generate_header(pdf) header_height = pdf.bounds.height / 6 diff --git a/share/images/nos-oignons.jpg b/share/images/nos-oignons.jpg new file mode 100644 index 0000000..a70dd72 Binary files /dev/null and b/share/images/nos-oignons.jpg differ diff --git a/share/images/nos-oignons.png b/share/images/nos-oignons.png deleted file mode 100644 index a0543e1..0000000 Binary files a/share/images/nos-oignons.png and /dev/null differ