[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Netscape menu fonts with X11?



I tend to avoid attachments but the following may be useful.

    /etc/X11/Xresources/netscape
    /etc/X11/Xresources/xfree86-common

Netscape font settings require setting both Netscape and general XClient
resources.


On Sat, Apr 22, 2000 at 03:41:02PM +0000, Marc Haber wrote:
> Hi,
> 
> my ancient notebook can only do 800x600 pixels. Netscape from potato
> uses large fonts for menu bar and dialog boxes, so that the
> preferences dialog doesn't fit on screen.
> 
> How can I make netscape use smaller fonts?
> 
> Greetings
> Marc
> 
> -- 
> -------------------------------------- !! No courtesy copies, please !! -----
> Marc Haber          |   " Questions are the         | Mailadresse im Header
> Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
> Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 

-- 
Karsten M. Self <kmself@ix.netcom.com>           http:/www.netcom.com/~kmself
    What part of "Gestalt" don't you understand?
    http://gestalt-system.sourceforge.net/
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0
!## NETSCAPE
Netscape*drawingArea.translations:      #merge\
        <Btn1Down>:                     ArmLink()       \n\
        <Btn2Down>:                     ArmLink()       \n\
        ~Shift<Btn1Up>:                 ActivateLink()  \n\
        ~Shift<Btn2Up>:                 ActivateLink(new-window)  \
                                        DisarmLink()    \n\
        Shift<Btn1Up>:                  ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        Shift<Btn2Up>:                  ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        <Btn1Motion>:                   DisarmLinkIfMoved()  \n\
        <Btn2Motion>:                   DisarmLinkIfMoved()  \n\
        <Btn3Motion>:                   DisarmLinkIfMoved()  \n\
        <Motion>:                       DescribeLink()  \n\
        <Btn3Down>:                     xfeDoPopup()    \n\
        <Btn3Up>:                       ActivatePopup() \n\
        Ctrl<Btn4Down>: PageUp()\n\
        Ctrl<Btn5Down>: PageDown()\n\
        Shift<Btn4Down>: LineUp()\n\
        Shift<Btn5Down>: LineDown()\n\
         None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
         None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
        Alt<Btn4Down>: xfeDoCommand(forward)\n\
        Alt<Btn5Down>: xfeDoCommand(back)\n
        Shift<Key>space:PageUp()\n\
        <Key>space:PageDown()\n\
        <Key>BackSpace: xfeDoCommand(back)\n\
!       <Key>Left: xfeDoCommand(back)\n\
!       <Key>Right: xfeDoCommand(forward)\n

Netscape*globalNonTextTranslations: #merge\
 Shift<Btn4Down>: LineUp()\n\
 Shift<Btn5Down>: LineDown()\n\
 None<Btn4Down>:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
 None<Btn5Down>:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
 Alt<Btn4Down>: xfeDoCommand(forward)\n\
 Alt<Btn5Down>: xfeDoCommand(back)\n
 Shift<Key>space:PageUp()\n\
 <Key>space: PageDown()\n\
! <Key>BackSpace: xfeDoCommand(back)\n\
!       <Key>Left: xfeDoCommand(back)\n\
!       <Key>Right: xfeDoCommand(forward)\n

# Restrict the range of size increments allowed by <font size=n> directives to 
# the range 80% - 120% rather than 50% - 210%.  Default increment is 20.
# KMSelf Wed Dec 29 15:47:57 PST 1999
Netscape*documentFonts.sizeIncrement:   05

# Clean up the fscking toolbar
Netscape*toolBar.search.isEnabled: false
Netscape*toolBar.destinations.isEnabled: false
Netscape*toolBar.myshopping.isEnabled: false
Netscape*toolBar.viewSecurity.isEnabled: false
Netscape*toolBar.print.isEnabled: true
Netscape*toolBar.home.isEnabled: true

# And some other brain damage
Netscape*useStdoutDialog: false
Netscape*useStderrDialog: false
Netscape*noAboutSplash: true

# Fonts -- dialogs and such
Netscape*attachmentProps*XmLabelGadget.fontList: fixed
Netscape*AddressBook*mainform.fontList:		 fixed 
Netscape*XmLGrid*fontList:			 fixed
Netscape*attachItemLabel*fontList:		 fixed
Netscape*prefs*fontList:			 fixed
Netscape*statusBar*fontList:			 fixed

# Document fonts -- scaling doesn't appear to take effect w/ TTF fonts
Netscape*documentFonts.defaultFont*iso-8859-1.prop: -ttf-garamond-120-noscale                                                                               
Netscape*documentFonts.defaultFont*iso-8859-1.fixed: -ttf-courier new-90-noscale


! /etc/X11/Xresources/xfree86-common

! load color-specific resources for clients that have them
#ifdef COLOR
*customization: -color
#endif

! make Xaw (Athena widget set) clients understand the delete key
! this causes problems with some non-Xaw apps, use with care
! *Text.translations: #override ~Shift ~Meta <Key>Delete: delete-next-character()

! Use fixed fonts for all menus and stuff.  Mostly affects Motif and 
! Lesstif apps.
*fontList:		fixed
*XmTextField.fontList:  fixed
*XmText.fontList:       fixed
*XmList*fontList:       fixed  
*popup*fontList:        fixed

Attachment: pgp9dF0xPQDm6.pgp
Description: PGP signature


Reply to: