Better unit font (Full Version)

All Forums >> [New Releases from Matrix Games] >> Gary Grigsby's War in the East 2



Message


DeletedUser44 -> Better unit font (8/1/2021 6:32:32 PM)

I made an earlier post critical of the scaling and how it made all the dark lettered unit counters hazy and faint compared to the white lettered counters. (at least on the Samsung 34" SJ55W Ultra WQHD)

I found a font that actually compensates for it.

I was pleasantly surprised.

It was the "PT Root UI". You can install for free from the Windows App Store.

You will need to update your local 'GuiFonts.json' file in the 'Dat' sub-directory to change the line containing "FONT_UNIT" to the following:

	"FONT_UNIT" : { "active": "true", "id": "5", "name": "PT Root UI Bold", "size": "12", "format": "", "file": "", "desc" : "Unit Font - Unit Counters High Zoom" },


the following may work as well:

	"FONT_UNIT" : { "active": "true", "id": "5", "name": "PT Root UI", "size": "12", "format": "bold", "file": "", "desc" : "Unit Font - Unit Counters High Zoom" },


Also, final note, the original size I believe was "9"; however, I like my unit combat values to stand out a little more, as long as the text does not render outside the bounds of the counter itself.

You may need to bump the "12" back down to "9" on your end.

For my system and display configuration, using this font made a big difference.




MishaTX -> RE: Better unit font (12/21/2021 11:39:33 AM)

Thanks for the tip!

It's a shame that Tahoma doesn't work anymore like it used to, because I liked it a lot, but PT Root UI Bold is a great substitute.

And I'd strongly recommend using the Bold version instead of using format: "bold" in the .json file as the "bold" format command doesn't work. Which is, I believe, why the old Tahoma font doesn't look right anymore as it looks thin and "wispy" without the bold function (which is why it's included in the original .json, I presume).

Yes. I tested it. Dead simple. I edited the .json slightly to A) make the font size for medium and high zoom the exact same and as large as I could fit on the counter and B) including "format: "bold"" for one level and "format: """ for the other, then loaded a scenario and switched between the two zoom levels to check if I could see the difference.

None. Zero. Zip. Nada. Absolutely NO difference between the two. The "italic" command works, though, oddly enough.[&:]




DeletedUser44 -> RE: Better unit font (12/21/2021 7:46:02 PM)

I am glad you found the font helpful.

Since then, UI scaling has been implemented in the game, as well as an improvement to font rendering.

I may have updated my configuration since then.

This is how I currently have it configured:

quote:

