From 4829f88cc323d325e71ee41ae4e35c8e99319590 Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Thu, 27 Dec 2018 17:16:36 +0100 Subject: [PATCH] Fixed instance variable @italic_angle not initialized --- lib/prawn/font/ttf.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/prawn/font/ttf.rb b/lib/prawn/font/ttf.rb index fefef1a3b..08ba62205 100644 --- a/lib/prawn/font/ttf.rb +++ b/lib/prawn/font/ttf.rb @@ -25,6 +25,7 @@ def initialize(document, name, options = {}) @ttf = read_ttf_file @subsets = TTFunk::SubsetCollection.new(@ttf) + @italic_angle = nil @attributes = {} @bounding_boxes = {}