Rabbit OP7100 User Manual Page 78

  • Download
  • Add to my manuals
  • Print
  • Page
    / 126
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 77
OP710078
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
Page view 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 125 126

Comments to this Manuals

No comments