lib/hexapdf/error.rb in hexapdf-0.34.1 vs lib/hexapdf/error.rb in hexapdf-0.35.0
- old
+ new
@@ -92,10 +92,11 @@
def initialize(glyph)
@glyph = glyph
end
def message # :nodoc:
- "No glyph for #{glyph.str.inspect} in font '#{glyph.font.full_name}' found. \n\n" \
+ "No glyph for #{glyph.str.inspect} in font '#{glyph.font_wrapper.wrapped_font.full_name}' " \
+ "found. \n\n" \
"Use the configuration option 'font.on_missing_glyph' to customize missing glyph handling."
end
end