CDE differs from common X11 practice in a couple of ways:

1) iso10646-1 fonts are not used for full Unicode coverage; rather, font lists 
(multiple fonts each covering different locales or encodings) are used.  That 
may be a Motif limitation; at any rate, Motif seems to include a number of 
functions for working with font lists.

I see some of the font list definitions in places like
/usr/dt/config/en_US.UTF-8/sys.font
/usr/dt/config/en_US.UTF-8/sys.resources

although some of those have to be consistent with certain app-defaults files, 
too.  Those files will exist for each supported locale.


2) CDE expects the existance of fonts (or more likely font aliases) with X 
Logical Font Description (XLFD - 
https://en.wikipedia.org/wiki/X_logical_font_description) names with the 
foundry name "dt" and the family names "application", "interface system", and 
"interface user".  One might expect that the window manager (dtwm) in 
particular uses the "interface system" fonts.

Those names would match the patterns
-dt-application-*-*-*-*-*-*-*-*-*-*-*-*
-dt-interface system-*-*-*-*-*-*-*-*-*-*-*-*
-dt-interface user-*-*-*-*-*-*-*-*-*-*-*-*

On Solaris, for most iso8859-# fonts, these are aliases to appropriate Lucida 
Sans or Lucida Sans Typewriter fonts.

Most likely you'd have to install those fonts (if you didn't already have 
them), and find the aliases (fonts.alias files in various directories on the 
font path) and alter them to use the fonts you desired.  This is NOT going to 
be easy to get right, since whatevre is there has been picked to be more or 
less compatible among the members of a font list.  It's not likely to just be 
one magic toggle in other words, but a fair amount of work.

(The Lucida family of fonts were designed to be readable under less than ideal 
conditions, like small sizes or low resolutions.  The choice of them is just 
one of a number of ways in which Sun put quite a lot of work into CDE, 
generally making it better than the vanilla version.  For example, generic 
dtmail IMAP support does not appear to work, but it does work (with limitations 
perhaps) on Sun's version.)

IF you already have a system running Solaris 10 or earlier, you could do this a 
lot more easily, by making sure it was running the X font server, and having 
your other systems put first on their font path a reference to that X font 
server.  That's also the way to easily get display-back of applications to look 
right, without having to install all the fonts on the system to which one is 
displaying back.

> On Mar 20, 2016, at 21:11, jz78...@comcast.net wrote:
> 
> Hi, 
> 
> this is probably a n00b question, but I'm pretty short on knowledge of X font 
> naming.  Can anyone tell me what I should do if I want to change my build of 
> CDE to use sans-serif fonts in title bars, menus, etc. like the later 
> versions of Solaris?
> 
> thank you,
> Jim
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140_______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to