On 8/8/22 09:21, Cy Schubert wrote:
In message<0da4ac3d-7698-5c4d-625e-bddb07100...@radscan.com>, Jon Trulson writ es:
[...]
I've been playing around with 2.5.0 and with development commit 47cc5d4a7 (not that there's any difference at this point), the only issue I see are fonts used by traditional Xm and Xaw apps, like vim-motif, xmessage, and xfontsel (the only three I've tried now). The problem that each of these has is the fonts they display are blank. There is nothing output. I subsequently ran xfontsel with a -fn argument and discovered that under CDE 2.4.0, a number of fonts were not available. For example font selection "-dt-interface user-medium-r-normal-m sans-*-*-*-*-*-*-*-*" would select an English language font. While under 2.5.0 (and later) the font was Chinese. My hunch was that this is what was causing vim-motif, xmessage, and xfontsel (without the -fn argument) the issue. Looking at the available font registries, gb2312.1980 is now available while under 2.4.0 it was not. Manually editing the dt.resources file to change the font registry for all fonts to iso8859 resolved the problem. Nothing seemed to jump out at me when quickly looking through the git log. Though I suspect some other regression might have been fixed causing this. But that's just a hunch. Anyhow I managed to fix my problem by adding the following to the end of my dt.resources file: #include "/home/cy/.Xresources.cde-fonts" Which itself contains updates to the fonts listed in dt.resources (excuse the line breaks, my exmh2 MUA will likely split this up in some weird way): *XmText*FontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-is o8859-*: *DtEditor*textFontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-is o8859-*: *XmTextField*FontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-is o8859-*: *FontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-iso8859- *: *buttonFontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*- iso8859-*: *Font: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-* *systemFont: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-iso8859- *: *labelFontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-iso8859- *: *FontSet: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-* *textFontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-*: *userFont: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-*: Notice that I had changed the font registry selection from * to iso8859. This hack works for me but I suspect others may encounter this over the lifetime of 2.5.0. Of course gtk*, qt and other toolkits have no such problem because they don't use X resources like legacy apps and toolkits do.
Well, that's bad. I know some font changes went into CDE for 2.5.0. Can you open up a ticket?
-- Jon Trulson "The less you know, the more you believe." -- Bono
_______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel