P40 fonts

Post any technical issues here. This forum gets priority from our staff.
User avatar
rosariomanzo
Staff Sergeant
Posts: 308
Joined: 26 Sep 2009, 06:48
Location: LIRN

P40 fonts

Post by rosariomanzo »

Hi
First let me say thank you again for this nice present, an awesome gesture.

Do you know if there is a way to fix this issue? I see very small and unreadable fonts in the P40 menu. I have the same issue on P51.
P3D 4.5 on W10.

Thanks in advance for any help

Image
Ros

User avatar
Lewis - A2A
A2A Lieutenant Colonel
Posts: 33284
Joined: 06 Nov 2004, 23:22
Location: Norfolk UK
Contact:

Re: P40 fonts

Post by Lewis - A2A »

Hello,

which resolution is your hardware set to run at and what resolution are you playing the sim at?

thanks,
Lewis
A2A Facebook for news live to your social media newsfeed
A2A Youtube because a video can say a thousand screenshots,..
A2A Simulations Twitter for news live to your social media newsfeed
A2A Simulations Community Discord for voice/text chat

User avatar
Nick - A2A
A2A Captain
Posts: 13728
Joined: 06 Jun 2014, 13:06
Location: UK

Re: P40 fonts

Post by Nick - A2A »

Hi Ros,

To add to Lewis's reply, it's also worth checking if you have any "Courier" fonts installed to your OS other than the default "Courier New". If so, try removing them leaving just Courier New behind.

Thanks,
Nick
A2A Simulations Inc.

User avatar
rosariomanzo
Staff Sergeant
Posts: 308
Joined: 26 Sep 2009, 06:48
Location: LIRN

Re: P40 fonts

Post by rosariomanzo »

Lewis: the resolution is 1920x1080. The sim runs in windowed mode, so same resolution.

Nick: I've checked the fonts and I only have Courier New installed.
Ros

User avatar
Lewis - A2A
A2A Lieutenant Colonel
Posts: 33284
Joined: 06 Nov 2004, 23:22
Location: Norfolk UK
Contact:

Re: P40 fonts

Post by Lewis - A2A »

Do you have any font changes set in windows, like large fonts enabled or anything like that?

thanks,
Lewis
A2A Facebook for news live to your social media newsfeed
A2A Youtube because a video can say a thousand screenshots,..
A2A Simulations Twitter for news live to your social media newsfeed
A2A Simulations Community Discord for voice/text chat

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: P40 fonts

Post by Hook »

That dialog uses Courier New at 15 points and Courier at 8 points. All his Courier text is wrong, and it looks like it may be using Arial instead.

Looks like you need to find and install the standard Courier font.

Hook

User avatar
rosariomanzo
Staff Sergeant
Posts: 308
Joined: 26 Sep 2009, 06:48
Location: LIRN

Re: P40 fonts

Post by rosariomanzo »

Hook wrote: 01 Apr 2020, 08:59 Looks like you need to find and install the standard Courier font.
This makes sense, tahnk you. I will search and report back.
Ros

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: P40 fonts

Post by Hook »

I duplicated the problem by editing Manager.xml and changing the COURIER font name to wxyz, but leaving Courier New unchanged. When the system couldn't find the non-existent "wxyz" font it used a default, which I believe is Arial.

There may already be a Courier font on the system, but not installed. Once you have the correct font installed the problem should go away.

Hook

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: P40 fonts

Post by Hook »

rosariomanzo wrote: 01 Apr 2020, 09:19
Hook wrote: 01 Apr 2020, 08:59 Looks like you need to find and install the standard Courier font.
This makes sense, thank you. I will search and report back.
:D

I'd better make sure on this... 15 points and 8 points is the font size, not the number of times it's used.

Hook

User avatar
rosariomanzo
Staff Sergeant
Posts: 308
Joined: 26 Sep 2009, 06:48
Location: LIRN

Re: P40 fonts

Post by rosariomanzo »

I've tried several courier fonts, sadly with no success.

The issue is even worse in the hangar panel:

Image

I have the "old" accusim P40 for FSX since years and never had this kind of issue. It's a W10 glitch for sure.
Ros

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: P40 fonts

Post by Hook »

Ok, this is officially an interesting problem.

It turns out that I don't have a COURIER font registered on my system either. I only have Courier New. While I'm not an expert in fonts, usually when Windows encounters a font you don't have, it either uses some default font or uses something from a font family. In this case it should be Courier New, I would think.

Look for several instances of the following lines in your Manager.xml file which in my case is in the following directory:

D:\Prepar3Dv4\A2A\SimObjects\Airplanes\WoP3_P40\panel\wop3_p40

Make a copy of this file for backup, then edit the original.

Look for:

<FontFace>COURIER</FontFace>
<FontHeight>8</FontHeight>

And in every instance change it to:

<FontFace>Courier New</FontFace>
<FontHeight>15</FontHeight>

You might have to adjust the FontHeight to get it looking just right.

The engine is in engine_details.xml and will need a similar treatment although many do not have a FontHeight.

Hook

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: P40 fonts

Post by Hook »

I just a thought. LIRN is in Naples. You may be using a different font code page that doesn't handle the "courier" font specification the same way our Windows 10 does. I'm not sure how to fix this other than what I mentioned above. I will continue to research.

Hook
Last edited by Hook on 01 Apr 2020, 13:52, edited 1 time in total.

User avatar
Nick - A2A
A2A Captain
Posts: 13728
Joined: 06 Jun 2014, 13:06
Location: UK

Re: P40 fonts

Post by Nick - A2A »

I think with Windows 10 at any rate, it's normal to just have "Courier New" (cour.ttf) as the only TTF Courier family font installed, with "Courier Standard" (coure.fon) present just as a system font. In other words, just Courier New is present in the Fonts section in the Settings UI, but a font called Courier Standard is present in the fonts folder (C:\Windows\Fonts).

Ros - this is the version of Courier New I have installed for the P-40 2-D windows to display correctly.

Image

Might be worth comparing this with yours.

Thanks,
Nick
A2A Simulations Inc.

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: P40 fonts

Post by Hook »

I have a font called Courier Regular in my fonts folder. It appears that's what is being used for "courier" font in the dialogs. If you zoom in on a screen shot the "courier" font is not being smoothed while "courier new" may have a bit. They are a bit different.

Edit: I figured out how to check it, and Courier Regular is coure.fon. At this point I'm almost certain that this is the font being used. Make sure you have this font on your system. If it's not there you'll get a default like Arial, which I was able to verify by changing the font specification in the file to the non-existant "wxyz" font and the screen shot matched the one with the problem.

Hook
Last edited by Hook on 01 Apr 2020, 14:15, edited 1 time in total.

User avatar
rosariomanzo
Staff Sergeant
Posts: 308
Joined: 26 Sep 2009, 06:48
Location: LIRN

Re: P40 fonts

Post by rosariomanzo »

Problem solved!!!!!

I have installed a very old "coure.fon", so not a TTF, and this fixed the problem.

Thank you guys for the kind help!

Image

Image
Ros

new reply

Return to “P-40 Tech Support”

Who is online

Users browsing this forum: No registered users and 5 guests