############################################ fonts.dat by San3k, SanLtd Team (c) 2007…
- User
############################################
fonts.dat by San3k, SanLtd Team (c) 2007 +fix DimZet
stores the proportional values for fonts
############################################
amount of fonts to expect:
[TOTAL_FONTS] 2
1st font... GOTHIC
this font id (starts at ZERO):
[FONT_ID] 0
proportional values:
[PROP] 10 10 13 28 26 30 24 8 # 0 _ ! " _ $ % _ ' 13 13 28 27 11 12 10 17 # 8 [ ] & + , - . / 16 10 16 16 16 16 16 16 # 16 0 1 2 3 4 5 6 7 16 16 11 11 27 27 27 17 # 24 8 9 : ; < = > _ 10 24 23 21 23 21 19 23 # 64 i A B C D E F G 23 16 16 23 21 31 24 25 # 72 H I J K L M N O 23 26 23 22 21 23 23 30 # 80 P Q R S T U V W 25 20 18 28 17 33 10 28 # 88 X Y Z _ \ * i _ 10 12 11 9 11 10 10 12 # 64 _ a b c d e f g 12 6 6 12 7 18 12 11 # 72 h i j k l m n o 11 12 10 12 7 12 12 18 # 80 p q r s t u v w 16 13 13 21 30 37 35 37 # 56 x y z ? ° _ _ _ 23 25 20 23 31 23 23 28 # 96 Б Ф Г Д Ж И Й Л 22 24 30 23 24 21 31 21 # 104 З Ц Щ В П Ч Ш Т 0 0 0 21 31 23 31 12 # 112 _ _ _ Э Ю Я М б 16 12 12 18 12 12 13 11 # 120 ф г д ж и й л з 13 18 11 11 12 17 17 15 # 128 ц щ в п ч ш т ъ 16 11 10 17 12 24 12 18 # 136 ы ь э ю я Н н м 26 14 24 24 27 25 25 25 # 144 0 1 2 3 4 5 6 7 25 25 18 29 25 25 27 24 # 152 8 9 _ A B C D E 23 27 27 9 22 26 23 29 # 160 F G H I J K L M 27 28 25 28 25 25 26 26 # 168 N O P Q R S T U 28 34 28 27 25 24 28 18 # 176 V W X Y Z Б Ф Г 30 30 26 26 26 24 26 31 # 184 Д Ж И Й Л З Ц Щ 25 26 26 28 24 28 32 25 # 192 В П Ч Ш Т Ъ Ы Ь 25 32 27 30 27 29 27 27 # 200 Э Ю Я М Н М _ _
value for unproportional
[UNPROP] 27
special char in subfont:
[REPLACEMENT_SPACE_CHAR] 10
2nd font... GTA HEADER
this font id:
[FONT_ID] 1
proportional values:
[PROP] 9 9 14 18 18 29 23 8 # 0 ! ! " # % & ' 11 11 21 20 12 16 12 14 # 8 ( ) & + , - . / 19 14 19 19 19 19 19 19 # 16 0 1 2 3 4 5 6 7 19 19 9 12 20 20 20 15 # 24 8 9 : ; < = > ? 10 22 18 20 21 16 16 22 # 32 i A B C D E F G 21 9 15 20 16 26 22 23 # 40 H I J K L M N O 18 23 19 18 20 20 22 29 # 48 P Q R S T U V W 22 20 20 11 14 11 11 21 # 56 X Y Z [ \ ] i _ 33 20 19 15 19 18 13 19 # 64 * a b c d e f g 18 8 8 18 8 27 18 21 # 72 h i j k l m n o 18 19 13 15 14 19 20 27 # 80 p q r s t u v w 22 21 17 19 17 19 12 12 # 88 x y z ? ° [ ] 19 26 16 24 30 21 21 22 # 96 Б Ф Г Д Ж И Й Л 19 22 29 19 20 20 27 18 # 104 З Ц Щ В П Ч Ш Т 22 25 18 22 28 20 26 19 # 112 Ъ Ы Ь Э Ю Я М б 21 12 21 26 18 18 19 17 # 120 ф г д ж и й л з 19 28 17 18 16 25 15 20 # 128 ц щ в п ч ш т ъ 23 16 15 24 19 21 18 23 # 136 ы ь э ю я Н н м 19 19 19 19 21 19 19 19 # 144 0 1 2 3 4 5 6 7 19 19 9 19 19 19 19 19 # 152 8 9 : A B C D E 16 19 19 9 19 19 14 29 # 160 F G H I J K L M 19 19 19 19 19 19 21 19 # 168 N O P Q R S T U 20 32 19 19 19 19 29 19 # 176 V W X Y Z Б Ф Г 19 29 19 19 21 19 21 31 # 184 Д Ж И Й Л З Ц Щ 19 19 19 29 29 22 28 19 # 192 В П Ч Ш Т Ъ Ы Ь 19 29 19 29 19 29 9 9 # 200 Э Ю Я М Н М ' .
- Assistant
Proportional values in this fonts.dat file represent the width of each character in the font. Each character is measured in pixels and the proportional values indicate how many pixels wide each character should be.
For example, in the first font "GOTHIC", the proportional values for the characters range from 6 to 37 pixels wide. This means that each character in the font will be rendered with a width that corresponds to the specified number of pixels.
The values in the "PROP" section correspond to the width of each character in the font. For example, the first line "10 10 13 28 26 30 24 8" indicates that the characters in positions 0 to 7 (corresponding to characters like underscore, exclamation mark, quotation mark, etc.) have widths of 10, 10, 13, 28, 26, 30, 24, and 8 pixels respectively.
These proportional values are crucial for rendering text in a visually pleasing and consistent way, ensuring that each character is displayed with the correct width based on the font design.