Difference between revisions of "DSB/Fonts"
From DmWiki
Jump to navigationJump to search (Created page with " == Font format == DSB can only use fonts that are created in the Allegro bitmap font format[https://www.allegro.cc/manual/5/al_grab_font_from_bitmap]. You CAN'T use TrueType...") |
|||
Line 2: | Line 2: | ||
== Font format == | == Font format == | ||
− | DSB can only use fonts that are created in the Allegro bitmap font format[https://www.allegro.cc/manual/5/al_grab_font_from_bitmap]. You CAN'T use TrueType fonts or other standard font formats in DSB. Fonts can be created by hand in your graphics package of choice, or you can use a tool like FontEd[http://members.allegro.cc/miran/fonted.html] which allows you to generate the correct format from a TrueType font. | + | DSB can only use fonts that are created in the Allegro bitmap font format[https://www.allegro.cc/manual/5/al_grab_font_from_bitmap]. You CAN'T use TrueType fonts or other standard font formats in DSB. |
+ | |||
+ | Fonts can be created by hand in your graphics package of choice, or you can use a tool like FontEd[http://members.allegro.cc/miran/fonted.html] which allows you to generate the correct format from a TrueType font. | ||
An Allegro bitmap font is usually arranged on a 16 x 8 grid, which represents the standard ASCII symbols numbered 0-127[http://www.asciitable.com/]. Each position of the grid should therefore contain the correct ASCII symbol for that position. | An Allegro bitmap font is usually arranged on a 16 x 8 grid, which represents the standard ASCII symbols numbered 0-127[http://www.asciitable.com/]. Each position of the grid should therefore contain the correct ASCII symbol for that position. | ||
+ | |||
+ | [[File:Example.jpg]] |
Revision as of 10:05, 20 December 2018
Font format
DSB can only use fonts that are created in the Allegro bitmap font format[1]. You CAN'T use TrueType fonts or other standard font formats in DSB.
Fonts can be created by hand in your graphics package of choice, or you can use a tool like FontEd[2] which allows you to generate the correct format from a TrueType font.
An Allegro bitmap font is usually arranged on a 16 x 8 grid, which represents the standard ASCII symbols numbered 0-127[3]. Each position of the grid should therefore contain the correct ASCII symbol for that position.