{
"FONT_MEDIUM" : { "active": "true", "id": "1", "name": "PT Root UI Bold", "size": "14", "format": "", "file": "", "desc" : "Medium Font - Common Header Font" },
"FONT_SMALL" : { "active": "true", "id": "2", "name": "PT Root UI Bold", "size": "10", "format": "", "file": "", "desc" : "Small Font - Common Game Font" },
"FONT_LARGE" : { "active": "true", "id": "3", "name": "PT Root UI Bold", "size": "18", "format": "", "file": "", "desc" : "Large Font - End Game Screen" },

"FONT_NARROW" : { "active": "true", "id": "4", "name": "PT Root UI Bold", "size": "10", "format": "", "file": "", "desc" : "Narrow Font - Top Right Menu date/turn" },

"FONT_UNIT" : { "active": "true", "id": "5", "name": "PT Root UI Bold", "size": "11", "format": "", "file": "", "desc" : "Unit Font - Unit Counters High Zoom" },
"FONT_UNIT_SMALL" : { "active": "true", "id": "6", "name": "PT Root UI Bold", "size": "9", "format": "", "file": "", "desc" : "Unit Font Small - Unit Counters Med Zoom" },

"FONT_MAIN_TAB" : { "active": "true", "id": "7", "name": "PT Root UI Bold", "size": "11", "format": "", "file": "", "desc" : "Top Menu Tab Font" },

"FONT_SMALL_BOLD" : { "active": "true", "id": "8", "name": "PT Root UI Bold", "size": "7", "format": "", "file": "", "desc" : "Unit Small Bold - Unit Counters Med Zoom and Commander's Report" },
"FONT_EDITOR" : { "active": "true", "id": "9", "name": "PT Root UI Bold", "size": "9", "format": "", "file": "", "desc" : "Editor Font" },
"FONT_CONSOLE" : { "active": "true", "id": "10", "name": "Lucida Console", "size": "9", "format": "", "file": "", "desc" : "Console Font - Event Logs" },
"FONT_MAP_11" : { "active": "false", "id": "11", "name": "", "size": "10", "format": "", "file": "", "desc" : "Reserved / Not used" },
"FONT_MAP_12" : { "active": "true", "id": "12", "name": "Cambria", "size": "11", "format": "bold", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_13" : { "active": "true", "id": "13", "name": "Cambria", "size": "13", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_14" : { "active": "true", "id": "14", "name": "Cambria", "size": "15", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_15" : { "active": "true", "id": "15", "name": "Cambria", "size": "17", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_16" : { "active": "true", "id": "16", "name": "Cambria", "size": "19", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_17" : { "active": "true", "id": "17", "name": "Cambria", "size": "21", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_18" : { "active": "true", "id": "18", "name": "Cambria", "size": "25", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_19" : { "active": "true", "id": "19", "name": "Cambria", "size": "29", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_20" : { "active": "true", "id": "20", "name": "Cambria", "size": "31", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_21" : { "active": "true", "id": "21", "name": "Cambria", "size": "33", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_22" : { "active": "true", "id": "22", "name": "Cambria", "size": "37", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_23" : { "active": "true", "id": "23", "name": "Cambria", "size": "41", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_24" : { "active": "true", "id": "24", "name": "Cambria", "size": "49", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_25" : { "active": "true", "id": "25", "name": "Cambria", "size": "53", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_26" : { "active": "true", "id": "26", "name": "Cambria", "size": "60", "format": "", "file":"", "desc":"Maptext for Large Areas: Sea / Sea Areas / Countries / Regions / Islands / Features" },
"FONT_MAP_27" : { "active": "true", "id": "27", "name": "Cambria", "size": "11", "format": "italic", "file":"", "desc":"Maptext for Small Areas: Towns / Cities / Lakes / Small Islands" },
"FONT_MAP_28" : { "active": "true", "id": "28", "name": "Cambria", "size": "11", "format": "italic", "file":"", "desc":"Maptext for Small Areas: Towns / Cities / Lakes / Small Islands" },
"FONT_MAP_29" : { "active": "true", "id": "29", "name": "Cambria", "size": "12", "format": "", "file":"", "desc":"Maptext for Small Areas: Towns / Cities / Lakes / Small Islands" },
"FONT_MAP_30" : { "active": "true", "id": "30", "name": "Cambria", "size": "13", "format": "", "file":"", "desc":"Maptext for Small Areas: Towns / Cities / Lakes / Small Islands" },
"FONT_MAP_31" : { "active": "true", "id": "31", "name": "Cambria", "size": "14", "format": "", "file":"", "desc":"Maptext for Small Areas: Towns / Cities / Lakes / Small Islands" },
"FONT_MAP_32" : { "active": "true", "id": "32", "name": "Cambria", "size": "14", "format": "bold", "file":"", "desc":"Maptext for Small Areas: Towns / Cities / Lakes / Small Islands" },
"FONT_MAP_33" : { "active": "true", "id": "33", "name": "Cambria", "size": "13", "format": "italic", "file":"", "desc":"Maptext for Terrain / Rivers " },
"FONT_MAP_34" : { "active": "true", "id": "34", "name": "Cambria", "size": "14", "format": "italic", "file":"", "desc":"Maptext for Terrain / Rivers " },
"FONT_MAP_35" : { "active": "true", "id": "35", "name": "Cambria", "size": "15", "format": "italic", "file":"", "desc":"Maptext for Terrain / Rivers " },
"FONT_MAP_36" : { "active": "true", "id": "36", "name": "Cambria", "size": "17", "format": "italic", "file":"", "desc":"Maptext for Terrain / Rivers " },
"FONT_MAP_37" : { "active": "true", "id": "37", "name": "Cambria", "size": "19", "format": "italic", "file":"", "desc":"Maptext for Terrain / Rivers " },
"FONT_MAP_38" : { "active": "true", "id": "38", "name": "Cambria", "size": "21", "format": "bold italic", "file":"", "desc":"Maptext for Terrain / Rivers " },
"FONT_MAP_39" : { "active": "true", "id": "39", "name": "Cambria", "size": "25", "format": "bold italic", "file":"", "desc":"Maptext for Terrain / Rivers " },
"FONT_MAP_40" : { "active": "true", "id": "40", "name": "Cambria", "size": "12", "format": "bold italic", "file":"", "desc":"Maptext for Terrain / Rivers "},
"FONT_EVENTS" : { "active": "true", "id": "50", "name": "Courier New", "size": "10", "format": "", "file":"", "desc":"Game Event Font" },
"FONT_EVENTS_BOLD" : { "active": "true", "id": "51", "name": "Courier New", "size": "10", "format": "bold", "file":"", "desc":"Game Event Font" },
"FONT_EVENTS_ITALIC" : { "active": "true", "id": "52", "name": "Courier New", "size": "10", "format": "italic", "file":"", "desc":"Game Event Font" },
"FONT_EVENTS_BOLD_ITALIC" : { "active": "true", "id": "53", "name": "Courier New", "size": "10", "format": "bold italic", "file":"", "desc":"Game Event Font" },
"FONT_EVENTS_LARGE" : { "active": "true", "id": "54", "name": "Courier New", "size": "14", "format": "bold", "file":"", "desc":"Game Event Font" },
"FONT_HEADER" : { "active": "true", "id": "55", "name": "PT Root UI Bold", "size": "9", "format": "", "file": "", "desc" : "Headert Font - small bold headers" },
"FONT_HEADER_SMALL" : { "active": "true", "id": "56", "name": "PT Root UI Bold", "size": "8", "format": "", "file": "", "desc" : "Header Font - bold headers" },
"FONT_AOG" : { "active": "true", "id": "57", "name": "PT Root UI Bold", "size": "10", "format": "", "file": "", "desc" : "SemiBold Font - AOG number values" }

}




MishaTX -> RE: Better unit font (12/22/2021 1:15:58 AM)

Thanks once again! Copied that and now everything looks better! [&o]




DeletedUser44 -> RE: Better unit font (12/22/2021 3:05:03 AM)

Excellent.

That is good news indeed.

Thank you for the update.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.609375