Class: Pdfrb::Model::Type::FontDescriptorCIDType2

Inherits:
FontDescriptor show all
Defined in:
lib/pdfrb/model/type/font_descriptor_cid_type2.rb

Overview

Font Descriptor CIDType2 (s9.8). Specialised metrics for CIDFontType2 (TrueType-based CID fonts).

Instance Attribute Summary

Attributes inherited from Object

#document, #gen, #oid, #value

Instance Method Summary collapse

Methods inherited from FontDescriptor

#all_cap?, #ascent, #avg_width, #cap_height, #char_set, #descent, #embedded?, #family_name, #fixed_pitch?, #flags, #font_bbox, #font_file, #font_file2, #font_file3, #font_file_reference, #font_name, #font_stretch, #font_weight, #force_bold?, #italic?, #italic_angle, #max_width, #missing_width, #nonsymbolic?, #resolved_font_file, #script?, #serif?, #small_cap?, #stem_h, #stem_v, #symbolic?, #x_height

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

#cid_font_typeObject



9
# File 'lib/pdfrb/model/type/font_descriptor_cid_type2.rb', line 9

def cid_font_type; 2; end

#true_type?Boolean

Returns:

  • (Boolean)


11
# File 'lib/pdfrb/model/type/font_descriptor_cid_type2.rb', line 11

def true_type?; true; end