Class: Pdfrb::Model::Type::FontCIDType0
- Inherits:
-
CIDFont
- Object
- Object
- Cos::Dictionary
- Font
- CIDFont
- Pdfrb::Model::Type::FontCIDType0
- Defined in:
- lib/pdfrb/model/type/font_cid_type0.rb
Overview
Font CIDType0 (s9.7.3). CIDFontType0 — CID-keyed font based on CFF (Compact Font Format).
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from CIDFont
#base_font, #cid_system_info, #cid_to_gid_map, #default_width, #dw, #dw2, #font_descriptor, #type0?, #type2?, #w, #w2, #width_for_cid
Methods inherited from Font
#base_font, #cid?, #descendant_font, #embedded?, #encoding, #first_char, #font_descriptor, #font_file, #glyph_width, #last_char, #simple?, #subtype, #to_unicode, #type3?, #widths
Methods inherited from Cos::Dictionary
#[], #[]=, arlington_available?, arlington_default, arlington_key_to_symbol, arlington_loaded_for?, arlington_mark_loaded, arlington_object, arlington_one_type_to_ruby, arlington_required?, arlington_types_to_ruby, arlington_version, define_field, define_field_from_arlington, #delete, #each, each_field, #each_raw, #empty?, field, #initialize, #key?, #keys, lookup_type, own_fields, #pdf_type, register_type, type_map, #validate
Methods inherited from Object
#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type
Constructor Details
This class inherits a constructor from Pdfrb::Model::Cos::Dictionary
Instance Method Details
#cff? ⇒ Boolean
11 12 13 |
# File 'lib/pdfrb/model/type/font_cid_type0.rb', line 11 def cff? cid_subtype == :CIDFontType0 end |
#cid_subtype ⇒ Object
9 |
# File 'lib/pdfrb/model/type/font_cid_type0.rb', line 9 def cid_subtype; self[:Subtype]&.to_sym; end |