New Text Renderer WIP
New Text Renderer WIP
- JeremyaFr
- Posts: 3983
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
I'm working on improving the text rendering.
I'm working on improving the text rendering.
- JeremyaFr
- Posts: 3983
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
In vanilla XWA.
Current text renderer:
New text renderer:
Current text renderer:
New text renderer:
You do not have the required permissions to view the files attached to this post.
- JeremyaFr
- Posts: 3983
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
With DSUCP.
Current text renderer:
New text renderer:
Current text renderer:
New text renderer:
You do not have the required permissions to view the files attached to this post.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Great improvement
What font are you using?
What font are you using?
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Trevor
- Posts: 541
- Joined: Thu Dec 04, 2014 7:11 pm
looks like Times New Roman.
hmm... not sure about using a serif font for screen text, I mean yes, it looks amazing, but I think it would be better as sans-serif.
Trev
hmm... not sure about using a serif font for screen text, I mean yes, it looks amazing, but I think it would be better as sans-serif.
Trev
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Arial, Verdana or Helvetica LT would be my preference, cleaner fonts
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Driftwood
- Posts: 2174
- Joined: Wed Oct 22, 2003 11:01 pm
- Contact:
Could always give an option for arubesh for lore adherent masochists
Would be neat to have for immersion if bit impractical.
How is the new font being called by the engine? Or is this just a replacement of the font.dat?
Would be neat to have for immersion if bit impractical.
How is the new font being called by the engine? Or is this just a replacement of the font.dat?
- BenKenobi
- Posts: 94
- Joined: Wed Mar 18, 2020 12:30 pm
I agree with Darksaber, any sans serif font will beter. I have an eye condition which can't be corrected by glasses so anything making the texts better readable will be very welcome!!
- JeremyaFr
- Posts: 3983
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Arial:
Times New Roman:
Verdana:
Times New Roman:
Verdana:
You do not have the required permissions to view the files attached to this post.
- JeremyaFr
- Posts: 3983
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
This is NOT a replacement of "Fonts.dat".
The function in the exe that draws the text is hooked.
Then the text is drawn in DDraw.dll using Direct2D and DirectWrite.
This is NOT a replacement of "Fonts.dat".
The function in the exe that draws the text is hooked.
Then the text is drawn in DDraw.dll using Direct2D and DirectWrite.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Out of the three definitely Verdana, and well done looks really good
I don't know if it would be possible but perhaps the user could select there own preference of Font, through a cfg file, perhaps a few choices of default windows fonts though, something that everyone is likely to have
Arial
Calibri
News Gothic MT
Tahoma
Verdana
There are thousands of custom font, best to limit it to default windows fonts, you don't know what custom font would work or not
Also could the size be adjusted too?
I don't know if it would be possible but perhaps the user could select there own preference of Font, through a cfg file, perhaps a few choices of default windows fonts though, something that everyone is likely to have
Arial
Calibri
News Gothic MT
Tahoma
Verdana
There are thousands of custom font, best to limit it to default windows fonts, you don't know what custom font would work or not
Also could the size be adjusted too?
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Ace Antilles
- Posts: 7892
- Joined: Sat Jan 22, 2000 12:01 am
- Contact:
That's amazing work! My eyes are getting worse all the time so any improvements help.
Verdana is best of those choices.
Will this affect the fonts in areas like the Crew Quarters too?
Verdana is best of those choices.
Will this affect the fonts in areas like the Crew Quarters too?
- BenKenobi
- Posts: 94
- Joined: Wed Mar 18, 2020 12:30 pm
Verdana is looking very good to me Jeremy!
Being able to choose the size in a config would be really nice to have.
Being able to choose the size in a config would be really nice to have.
- keiranhalcyon7
- Posts: 599
- Joined: Tue Jan 02, 2018 6:41 am
You say that as a joke, but I think the folks who've done XWA machinema, combined with dynamic cockpit, would be all over it.
Jeremy, I assume this resolves the clipping with HUD scale >= 1.5?
A font picker would be nice. If not outright in a cfg file, maybe a derivative of the dat editor that just renders fonts to fonts.dat?
- Ace Antilles
- Posts: 7892
- Joined: Sat Jan 22, 2000 12:01 am
- Contact:
Quick test note. I copied the files across to the XWA directory.
The text is nice looking and seems clearer.
Problem. It disabled the new Dynamic Cockpits that have just been added.
I'm not sure if it changed anything else from recent patches either
-
- Posts: 79
- Joined: Tue May 09, 2006 11:01 pm
I think Jeremy's DLL is separate from Blue_Max's, so you'll need to wait until they are merged. However, I could be wrong on that.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
You copied over Jeremy's test DDraw.dll, replacing the DDraw.dll that came with the Dynamic Cockpits, that should give you a slight tip to what may have happened.
Answer, they're two different DDraw.dll's
Jeremy's DDraw.dll is the Master and does not include the coding for the Dynamic Cockpits, Blue Max then adds his coding to jeremy's DDraw.dll code allowing you to use the Effects and Dynamic Cockpits. Since this is a Jeremy's test DDraw.dll, the new coding will not of been applied to Blue Max's DDraw.dll. you'll have to wait for that, at the moment you can either have the new Text, or install the Dynamic Cockpit's, but you can't have both.
Simply install the Dynamic Cockpit installer again.
Another tip is to always backup your files before testing new stuff, especially when copy, pasting and replacing
Sorry if this sounds sarcastic and condescending, it was meant too, you've been out of the game for far too long, you deserve a slap around the face with a fish! lol
Hi Ace (waves!!)
Answer, they're two different DDraw.dll's
Jeremy's DDraw.dll is the Master and does not include the coding for the Dynamic Cockpits, Blue Max then adds his coding to jeremy's DDraw.dll code allowing you to use the Effects and Dynamic Cockpits. Since this is a Jeremy's test DDraw.dll, the new coding will not of been applied to Blue Max's DDraw.dll. you'll have to wait for that, at the moment you can either have the new Text, or install the Dynamic Cockpit's, but you can't have both.
Simply install the Dynamic Cockpit installer again.
Another tip is to always backup your files before testing new stuff, especially when copy, pasting and replacing
Sorry if this sounds sarcastic and condescending, it was meant too, you've been out of the game for far too long, you deserve a slap around the face with a fish! lol
Hi Ace (waves!!)
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Ace Antilles
- Posts: 7892
- Joined: Sat Jan 22, 2000 12:01 am
- Contact:
I've not been away too long, you guys made it way too awesome lolDarksaber wrote: ↑Fri Apr 10, 2020 11:22 pmYou copied over Jeremy's test DDraw.dll, replacing the DDraw.dll that came with the Dynamic Cockpits, that should give you a slight tip to what may have happened.
Answer, they're two different DDraw.dll's
Jeremy's DDraw.dll is the Master and does not include the coding for the Dynamic Cockpits, Blue Max then adds his coding to jeremy's DDraw.dll code allowing you to use the Effects and Dynamic Cockpits. Since this is a Jeremy's test DDraw.dll, the new coding will not of been applied to Blue Max's DDraw.dll. you'll have to wait for that, at the moment you can either have the new Text, or install the Dynamic Cockpit's, but you can't have both.
Simply install the Dynamic Cockpit installer again.
Another tip is to always backup your files before testing new stuff, especially when copy, pasting and replacing
Sorry if this sounds sarcastic and condescending, it was meant too, you've been out of the game for far too long, you deserve a slap around the face with a fish! lol
Hi Ace (waves!!)
Yeah I'm getting the hang of it. I keep backups of stuff but now I understand what's going on more with some of these DLLs.
Hell I'm still trying to work out all the controls again and got to customise my Joystick still.
Also I swear you made it harder If i didn't have invulnerable on in my test missions I would be dead so fast.
Sorry for the confusion guys.
P.S Never change Darksaber
- blue_max
- Posts: 2296
- Joined: Wed Mar 20, 2019 5:12 am
Also, I don't see Jeremy's commit yet in his repo, so it might be a while before I catch up.
- ual002
- Posts: 983
- Joined: Wed Sep 24, 2008 2:23 am
If its configurable.. and I know some of you will groan, but can we get an Aurebesh version?
Some of us.. I'm not gonna name names, can read and write it and it might be cool for them.
Some of us.. I'm not gonna name names, can read and write it and it might be cool for them.