Post by BeasTie on Dec 13, 2012 21:56:10 GMT -5
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
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
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
This size can be used as font3
Font size 208x272 for letters with 13x17 pixels
This size can be used as font4
Font size 256x256 for letters with 16x16 pixels
This size can be used as font4
Font size 272x272 for letters with 17x17 pixels
This size can be used as font4
Here is an video example of how to use these templates and make your own Font:
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.
--------
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
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
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
This size can be used as font3
Font size 208x272 for letters with 13x17 pixels
This size can be used as font4
Font size 256x256 for letters with 16x16 pixels
This size can be used as font4
Font size 272x272 for letters with 17x17 pixels
This size can be used as font4
Here is an video example of how to use these templates and make your own Font:
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.