1833051 Members
2332 Online
110049 Solutions
New Discussion

Re: change CDE fonts ?

 
SOLVED
Go to solution
Tim Howell
Frequent Advisor

change CDE fonts ?

How can I change the "default" font for the CDE desktop? When using dtterm etc, I want zero's to appear with slashes through them like they did on VUE, not the dot in the middle they have now. I tried looking on docs.hp.com, but didn't find much help, only some rambling about setting fonts per application that didn't seem to work...

{HP-UX 11.11}
if only we knew...
5 REPLIES 5
bhavin asokan
Honored Contributor

Re: change CDE fonts ?

hi,
i am not sure.can you see a icon (having TTT some dots of different colours) on the bottom tab of screen.double click on that icon.it will open a new tab for the settings of fonts,colours,etc.i think you can change font there.

regds,
Tim Howell
Frequent Advisor

Re: change CDE fonts ?

Thanks, but I can only change the size there, not the font style (courier, roman ,etc)
if only we knew...
Christian Deutsch_1
Esteemed Contributor
Solution

Re: change CDE fonts ?

Dear Tim,

This is what you are after:

Change some X resources, e.g.:

*Font: -bitstream-prestige-medium-r-normal--26-171-110-110-m-140-iso8859-1
*FontList: -bitstream-swiss 742-medium-r-normal--23-196-85-85-p-133-iso8859-1
*systemFont: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
*userFont: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:

In case you didn't know: to find the fonts available to you you can run:

/usr/bin/X11/xlsfonts

To integrate the new font into your running session, put your font specifications into a file and run:

/usr/bin/X11/xrdb -m < [your file]

Kind regards, Christian
Yeshua loves you!
Tim Howell
Frequent Advisor

Re: change CDE fonts ?

Thanks Christian. You answered my question, but now the problem has proved to be something other my specific question. When some fonts are small (i.e. schumaker-clean 9 point) there is a slash through the zero. However when the size is increased to 12 or so, the slash is not there. Still with other fonts( bitstream-terminal), the slash is replaced with the highly offensive dot when enlarged. Is there not a "terminal" font (that actually works) that looks the same as the traditional dec vt100 font? Some have that in the name, but they are all virtually unreadable(?). (I recently swithced from an Entria to an Entria II X terminal, so I now have to use the font server on HP-UX. The old Entria had builtin ROM fonts which provided the terminal font I am used too)
Thanks;
if only we knew...
Christian Deutsch_1
Esteemed Contributor

Re: change CDE fonts ?

Dear Tim,

Glad to be of service to you.

Regarding zeroes with dots and slashes, well I'm sorry, I'm not an expert in that area. Most of the time I use large fonts and if I should ever find one with a / or . in the 0 (I don't remember this off-hand) then I might switch to another font.

So, sorry, can't help you much with that one.

If that's so important for you, you could invest some effort to porting a font from another platform. Theoretically it should be possible to port fonts from any other X-server to the HP X server but I admit that I never tried this. Also, maybe Gnome for HP-UX (which is free) includes some fonts under /opt/gnome/share/ but I never tried to play with them or explicitly use them (I have been using Gnome 1.4 on HP-UX for a couple of years now).

Kind regards, Christian
Yeshua loves you!