Page 1 of 1

Font question

Posted: Sun May 14, 2023 6:17 pm
by ncc1701e
Sorry if this was asked before but after installing the "Best of both Worlds" mod, I have also a font problem. The first picture of the mod shows this with a nice yellow bold font:
Mod.JPG
Mod.JPG (287.52 KiB) Viewed 3098 times

My installation shows nothing in bold for the yellow text:
Me.JPG
Me.JPG (305.08 KiB) Viewed 3098 times

Any ideas? I did copy the Opart 4 Fonts.ini, of the mod, in my ..\Documents\My Games\The Operational Art of War IV folder.

Thanks in advance

Re: Font question

Posted: Thu May 18, 2023 10:30 am
by ncc1701e
I am progressing quite well creating my own Opart 4 Fonts.ini. But I do have a problem to find on which font I must act to change these parts circled in red.
Which font.JPG
Which font.JPG (110.55 KiB) Viewed 3064 times

Re: Font question

Posted: Thu May 18, 2023 10:31 am
by ncc1701e
All the options are here but the tooltip texts are not really explaining things. Same in the manual.

Any ideas?
Font editor.JPG
Font editor.JPG (149.09 KiB) Viewed 3063 times

Re: Font question

Posted: Thu May 18, 2023 4:55 pm
by ncc1701e
All right, after several attempts :D , the answer is the DialogMediumFont font. The font for the equipments inside the buttons is named EquipmentDialogMediumFont.

But, there are still some missing parts. I have highlighted in red what I have yet to find.
Font_DialogMediumFont.JPG
Font_DialogMediumFont.JPG (201.44 KiB) Viewed 3052 times

Re: Font question

Posted: Thu May 18, 2023 6:00 pm
by ncc1701e
One thing I have just discovered if you are struggling to find the correct font. Activate the background option on several fonts to find their purpose.
Background.JPG
Background.JPG (108.75 KiB) Viewed 3045 times

Re: Font question

Posted: Thu May 18, 2023 6:01 pm
by ncc1701e
Like this, I know I am not far to find the right one.
BackgroundActivated.JPG
BackgroundActivated.JPG (353.06 KiB) Viewed 3044 times

Re: Font question

Posted: Thu May 18, 2023 7:30 pm
by ncc1701e
And the winner is the TextButtonFont font for the remaining.
Font_TextButtonFont.JPG
Font_TextButtonFont.JPG (280.28 KiB) Viewed 3033 times

Re: Font question

Posted: Thu May 18, 2023 7:34 pm
by ncc1701e
All right, I am quite happy with my Opart 4 Fonts.ini file for my 1920x1080 display.

If anyone is interested, I have attached it here.

As usual, this Opart 4 Fonts.ini file needs to be copied in your ..\Documents\My Games\The Operational Art of War IV folder.
EDIT:
This version contains two bugs so I am removing it. I will add it later once they are solved.

Re: Font question

Posted: Thu May 18, 2023 8:38 pm
by ncc1701e
Oops. Launching a game vs PO, there is one window that I don't like. The Combat Chart values are quite unreadable. Back to the font quest to find where is the problem.
Font problem.JPG
Font problem.JPG (324.93 KiB) Viewed 3015 times

Re: Font question

Posted: Thu May 18, 2023 9:40 pm
by ncc1701e
All right problem, the background method does not work for this font. I suspect it is hidden by the other backgrounds. Does anybody know what font this is? It will save me a lot of time.

Re: Font question

Posted: Fri May 19, 2023 9:59 am
by ncc1701e
Another small bug, this particular font was also missing.
before_WideButtonFont.JPG
before_WideButtonFont.JPG (164.68 KiB) Viewed 2956 times

Re: Font question

Posted: Fri May 19, 2023 10:00 am
by ncc1701e
Its name is WideButtonFont and, after correcting it, it is looking better.
after_WideButtonFont.JPG
after_WideButtonFont.JPG (166.07 KiB) Viewed 2955 times

Re: Font question

Posted: Fri May 19, 2023 10:02 am
by ncc1701e
I am not using it but I have also corrected the ToolTipFont font for a better display.
Tooltip font.JPG
Tooltip font.JPG (197.65 KiB) Viewed 2954 times

Re: Font question

Posted: Fri May 19, 2023 10:17 am
by ncc1701e
Of course, the other windows are treated the same way. Here is an example of Loss Report.
loss report.JPG
loss report.JPG (146.24 KiB) Viewed 2950 times

Re: Font question

Posted: Fri May 19, 2023 10:18 am
by ncc1701e
Here is the Inventory and Replacements window.
replacements.JPG
replacements.JPG (151.12 KiB) Viewed 2948 times

Re: Font question

Posted: Fri May 19, 2023 10:19 am
by ncc1701e
Here is the Expected Reinforcements window.
expected reinforcements.JPG
expected reinforcements.JPG (193.39 KiB) Viewed 2947 times

Re: Font question

Posted: Fri May 19, 2023 10:21 am
by ncc1701e
Still missing this font. I keep searching...
Missing font.JPG
Missing font.JPG (106.45 KiB) Viewed 2946 times

Re: Font question

Posted: Fri May 19, 2023 3:26 pm
by ncc1701e
All right, the winner is again the TextButtonFont font. More exactly, it was the OutlineWidth parameter that was causing problem for these lines in the Combat Chart window.
Combat Chart.JPG
Combat Chart.JPG (198.3 KiB) Viewed 2905 times

Re: New Opart 4 Fonts.ini for "Best of Both Worlds" mod

Posted: Fri May 19, 2023 3:29 pm
by ncc1701e
I am now happy with my Opart 4 Fonts.ini file for my 1920x1080 display. This Opart 4 Fonts.ini file is fully compatible with the "Best of both Worlds" mod.

If anyone is interested, I have attached it here.

As usual, this Opart 4 Fonts.ini file needs to be copied in your ..\Documents\My Games\The Operational Art of War IV folder.

Don't forget to do Ctrl + R to refresh the graphics without relaunching the game.
Opart 4 Fonts.zip
(1.34 KiB) Downloaded 107 times