[Fixed] [1.1.2] SW: Highres font replacement not working

Moderator: Raze Developers

[1.1.2] SW: Highres font replacement not working

Postby NightFright » Sun May 23, 2021 2:54 am

Trying to get the highres font replacements from Classic Redux working and ran into an issue.

Looks like a certain font (message font, tiles #4608-4701) does not accept replacements, at least not for all palette entries. This can be observed for example in the episode selection screen with the description texts ("Four levels (Shareware Version)" / "Eighteen levels (Full version only)")

Try this test file (zip, 612 KB). It works fine in VoidSW (via bat file: voidsw -gshadow.zip -hsw.def), but not in Raze where the lowres version of the font keeps being used.
User avatar
NightFright
Spotlight Team
 
Joined: 02 May 2008
Location: Germany

Re: [1.1.2] SW: Highres font replacement not working

Postby Graf Zahl » Sun May 23, 2021 4:08 am

The font management here is very different than what Build normally does. It makes no sense fixing this now, because a lot of work is still needed to make it compatible with international fonts first.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [1.1.2] SW: Highres font replacement not working

Postby Graf Zahl » Mon May 24, 2021 1:40 pm

Should be fixed now. I had to rewrite larger chunks of the font management, but now the font system can apply engine-side translations on hires fonts as well.
The old code wasn't able to, and had to revert to the stock characters.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [1.1.2] SW: Highres font replacement not working

Postby NightFright » Wed May 26, 2021 5:40 am

Hm, still not working in raze-x64-1.1.0pre-155-g4ff4fa643.
User avatar
NightFright
Spotlight Team
 
Joined: 02 May 2008
Location: Germany

Re: [1.1.2] SW: Highres font replacement not working

Postby NightFright » Fri May 28, 2021 8:34 am

Still no change with raze-x64-1.1.0pre-158-g22be26bd2. This seems to be a nasty one.
User avatar
NightFright
Spotlight Team
 
Joined: 02 May 2008
Location: Germany

Re: [1.1.2] SW: Highres font replacement not working

Postby Graf Zahl » Fri May 28, 2021 12:25 pm

I haven't tried. I'm currently extending all the fonts so once that is done I'll have to make some bigger changes to the font setup anyway. Makes no sense fixing things that will need re-fixing later.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [1.1.2] SW: Highres font replacement not working

Postby Graf Zahl » Tue Jun 01, 2021 3:32 am

Turned out I was fooled by the Duke HRP replacing the 1.5 font with 1.3 even in low res so it looked as if it picked the hires version when in reality the low res font had been changed as well.
Now it's all working and font colorization works properly with hires replacements.

Only thing left is to implement replacements of fully extended fonts as well as they live outside the tile system.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [1.1.2] SW: Highres font replacement not working

Postby NightFright » Fri Jun 04, 2021 4:17 pm

Confirmed to be fixed in raze-x64-1.1.0pre-197-g207298aeb.
User avatar
NightFright
Spotlight Team
 
Joined: 02 May 2008
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests