Custom OpenBOR Fonts Tutorial + Templates

aL BeasTie

Well-known member
Originally posted by maggas at lavalit forums.
--------

OpenBOR Font templates


In order to create an font you need to known first how to define the size of the font image. That have to do actually with the size of the letters or "letterbox"(see bellow) you want to use.

Then if you known size of your letters,then you must multiply the dimensions of your letters x16.(the dimensions are count in pixels)

As example,if the size of your letters is width/9 pixels and height/9 pixels,then your font image size have to be width/144 and height/144,or 144x144 in other words.

The images bellow can be used as template in order to create your own font. Just pick up which image are fit with your letter dimensions.

Font size 144x144 for letters with 9x9 pixels
01_Font_size_144x144_for_letters_with_9x9_pix.gif


This is actually the default BOR font size which is used a lot.
This can be used as font,font2,font3

Font size 160x160 for letters with 10x10 pixels
02_Font_size_160x160_for_letters_with_10x10_pi.gif


This size can be used as font,font2,font3 as well and i think is the maximum size for use as font,font2.I´m using this size to my mods.

Font size 192x192 for letters with 12x12 pixels
03_Font_size_192x192_for_letters_with_12x12_pi.gif


This size can be used as font3

Font size 208x272 for letters with 13x17 pixels
04_Font_size_208x272_for_letters_with_13x17_pi.gif


This size can be used as font4

Font size 256x256 for letters with 16x16 pixels
05_Font_size_256x256_for_letters_with_16x16_pi.gif


This size can be used as font4

Font size 272x272 for letters with 17x17 pixels
06_Font_size_272x272_for_letters_with_17x17_pi.gif


This size can be used as font4

Here is an video example of how to use these templates and make your own Font:

! No longer available
Choose 720p quality to watch

OpenBOR actually can use up to 8 fonts used some commands to define which font is for what and not only 4 fonts.Check the manual/levels.text for more info.





From OpenBOR manual:
Quote
OpenBoR fonts are not monospaced. That is, the space between two letters is determined by how wide the letter is. If your letters 'overlap', try placing a black outline around them, or moving them rightward a few pixels.

Here is the "letter format" or just which letters must be used and where to place:
Code: [Select]
0 1 2 3 4 5 6 7 8 9 A B C D E F
0 1 2 3 4 5 6 7 8 9 A B C D E F
! " # $ % & ´ ( )  * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; { = } ?
@ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^
` a b c d e f g h i j k l m n o
p q r s t u v w x y z

ps:Not all symbols are necessary.You can add which you need.

I hope that will help you guys
-----
Originally posted by maggas at lavalit forums.


Additional info:

- NUMBERS must be included in font images or openbor will crash without error.
- LETTERS are optional. *(for custom fonts)
 
Back
Top Bottom