Announcement

Collapse
No announcement yet.

Fonts in XEmacs, would like same as in KDE

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fonts in XEmacs, would like same as in KDE

    XEmacs is one of my favorite applications, and I use it a lot.
    However, after installing 11.4 natty, I can no longer find a good font to use as default.
    It seems like there is no mono-space sanserif X11-font available for 11.4,
    that has regular, bold, and italic variants. I end up with a large, unreadable Courier font.

    Does anyone know a font to specify?

    Ideally, I would like to automatically use the font specified in
    System Settings->Application Appearance->Fonts->Fixed Width,
    which I have currently set to Monospace 9, but I don't know how to specify this as an X11-font.

    Can the KDE fonts be used with XEmacs?

    Thanks.
    stein

    #2
    Re: Fonts in XEmacs, would like same as in KDE

    I use Emacs 23, maybe the problem and the solution can be the same. The default mono font for Emacs 23 is DejaVu Sans Mono, you can try it, I use it in Windows. In Kubuntu I chose font Inconsolata (it must be installed from repository). Inconsolata won for example here: http://hivelogic.com/articles/top-10-programming-fonts/. There is no Italic for it, so I use DejaVu Sans Mono for Italic. See the picture of my Emacs
    Attached Files
    Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

    Comment


      #3
      Re: Fonts in XEmacs, would like same as in KDE

      Thanks.
      I tried to install the Inconsolata font, but I did not get it to work.

      Here is what i tried:
      After installing the font, I installed xfstt to access it in X11.
      # xfstt --sync
      # /etc/init.d/xfstt start
      % xset fp+ unix/:7101
      % xfontsel

      I would expect the Inconsolata font to show up in the font list, so I could copy its name to the app-defaults file, but it did not (some other ttf-fonts did, though).

      Also, xfontsel seems to randomly crash the machine...

      What did I do wrong?

      Comment


        #4
        Re: Fonts in XEmacs, would like same as in KDE

        The easiest way is to type in console
        Code:
        $ sudo apt-get install ttf-inconsolata
        to install it from repository.

        The second way is to download inconsolata.otf from http://www.actsofvolition.com/archiv...er/inconsolata and to install it in System Settings > Font installer.

        Then Inconsolata can be seen in the font list (not ttf-inconsolata) and it is accesible in Emacs Customize.

        I have never seen commands you described.
        Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

        Comment

        Working...
        X