[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

175.0. "Changing Fonts in DECwindows" by MSDOA::MALLEY (MIKE ALLEY @KXO) Fri Feb 10 1989 11:38

    Help.  I am feel like I am getting deeper and deeper into the forest.
    
    I have had several customers ask how to change font sizes within
    DECwindow windows.  I am sure there is a simple answer, but the
    more stuff I see about this the more I get confused.
    
    Here is what I think I understand.  Please tell me if I am all wet
    and what the right answers are....
    
    - For DECterm windows, the users can use the pull down menu to change
    the font size either 12 or 18 point.  Are there any other fonts
    available or any other ways of doing this?
    
    - If the customer has applications that they write, they can use
    the Xlib functions for querying the current font being used and
    for loading fonts.  (As described in note 56.x)
    
    - What about for DEC products that run under DECwindows??  Is that
    dependent on the various Product Groups??
    
    - What about customizing VUE??  Is that required?  Is that done
    with the DECW$SM_GENERAL.DAT file??
    
    - Is there something different I need to do on a VMS DECwindows
    system as opposed to an ULTRIX DECwindows system??  
    
    I know this is a lot of stuff, but as you can tell I am somewhat
    confused.  
    
    This is a major issue with more that one customer.  If there is
    some document that has this info in it, let me know and I will read
    it.  I just haven't found anything.
    
    Thanks for any help you can give!!!!
    
    Mike Alley

T.RTitleUserPersonal
Name
DateLines
175.1try CourierREORG::ROGOFFZen Software DocumentationFri Feb 10 1989 13:3751
Add this to your DECW$TERMINAL_DEFAULT.DAT file:

DECW$TERMINAL.main.terminal.bigFontSetName:	-*-Courier-*-*-*--*-180-*-*-*-*-*-*
DECW$TERMINAL.main.terminal.littleFontSetName:	-*-Courier-*-*-*--*-140-*-*-*-*-*-*

Courier seems to be the only alternative font that works. Here's some
info from the DECterm notes conference:

                <<< HANNAH::DECW$DISK:[PUBLIC]DECTERM.NOTE;1 >>>
                       -< DECwindows Terminal Emulation >-
================================================================================
Note 178.1      Is there a 'supported'method for changing fonts?          1 of 1
VIDEO::MESSENGER                                     11 lines  25-AUG-1988 11:23
                    -< No supported way, but here's a hint >-
--------------------------------------------------------------------------------

There is no "supported" way of choosing a font other than the "big" and
"little" fonts (in normal and condensed widths), because we're not going
to support users editing their xdefaults.dat or saved custoimization files.
The unsupported way to change the fonts is to change the bigFontSetName and
littleFontSetName resources; these should be set to patterns for the font
names (not file names) of the fonts you want to use.  DECterm expects the
fonts you provide to be part of a 12 font set (for normal, double wide etc).
If it can't find a font in a set it falls back to using the unattributed
font you named.

				-- Bob

                <<< HANNAH::DECW$DISK:[PUBLIC]DECTERM.NOTE;1 >>>
                       -< DECwindows Terminal Emulation >-
================================================================================
Note 178.3      Is there a 'supported'method for changing fonts?          3 of 3
HANNAH::MESSENGER "Bob Messenger"                    14 lines  26-JAN-1989 22:35
                            -< Here's what you do >-
--------------------------------------------------------------------------------

Re: .2

The biggest problem is getting the fonts.  To get the default big (18 point)
and little (14 point) fonts you'd put this in one of your resource files:

DECW$TERMINAL*bigFontSetName: -*-Terminal-*-*-*--*-180-*-*-*-*-*-*
DECW$TERMINAL*littleFontSetName: -*-Terminal-*-*-*--*-140-*-*-*-*-*-*

There's no in point doing this, though, because those are the defaults.  The
fontSetSelection resource determine which of these fonts is active: 0 for the
big font and 1 for the little font.  Normally you'd just select the font you
want in Customize/Window and then Save Current Settings.

				-- Bob

175.2STAR::KLEINSORGEToys &#039;R&#039; UsFri Feb 10 1989 20:424
    The DECterm fonts are organized in a very specific manner and so only
    the monospaced fonts provided by DECterm will work (or work right).
    

175.3What about other applications, like Mail, Notes etc...RBW::WICKERTMAA DIS ConsultantThu Feb 16 1989 13:507
Ok, that explains DECterm but what about other applications such as Mail 
and Notes.  I find it very tiring to read my mail using the default fonts used
by Mail under DECwindows...

-Ray

175.4Bookreader font in Mail Read window...XUI::VANNOYJake VanNoyThu Feb 16 1989 14:283
MailRead*readWindow*messageText.font:   -ADOBE-New Century Schoolbook-Medium-R-N
ormal--*-140-*-*-P-*-ISO8859-1

175.5I use this: remember you need to adjust width to account for a larger fontSTAR::BECKPaul BeckThu Feb 16 1989 18:2021
! Mail read window
MailRead.x:					200
MailRead.y:					100
MailRead.width:					755
MailRead.height:				600
MailRead*readWindow*wordWrap:			on
MailRead*readWindow*envelopeText.rows:		5
MailRead*readWindow*messageText.rows:		21
MailRead*readWindow*messageText.font:		-Adobe-COURIER-MEDIUM-R-NORMAL--*-140-*-*-M-*-ISO8859-1
!
! Mail send window
MailSend.x:					5
MailSend.y:					200
MailSend.width:					754
MailSend.height:				475
MailSend*sendWindow*messageText.rows:		22
MailSend*sendWindow*messageText.wordWrap:	on
MailSend*sendWindow*messageText.resizeWidth:	off
MailSend*sendWindow*workArea*font:		-Adobe-COURIER-MEDIUM-R-NORMAL--*-140-*-*-M-*-ISO8859-1
MailSend*sendWindow*messageText.font:		-Adobe-COURIER-MEDIUM-R-NORMAL--*-140-*-*-M-*-ISO8859-1

175.6GOSOX::RYANDECwindows MailFri Feb 17 1989 08:375
	One place to look is each application's system-wide resource file
	 -  for example, for Mail check out DECW$SYSTEM_DEFAULTS:DECW$MAIL.DAT.

	Mike