OP7100
78 Graphics Programming
Font and Bitmap Conversion
Customers are encouraged to design their own fonts and bitmaps. These
restrictions must be followed.
•
Save bitmaps as Windows bitmaps (
.bmp
), not OS/2 bitmaps.
•
The bitmap can only have two colors. Color 0 is the background, and
color 1 is the foreground. This is the reverse of most bitmap editors.
•
Fonts must be bitmapped (not true type) and must be of fixed pitch.
•
Save font files as
.fnt
(version 3).
The OP7100 uses a "vertical stripe" display logic format. The conversion
utility programs
fntstrip.exe
(landscape image) and
fntcvtr.exe
(portrait image) convert the
.fnt
and
.bmp
file format to the Rabbit
Semiconductor vertical stripe format.
Follow these instructions to use these utilities.
1. Create the
.fnt
or
.bmp
file that conforms to the restrictions listed
above.
2. Start
fntstrip
or
fntcvtr
.
3. Specify the file to convert (select the file from the menu
List files of
type
), and choose either
.fnt
or
.bmp
.
Entering
*.fnt
or
*.bmp
in the
File name
window will not
work. The file must be selected after clicking on
Font files
or
Bitmap files
in the
List files of type
window.
4. Click the OK button or double-click on the file to convert. At this
point, the software asks the destination of the conversion. Specify a
file to store the result (text file) of the conversion. Click OK when the
file is specified.
5. The title bar displays "[inactive]" when the conversion is done. Close
the window.
Dynamic C may be used to edit the text file that was generated. The
generated file typically looks as follows.
/*Automatic output from Font Converter
font file is U:\TEST\DC5X\SAMPLES\QVGA\6X8.OUT.
dfVersion = 0x300
dfSize = 5148
dfCopyright = (c) Copyright 1997,1998 Rabbit Semi-
conductor. All rights reserved.
dfType = 0x0
horizontal size is 6 pixels.
vertical size is 8 pixels.
first character is for code 0x20.
Tip
Summary of Contents for OP7100
Page 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 070831 O ...
Page 10: ...OP7100 x About This Manual ...
Page 16: ...OP7100 16 Overview ...
Page 74: ...OP7100 74 Software ...
Page 82: ...OP7100 82 Graphics Programming ...
Page 88: ...OP7100 88 Installation ...
Page 98: ...OP7100 98 Specifications ...
Page 108: ...OP7100 108 Memory I O Map and Interrupt Vectors ...
Page 112: ...112 Serial Interface Board 2 OP7100 ...
Page 113: ...OP7100 Backup Battery 113 APPENDIX E BACKUP BATTERY ...
Page 116: ...OP7100 116 Backup Battery ...
Page 124: ...OP7100 124 Index ...
Page 126: ...XX0000 Schematics ...