Me and a small team are making the brazilian portuguese localization, but there is a problem: portuguese special characters are not supported. They work fine on the launcher, but in game are invisible.
I had a small conversation with Rpoxo, which recomended me to do not mess with fonts, because they are tricky, unfortunely i concluded that i don't have that option. I don't have any experience with bf2 modding, so any help would be great.
Just to be clear, i am not asking anyone to directey help me, but i asking for tutorials, tools, and things like that, but any direct help is welcome.
Thanks
Help needed with custom font for localization
-
Undermun
- Posts: 17
- Joined: 2016-01-21 02:24
Help needed with custom font for localization
Last edited by Undermun on 2019-08-29 20:14, edited 1 time in total.
-
mectus11
- PR:BF2 Developer
- Posts: 805
- Joined: 2015-09-05 19:44
Re: Help needed with custom font for localization
I think the best guy to talk to about this is TBob, he's the one who worked on HD Font
https://www.realitymod.com/forum/showth ... light=TBob
https://www.realitymod.com/forum/showth ... light=TBob


-
Undermun
- Posts: 17
- Joined: 2016-01-21 02:24
Re: Help needed with custom font for localization
I will try to contact him, but he was last seen in September / 2018 ... so there is no big hopes. But thanks for the suggestion.mectus11 wrote:I think the best guy to talk to about this is TBob, he's the one who worked on HD Font
https://www.realitymod.com/forum/showth ... light=TBob
-
TBob
- Posts: 75
- Joined: 2013-07-10 01:18
Re: Help needed with custom font for localization
Hey, I'm not dead! I'll be happy to answer any font related questions.
This post by AncientMan details the basic operation of BMfont https://www.realitymod.com/forum/showth ... p?t=140120
I was not able to find the conversion tool listed there, I ended up using my own system to convert them. There is also a C# script to convert them somewhere.
radiosmersh worked on a version of BMfont to output directly to BF2 font format but I have not tried it https://github.com/radiosmersh/BMFont
Depending on what all needs to be changed the easiest way might just to be copying the characters in the font texture and manually adding the diacritic marks rather than generating a whole new font.
I was originally working on a universal HD font across most localizations but it got put on the back shelf, but I may pick it up again at some point.
This post by AncientMan details the basic operation of BMfont https://www.realitymod.com/forum/showth ... p?t=140120
I was not able to find the conversion tool listed there, I ended up using my own system to convert them. There is also a C# script to convert them somewhere.
radiosmersh worked on a version of BMfont to output directly to BF2 font format but I have not tried it https://github.com/radiosmersh/BMFont
Depending on what all needs to be changed the easiest way might just to be copying the characters in the font texture and manually adding the diacritic marks rather than generating a whole new font.
I was originally working on a universal HD font across most localizations but it got put on the back shelf, but I may pick it up again at some point.
-
Undermun
- Posts: 17
- Joined: 2016-01-21 02:24
Re: Help needed with custom font for localization
Thanks for the reply. I am trying to run BMfont by radiosmersh but i wasn't sucessful yet. I can't get the .nsi file running.TBob wrote:Hey, I'm not dead! I'll be happy to answer any font related questions.
This post by AncientMan details the basic operation of BMfont https://www.realitymod.com/forum/showth ... p?t=140120
I was not able to find the conversion tool listed there, I ended up using my own system to convert them. There is also a C# script to convert them somewhere.
radiosmersh worked on a version of BMfont to output directly to BF2 font format but I have not tried it https://github.com/radiosmersh/BMFont
Depending on what all needs to be changed the easiest way might just to be copying the characters in the font texture and manually adding the diacritic marks rather than generating a whole new font.
I was originally working on a universal HD font across most localizations but it got put on the back shelf, but I may pick it up again at some point.
I have a few questions:
- How can i inspect the .dif and .dds files? Which one is the bitmap font? How can i open it? You said it's easier to modify the already existent ones.
- Each language has a lot of fonts files, do i need to change them all?
