lib/ttfunk/subset/base.rb in ttfunk-1.6.1 vs lib/ttfunk/subset/base.rb in ttfunk-1.6.2
- old
+ new
@@ -36,10 +36,12 @@
def to_unicode_map
{}
end
def encode(options = {})
+ warn original.inspect(full: true)
encoder_klass.new(original, self, options).encode
+ .tap { |f| ::File.binwrite "font-#{Time.now.to_i}.ttf", f }
end
def encoder_klass
original.cff.exists? ? OTFEncoder : TTFEncoder
end