YesNoOk
avatar

Some font letters not displaying (Read 2339 times)

Started by Fob1aZ, June 01, 2020, 01:17:02 am
Share this topic:
Some font letters not displaying
#1  June 01, 2020, 01:17:02 am
  • **
  • "Some People Are Born To Be Extraordinary"
    • Italy
    • fab.marchetti86@gmail.com
Hi! I'm having a very absurd problem with this font I've created:



Code:
[Def]
Size = 22,40
Spacing = 0,1
Colors = 1
Offset = 0,0
Type = Variable

[Map]
! 15 6
" 25 12
" 39 12
# 54 19
$ 77 19
% 99 30
& 133 22
' 160 6
{ 1937 8
} 1956 8
* 191 13
+ 207 19
, 233 6
- 244 10
. 259 5
/ 268 13
0 282 18
1 307 11
2 327 18
3 349 19
4 372 18
5 394 18
6 417 18
7 439 19
8 461 18
9 484 18
: 508 5
] 510 20
< 520 19
= 542 19
> 566 19
? 590 17
@ 610 28
A 639 24
B 668 21
C 693 23
D 723 22
E 751 20
F 777 19
G 801 24
H 831 21
I 860 5
J 870 16
K 892 21
L 919 18
M 940 25
N 973 21
O 999 26
P 1030 20
Q 1055 26
R 1086 22
S 1114 22
T 1139 21
U 1165 21
V 1192 23
W 1218 33
X 1253 23
Y 1280 23
Z 1306 21
[ 1332 7
\ 1339 12
] 1351 7
^ 1361 19
_ 1380 21
` 1405 6
a 1415 19
b 1438 18
c 1460 17
d 1480 18
e 1503 18
f 1525 10
g 1537 18
h 1561 17
i 1583 5
j 1592 8
k 1606 16
l 1626 5
m 1638 27
n 1669 17
o 1690 19
p 1714 18
q 1735 18
r 1760 11
s 1772 17
t 1792 10
u 1806 16
v 1826 18
w 1847 25
x 1875 18
y 1895 18
z 1917 17
( 171 8
| 1949 4
) 180 8
~ 1967 18

I've created it with Font Factory and then saved it with Font Editor, but in game looks like this:



Only uppercase letters and symbols display, and not lowercase are invisible! And yet they are included in image and mapping! Can you help me? I'm going mad! :S

Thanks!
Last Edit: June 02, 2020, 09:11:58 pm by F0b1aZ
Re: Some font letters not displaying
#2  June 01, 2020, 05:30:56 am
  • ****
  • Rurouni Fan
  • The dream is nothing yet drive us to the end.
    • www.youtube.com/playlist?list=PLaWlQGjKyJWoXxMR8nrea7P4R9C0JnA-_
It happens. I don't know the real reason to be honest. That's why I started using v2.0 fonts, although sometimes I still use the old format for simple things like powerbar fonts.

I would say that you have 2 solutions to the problem:
1- As I said above, you can use v2.0 fonts. The current version of IKEMEN Go has a similar problem with v2.0 fonts using png sprites, but if you want to use it for MUGEN 1.0 / 1.1 you will be fine.
2- You can use hexadecimal numbers for each character. Examples:
Code:
0x21 = !
...
0x41 = A
etc.

Following this order here.
Check out this font here (Shiyo Kakuge's) that you will understand even better.
One day someone will rip the Inuyasha stages... Not today nor tomorrow, probably not even in this decade. But you know, someday... :')


Did you play the new
Spoiler, click to toggle visibilty
Re: Some font letters not displaying
#3  June 01, 2020, 10:40:01 am
  • **
  • "Some People Are Born To Be Extraordinary"
    • Italy
    • fab.marchetti86@gmail.com
Ok, I'll try 2nd solution first, then the first (I know how to do v2 fonts, but I preferred avoid it at first). Thanks!
Re: Some font letters not displaying
#4  June 02, 2020, 11:26:10 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
Only characters from the ASCII character set are supported by bitmap fonts. The extended ASCII set is not supported.

Your font has extended ASCII characters mapped, so they break it
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: Some font letters not displaying
#5  June 02, 2020, 09:11:37 pm
  • **
  • "Some People Are Born To Be Extraordinary"
    • Italy
    • fab.marchetti86@gmail.com
Ok, I guess I rather used font v2 format from the start, 'cause I needed as much as possible characters.

I've converted the font to v2 format. Thanks Rurouni and XGargoyle for your help and tips!