help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: squares in buffer instead of utf-8 characters


From: Karl Hegbloom
Subject: Re: squares in buffer instead of utf-8 characters
Date: Wed, 25 Apr 2007 21:46:36 -0600

Here's the ~/.Xresources file that I'm using.  Hope this helps.

!!! ~/.Xresources
!!!
!!! The use of `flyspell-mode' will help ensure that resource names are not 
misspelled.
!!! It still highlights the second occurrence of a double word word... 
-dejavu-dejavu  :-)
!!! To have it always on , you can put `flyspell-mode' into your 
`xrdb-mode-hook'.
!!!
!!!
!!! Resources for class "Emacs".  See: info(emacs) Resources X
!!!

#include "/etc/X11/Xresources/x11-common"


#define UIFONT         -dejavu-dejavu sans 
mono-medium-r-normal-*-*-100-*-*-m-*-iso8859-1
#define UIBACKGROUND1  gray15
#define UIBACKGROUND2  gray25
#define UIFOREGROUND   white
#define UIHIGHLIGHT    yellow

#define TEXTFONT           -dejavu-dejavu sans 
mono-medium-r-normal-*-*-100-*-*-m-*-iso8859-1
#define BOLDFONT           -dejavu-dejavu sans 
mono-bold-r-normal-*-*-100-*-*-m-*-iso8859-1
#define ITALICFONT         -dejavu-dejavu sans 
mono-medium-o-normal-*-*-100-*-*-m-*-iso8859-1
#define BOLDITALICFONT     -dejavu-dejavu sans 
mono-bold-o-normal-*-*-100-*-*-m-*-iso8859-1
#define FIXEDPITCHFONT     -dejavu-dejavu sans 
mono-medium-r-normal-*-*-100-*-*-m-*-iso8859-1
#define VARIABLEPITCHFONT  -dejavu-dejavu 
sans-medium-r-normal-*-*-100-*-*-p-*-iso8859-1

#define TEXTBACKGROUND  black
#define TEXTFOREGROUND  white



     *Emacs.Title: Emacs21
*Emacs.BitmapIcon: on
      *Emacs.Font: TEXTFONT
   *Emacs.MenuBar: 1
   *Emacs.ToolBar: 0
*Emacs.ScrollBars: off



!!!
!!! Lucid Widget Resources for class "Emacs".  See:  info(emacs) Lucid Resources
!!!
            *Emacs*pane.menubar.font: UIFONT
      *Emacs*pane.menubar.background: UIBACKGROUND1
      *Emacs*pane.menubar.foreground: UIFOREGROUND
*Emacs*pane.menubar.buttonForeground: UIHIGHLIGHT

            *Emacs*menu*font: UIFONT
      *Emacs*menu*background: UIBACKGROUND1
      *Emacs*menu*foreground: UIFOREGROUND
*Emacs*menu*buttonForeground: UIHIGHLIGHT

            *Emacs*dialog*font: UIFONT
      *Emacs*dialog*background: UIBACKGROUND1
      *Emacs*dialog*foreground: UIFOREGROUND
*Emacs*dialog*buttonForeground: UIHIGHLIGHT



!!!
!!! Default Faces
!!!
            *Emacs*default.attributeFont: TEXTFONT
      *Emacs*default.attributeBackground: TEXTBACKGROUND
      *Emacs*default.attributeForeground: TEXTFOREGROUND
       *Emacs*default.attributeUnderline: false
   *Emacs*default.attributeStrikeThrough: false
        *Emacs*default.attributeOverline: false
             *Emacs*default.attributeBox: false
         *Emacs*default.attributeInverse: false
         *Emacs*default.attributeStipple: false
*Emacs*default.attributeBackgroundPixmap: false

          *Emacs*bold.attributeFont: BOLDFONT
        *Emacs*italic.attributeFont: ITALICFONT
   *Emacs*bold-italic.attributeFont: BOLDITALICFONT
   *Emacs*fixed-pitch.attributeFont: FIXEDPITCHFONT
*Emacs*variable-pitch.attributeFont: VARIABLEPITCHFONT

!!!
!!! User Interface Faces
!!!
      *Emacs*menu.attributeFont: UIFONT
*Emacs*menu.attributeBackground: UIBACKGROUND1
*Emacs*menu.attributeForeground: UIFOREGROUND

*Emacs*scroll-bar.attributeBackground: UIBACKGROUND2
*Emacs*scroll-bar.attributeForeground: UIFOREGROUND
*Emacs*tool-bar.attributeBackground: UIBACKGROUND2
*Emacs*tool-bar.attributeForeground: UIFOREGROUND

      *Emacs*mode-line.attributeFont: UIFONT
*Emacs*mode-line.attributeBackground: UIBACKGROUND1
*Emacs*mode-line.attributeForeground: UIFOREGROUND

       *Emacs*tabbar-default-face.attributeFont: UIFONT
 *Emacs*tabbar-default-face.attributeBackground: UIBACKGROUND1
 *Emacs*tabbar-default-face.attributeForeground: UIFOREGROUND
*Emacs*tabbar-selected-face.attributeForeground: UIHIGHLIGHT



!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!
!!! Resource Settings for Other Software
!!!


!!!
!!! XDvi
!!!
            *XDvi*background: white
 *XDvi*statusline.background: skyblue
  *XDvi*Composite.background: gray25
       *XDvi*List.background: gray75
 *XDvi*MenuButton*background: skyblue
 *XDvi*MenuButton*foreground: black
*XDvi*MenuButton*borderColor: darkblue
 *XDvi*SimpleMenu*background: skyblue
 *XDvi*SimpleMenu*foreground: black
*XDvi*SimpleMenu*borderColor: darkblue

!!!
!!! Editres
!!!
 *Editres*MenuButton*background: skyblue
 *Editres*MenuButton*foreground: black
*Editres*MenuButton*borderColor: darkblue
 *Editres*SimpleMenu*background: skyblue
 *Editres*SimpleMenu*foreground: black
*Editres*SimpleMenu*borderColor: darkblue


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!
!!! Local Variables:
!!! mode: xrdb
!!! End:
!!!
!  LocalWords:  attributeFont attributeBackground attributeForeground dejavu 
Xresources iso menubar
!  LocalWords:  xrdb buttonForeground modeline emacs MenuButton SimpleMenu XDvi
!  LocalWords:  Editres skyblue borderColor darkblue ViewPort statusline tabbar
!  LocalWords:  MenuBar ToolBar ScrollBars attributeUnderline attributeOverline
!  LocalWords:  attributeStrikeThrough attributeBox attributeInverse BitmapIcon
!  LocalWords:  attributeStipple attributeBackgroundPixmap UIFONT UIBACKGROUND
!  LocalWords:  UIFOREGROUND UIHIGHLIGHT TEXTFONT BOLDFONT ITALICFONT
!  LocalWords:  BOLDITALICFONT FIXEDPITCHFONT VARIABLEPITCHFONT TEXTBACKGROUND
!  LocalWords:  TEXTFOREGROUND

reply via email to

[Prev in Thread] Current Thread [Next in Thread]