что может значит proportional values и что значат числа сразу после комментариев?…
- User
что может значит proportional values и что значат числа сразу после комментариев? ############################################
fonts.dat
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] 12 13 13 28 28 28 28 8 # 0 ! " Ј $ % & ' 17 17 30 28 28 12 9 21 # 8 ( ) * + , - . / 28 14 28 28 28 28 28 28 # 16 0 1 2 3 4 5 6 7 28 28 13 13 30 30 30 30 # 24 8 9 : ; < = > ? 10 23 26 23 24 23 20 24 # 64 - A B C D E F G 23 17 20 26 20 31 27 27 # 72 H I J K L M N O 26 26 24 23 24 31 23 31 # 80 P Q R S T U V W 23 26 21 28 33 33 14 28 # 88 X Y Z & \ i _ 10 12 12 9 11 10 10 12 # 64 ! a b c d e f g 12 7 7 15 5 22 12 11 # 72 h i j k l m n o 12 11 10 12 18 13 13 18 # 80 p q r s t u v w 18 15 12 30 30 37 35 37 # 56 x y z
31 27 30 27 29 24 27 27 # 96 Ю Б Ч Д Ж З И Й 24 24 28 26 27 27 31 24 # 104 Г Ё Л В П Н Ш Э 29 28 31 31 30 27 11 18 # 112 Ф Ц Щ Ъ Ы Ь b ю 13 14 13 21 12 14 14 10 # 120 б ч д ж з и й г 12 12 11 11 13 20 11 15 # 128 ё л в п н ш э ф 13 22 16 19 13 28 18 30 # 136 ц щ ъ ы ь Я я ?(upsidedown) 27 16 27 27 27 27 27 27 # 144 0 1 2 3 4 5 6 7 27 27 18 29 24 25 28 26 # 152 8 9 : A B C D E 24 27 28 10 22 27 24 29 # 160 F G H I J K L M 28 28 25 28 26 26 27 27 # 168 N O P Q R S T U 28 32 29 24 25 30 25 24 # 176 V W X Y Z Ю Б Ч 31 32 24 26 26 20 25 30 # 184 Д Ж З И Й Г Ё Л 25 27 27 31 25 30 28 32 # 192 В П Н Ш Э Ф Ц Щ 30 28 25 21 26 30 27 27 # 200 Ъ Ы Ь b Я ї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] 15 9 17 27 20 34 23 12 # 0 ! " Ј % & ' 12 12 21 20 12 14 12 15 # 8 ( ) * + , - . / 23 15 21 21 21 21 21 21 # 16 0 1 2 3 4 5 6 7 20 21 12 12 24 24 24 19 # 24 8 9 : ; < = > ? 10 24 20 19 22 16 19 24 # 32 tmA B C D E F G 22 11 16 22 15 28 24 27 # 40 H I J K L M N O 20 25 19 19 19 23 23 31 # 48 P Q R S T U V W 24 22 21 21 13 35 11 21 # 56 X Y Z ! _ 10 19 20 15 20 20 13 20 # 64 ! a b c d e f g 19 9 9 19 9 26 19 20 # 72 h i j k l m n o 19 19 15 15 16 18 19 27 # 80 p q r s t u v w 22 22 17 21 17 20 15 15 # 88 x y z [ ] 31 20 22 28 32 20 24 24 # 96 Ю Б Ч Д Ж З И Й 15 16 24 20 22 22 32 19 # 104 Г Ё Л В П Н Ш Э 29 26 32 24 27 20 20 26 # 112 Ф Ц Щ Ъ Ы Ь b ю 20 17 19 26 16 17 17 12 # 120 б ч д ж з и й г 20 18 16 17 17 24 15 30 # 128 ё л в п н ш э ф 20 27 18 21 15 20 16 19 # 136 ц щ ъ ы ь Я я ї 20 18 19 19 21 19 19 19 # 144 0 1 2 3 4 5 6 7 19 19 16 19 19 19 20 19 # 152 8 9 : A B C D E 16 19 19 9 19 19 14 32 # 160 F G H I J K L M 19 19 19 19 19 19 22 19 # 168 N O P Q R S T U 20 32 19 19 19 29 19 19 # 176 V W X Y Z Ю Б Ч 22 29 18 20 20 17 19 20 # 184 Д Ж З И Й Г Ё Л 19 19 19 29 19 27 23 29 # 192 В П Н Ш Э Ф Ц Щ 24 28 19 19 19 19 10 9 # 200 Ъ Ы Ь b Я ї ' .
- Assistant
Proportional values in this context refer to the spacing or width of characters in a font. The numbers after the comments represent the proportional values for each character. These values determine the spacing between characters when the font is used.
In the given example:
- TOTAL_FONTS specifies the total number of fonts in the file, which is 2.
- FONT_ID specifies the ID of the font.
- PROP specifies the proportional values for each character in the font.
- UNPROP specifies a default proportional value for characters that do not have specific values defined.
- REPLACEMENT_SPACE_CHAR specifies a special character in the subfont.
Each font has its own set of proportional values for characters, and these values directly affect how the characters are displayed in the font.