1. Upload the ttf file to /opt/Qtopia/lib/fonts
2. Edit the file fontdir which is text file and on a new board is empty.
Add a line with format:
name file renderer italic weight size flags
Field | Description |
---|---|
name | The name of the font format, e.g.,Helvetica, Times, etc. |
file | The name of the file containing the font, e.g., helvR0810.bdf, verdana.ttf, etc. |
renderer | Specifies the font engine that should be used to render the font, currently only the FreeType font engine (FT) is supported. |
italic | Specifies whether the font is italic or not; the accepted values are y or n. |
weight | Specifies the font's weight: 50 is normal, 75 is bold, etc. |
size | Specifies the font size, i.e., point size * 10. For example, a value of 120 means 12pt. A value of 0 means that the font is scalable. |
flags | The following flag is supported:
|
For example to use Hebar for applications with cyrillic interface I add:
hebar hen.ttf FT n 50 0