diff --git a/lib/afip_bill/generator.rb b/lib/afip_bill/generator.rb
index <HASH>..<HASH> 100644
--- a/lib/afip_bill/generator.rb
+++ b/lib/afip_bill/generator.rb
@@ -35,11 +35,11 @@ module AfipBill
     def generate_pdf_file
       tempfile = Tempfile.new("afip_bill.pdf")
 
-      PDFKit.new(template).to_file(tempfile.path)
+      pdfkit_template.to_file(tempfile.path)
     end
 
     def generate_pdf_string
-      PDFKit.new(template).to_pdf
+      pdfkit_template.to_pdf
     end
 
     private
@@ -65,6 +65,10 @@ module AfipBill
       }
     end
 
+    def pdfkit_template
+      PDFKit.new(template, disable_smart_shrinking: true)
+    end
+
     def template
       ERB.new(File.read(bill_path)).result(binding)
     end
Use disable_smart_shrinking option to avoid shrunk PDF