[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3212.0. "Change font in Cardfiler?" by AIMHI::TINIUS (I didnt lose it, I just cant find it) Wed Aug 15 1990 17:32

I need to change the font used in the index and cards to one with fixed 
and not variable horizontal pitch. I need to cut and paste information from 
other screens into entries and have it retain vertical columns.

Who can help me?

Thanks,
Stephen
T.RTitleUserPersonal
Name
DateLines
3212.1look at decw$system_defaults:decw$cardfiler.datR2ME2::VANGILDERJim V., DECwindows ToolkitsThu Aug 16 1990 22:544
I don't know what the cardfiler's resource names are, but you
might get some ideas you can try by looking at its xdefaults.

3212.2Still need resource for card fontAIMHI::TINIUSI didnt lose it, I just cant find itWed Aug 22 1990 13:009
I was able to change the index font with

*VList.font:	-*-TERMINAL-MEDIUM-R-NORMAL--*-140-*-*

from some else's example, but I still need the TERMINAL font for the cards 
themselves. Whom can I ask to get this information?

Thanks,
Stephen
3212.3Recommended font specSTAR::VATNEPeter Vatne, VMS DevelopmentWed Aug 22 1990 14:158
>*VList.font:	-*-TERMINAL-MEDIUM-R-NORMAL--*-140-*-*

This is off the subject, but I must point this out when I see it:
please use full XLFD font names in any program or resource file.
A full XLFD font name will always have fourteen hyphens.  In your
case, I recommend changing the font spec to:

*VList.font:	-*-TERMINAL-MEDIUM-R-NORMAL--*-140-*-*-*-*-ISO8859-1
3212.4Try setting the CardfilerCard*cardmainwindow.card_workarea*fontYRDARM::finneganNeal, DECdecision - mail to: via::finneganTue Aug 28 1990 13:304
The resource file in decw$system_defaults shows examples of color, just
substitue font.

Neal
3212.5AIMHI::TINIUSI didnt lose it, I just cant find itThu Aug 30 1990 18:009
Thanks, Neal, that was the tip I needed.

Cardfiler*indexmainwindow.index_workarea*font: 
	-*-TERMINAL-MEDIUM-R-NORMAL--*-140-*-*-*-*-ISO8859-1

CardfilerCard*cardmainwindow.card_workarea*font: 
	-*-TERMINAL-MEDIUM-R-NORMAL--*-140-*-*-*-*-ISO8859-1

Stephen
3212.6meta question about changing fontsLEVEL::OSMANsee HANNAH::IGLOO$:[OSMAN]ERIC.VT240Tue Oct 16 1990 09:2539
I've got a similar problem, and am looking for both
SPECIFIC information and more GENERAL information.

The SPECIFIC information I seek is how do I change
DECWindow MAIL's fonts ?

I've gotten a partial answer.  That is, I can change
the DECW$MAIL.DAT file and put in lines such as:

MailRead*readWindow*envelopeText.font:	-*-Terminal-Medium-R-Normal--18-*-*-*-*-*-ISO8859-1
MailRead*readWindow*messageText.font:	-*-Terminal-Medium-R-Normal--18-*-*-*-*-*-ISO8859-1
MailSend*sendWindow*workArea.font:	-*-Terminal-Medium-R-Normal--18-*-*-*-*-*-ISO8859-1
MailSend*sendWindow*workArea*DwtText.font:	-*-Terminal-Medium-R-Normal--18-*-*-*-*-*-ISO8859-1
Mail.mailDrawer.font:	-*-Terminal-Medium-R-Normal--18-*-*-*-*-*-ISO8859-1

These lines succeed in changing all BUT the directory window fonts.

So, SPECIFICALLY, I'd like to know how to change the directory window
fonts in MAIL.

But more GENERALLY, how do I determine for an application what its
resource names are so I know WHAT to type in the .DAT file to change
its fonts ?

Perhaps even more GENERALLY, wouldn't it be nice to give the user a
convenient menu of fonts with each application ?

For example, in my case, and presumably in a number of other user's
situations, I find the default fonts TOO SMALL and I want to change
all my applications to use larger fonts.

So, once someone explains to me how to figure out the magic resource
names for any application, I'll change my DECwindows NOTES fonts to
be larger and my DECwindows MAIL fonts to be larger for starters.

Thanks muchly for any clues !

/Eric
3212.7CLTMAX::dickSchoeller - Failed XperimentTue Oct 16 1990 10:4826
Eric,

For various reasons, previously stated, VMS DECwindows does not document its
resources.  However, there are some things you can do to figure it all out.

1) For the most part, the widget classes are identifiable visually.
2) The resources for the widget classes are documented in the DECwindows
    programmer documentation.
3) The toplevel shells in many applications can be identified with an
    application that walks the window tree and displays window resource
    class and name for windows.

By doing this, many of the widgets can be customized by class.  This will not
get everything.  Asking questions in this conference can get you more details.
In the case of DECW$MAIL, the directory of messages is an SVN widget.  Pointers
to the documentation for SVN can be found in CLT::SVN.

As to the support for font customization, most UI developers agree that there
is room for improvement in almost all visual attribute customization.  However,
as long as there are missing pieces of key functionality and major outstanding
bugs, this will be low priority.

If you want to see one reasonable approach to this sort of customization, take
a look at DECW$NOTEPAD which has a font selector for the main editing window.

Dick