lib/ttfunk/subset/base.rb in ttfunk-1.6.2 vs lib/ttfunk/subset/base.rb in ttfunk-1.6.2.1
- old
+ new
@@ -36,12 +36,10 @@
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