Sha256: df9cd1040b3fcc2869ac2d52ade2ac223c761221cddc244bbfeef5d43f00da5e
Contents?: true
Size: 487 Bytes
Versions: 1
Compression:
Stored size: 487 Bytes
Contents
require 'cheapredwine/ttx/parser' include CheapRedWine::TTX describe Parser do let(:file) { File.open('spec/fixtures/parser/hobo.ttx') } let(:ttx) { Parser.new(file) } it "parses a list of opentype features from ttx files" do ttx.features.should eq ["kern", "size", "aalt", "frac", "liga", "ordn", "sups"] end it "parses attributes" do ttx.family_name.should eq "Hobo Std" ttx.font_name.should eq "Hobo Std Medium" ttx.style.should eq "Regular" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cheapredwine-0.1.1 | spec/ttx/parser_spec.rb |