Dual Font Support #4267
Comments
wuz21m uploaded file |
wuz21m commented This patch is based on discussions here: forums.wz2100.net/viewtopic.php?f=33&t=11954 Here are two catches: |
stiv changed blocking which not transferred by tractive |
stiv changed blockedby which not transferred by tractive |
stiv commented If both are missing, an awful looking fallback that is neither is used. Why are we using an 'awful' font for the fallback? |
wuz21m changed _comment0 which not transferred by tractive |
wuz21m commented It is the default chosen by GLC I believe. |
wuz21m uploaded file |
wuz21m changed _comment0 which not transferred by tractive |
wuz21m commented As vexed correctly asserted. Trying to change font sizes or fonts is pretty cumbersome with the current system. I went ahead and wrote a large patch. This patch, does the following: These are the summary of code changes: -It return "" when "system default" is picked. We need the actual language (e.g. Russian, English). 2- Added a new config file at fonts/font.cfg. Its structure assigns a font and font size per locale. I will be very happy to get any feedback. |
vexed commented No, haven't looked at this yet, but, this should be a patch for master (3.1 is feature locked), although, we can use the new font files for 3.1. |
wuz21m changed _comment0 which not transferred by tractive |
wuz21m commented Based on suggestion from cybersphinx, I split the patch into multiple patch files so they could be reviewed more easily. This is a survey of the patches: i18n.patch -> Changes to the internationalization package wrf.patch -> additions to the wrf file and respective changes in data.cpp text_interface.patch -> Changes to how textdraw is configured from outside textdraw.patch -> the real deal, changes to textdraw.cpp I think that's all! |
wuz21m uploaded file |
wuz21m uploaded file |
wuz21m uploaded file |
wuz21m uploaded file |
vexed changed status from |
vexed changed resolution from `` to |
vexed commented I know we have changed font rendering engines since this ticket was made, and it seems this got lost, and wouldn't apply anymore. Is this still an issue or is something that is needed? |
resolution_Requesting more information about issue
type_patch (an actual patch, not a request for one)
| by wuz21mThis patch adds Xolonium Bold 24p for Bold(Main Menu) and Exo 2 15p Regular for Regular (everywhere else).
GLC fallback still works. Appropriate error messages are generated when a font is missing.
If both are missing, an awful looking fallback that is neither is used.
If Exo2 is missing, Xolonium is used everywhere.
If Xolonium is missing, Exo2 is used everywhere.
Issue migrated from trac:4267 at 2022-04-16 11:48:11 -0700
The text was updated successfully, but these errors were encountered: