In message <0da4ac3d-7698-5c4d-625e-bddb07100...@radscan.com>, Jon Trulson 
writ
es:
> This is a multi-part message in MIME format.
> --===============7390826896849760103==
> Content-Type: multipart/alternative;
>  boundary="------------DVdK9G0r06kfW69q0DCuW6Tm"
> Content-Language: en-US
>
> This is a multi-part message in MIME format.
> --------------DVdK9G0r06kfW69q0DCuW6Tm
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding: 8bit
>
> On 8/5/22 23:17, Cy Schubert wrote:
> > I've updated the CDE ports/packages in FreeBSD. The changes are:
> >
> > x11/cde is now x11/cde-24.
> >
> > We have a new x11/cde metaport that is merely a pointer to x11/cde-24,
> > until I'm comfortable to replace cde 2.4.0 with 2.5.0.
> >
> > A new x11/cde-25 port/package installs CDE 2.5.0. There is an option (when
> > building it by hand) to allow it to install side-by-side with x11/cde-24.
> > I've been using this myself prior to commit to allow me to kick the tires,
> > so to speak, while being able to easily fall back to 2.4.0 if need be.
> >
> > I've added a new x11/cde-devel port. I'm cloning the cdedesktopenv-code git
> > repo on sourceforge onto github which allows me to use the github plumbing
> > in the FreeBSD ports infrastructure. The cde-devel port will be available
> > for those adventurous users who want to use the bleeding edge CDE. I
> > typically try to update my -devel ports once a week. Failing that no longer
> > than a month.
> >
> > All these changes will become FreeBSD binary packages in 2022Q4.
> >
> > Hopefully people will find these additions of some benefit.
>
> I suspect so :)  Thanks!

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.


-- 
Cheers,
Cy Schubert <cy.schub...@cschubert.com>
FreeBSD UNIX:  <c...@freebsd.org>   Web:  http://www.FreeBSD.org
NTP:           <c...@nwtime.org>    Web:  https://nwtime.org

                        e**(i*pi)+1=0




_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to