Class: AppleDosPrintShopFont
- Inherits:
-
AppleBinary
- Object
- NativeFileType
- AppleBinary
- AppleDosPrintShopFont
- Includes:
- PrintShopFont
- Defined in:
- lib/native_file_types/apple2/ApplePrintShopFont.rb
Instance Attribute Summary
Attributes inherited from NativeFileType
#aux_code, #contents, #file_system_image, #file_type, #filename, #meta_data
Instance Method Summary collapse
- #bitmap_pointer_hi_table ⇒ Object
- #bitmap_pointer_lo_table ⇒ Object
- #fontname ⇒ Object
- #height_table_start ⇒ Object
- #table_size ⇒ Object
- #width_table_start ⇒ Object
Methods included from PrintShopFont
#ascii_to_shape_number, #char_height, #char_width, #draw_char, #get_bitmap, #get_charlist, #inter_character_gap, #line_of_print, #point_size, #unpadded_char_height, #unpadded_char_width
Methods included from Font
#char_height, #draw_string, #font_description, #font_format, #line_of_print, #normalised_font_name, #picture_format, #picture_height, #picture_width, #to_font, #to_picture
Methods inherited from AppleBinary
file_system_file_types, #header_length, load_address, #to_disassembly
Methods inherited from NativeFileType
#<=>, #==, all_native_file_types, best_fit, code_for_tests, compatability_score, #data_without_header, file_type_matches?, #full_filename, #header_length, #initialize, is_valid_file_if, #load_address, load_address, matching_score, native_file_types_possible_on_file_system, non_matching_score, #to_hex_dump, #to_info_dump, #type_description
Methods included from SubclassTracking
Constructor Details
This class inherits a constructor from NativeFileType
Instance Method Details
#bitmap_pointer_hi_table ⇒ Object
148 149 150 151 |
# File 'lib/native_file_types/apple2/ApplePrintShopFont.rb', line 148 def bitmap_pointer_hi_table bitmap_pointer_lo_table+table_size end |
#bitmap_pointer_lo_table ⇒ Object
144 145 146 |
# File 'lib/native_file_types/apple2/ApplePrintShopFont.rb', line 144 def bitmap_pointer_lo_table height_table_start+table_size end |
#fontname ⇒ Object
161 162 163 |
# File 'lib/native_file_types/apple2/ApplePrintShopFont.rb', line 161 def fontname filename.gsub(/^FONT./,'') end |
#height_table_start ⇒ Object
140 141 142 |
# File 'lib/native_file_types/apple2/ApplePrintShopFont.rb', line 140 def height_table_start width_table_start+table_size end |
#table_size ⇒ Object
135 136 137 |
# File 'lib/native_file_types/apple2/ApplePrintShopFont.rb', line 135 def table_size 59 end |
#width_table_start ⇒ Object
132 133 134 |
# File 'lib/native_file_types/apple2/ApplePrintShopFont.rb', line 132 def width_table_start 0x010 end |