Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Emacs cannot display font correctly [Solved]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
gamedragon
n00b
n00b
User avatar
Posts: 65
Joined: Thu Apr 15, 2004 4:55 pm

Emacs cannot display font correctly [Solved]

  • Quote

Post by gamedragon » Sat Apr 17, 2004 10:20 am

I've emerged xorg-x11 as X server and XFCE-4 as desktop enviroment. After that I've emerged emacs. But when I execute emacs under X, it cannot display normal font, there are all the hollow square in the window.

I thought emacs need the support of some font server, but which font server supports emacs?

This is relative part in my xorg.conf file:

Code: Select all

Section "Files"
  #FontPath   "unix:/_1"
  FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    .........
EndSection

Section "Module"
  Load   "dbe"
  Load   "type1"
  Load   "freetype"
  Load   "glx"
EndSection
Last edited by gamedragon on Sun Apr 18, 2004 3:31 pm, edited 1 time in total.
Top
monotux
l33t
l33t
User avatar
Posts: 751
Joined: Tue Sep 09, 2003 4:18 pm
Location: Stockholm, Sweden
Contact:
Contact monotux
Website

  • Quote

Post by monotux » Sat Apr 17, 2004 1:23 pm

I have the same problem.

Haven't found any true solution, but I use xemacs instead :-)
Computer science is no more about computers than astronomy is about telescopes.
Top
kosine
n00b
n00b
Posts: 57
Joined: Thu Oct 02, 2003 5:00 pm

I had some problem before, the fonts in Emacs are square

  • Quote

Post by kosine » Sat Apr 17, 2004 2:04 pm

Your font directory in xorg.conf
is not correct, It should be /usr/share/fonts/ ......
not like XFee86's /usr/X11/....

you may need to emerge corefonts or other fonts in media-fonts/
again.

here is part of xorg.conf

FontPath "/usr/share/fonts/"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/truetype/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/baekmuk"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/ttf"
FontPath "/usr/share/fonts/ukr"
Top
ett_gramse_nap
Apprentice
Apprentice
User avatar
Posts: 252
Joined: Wed Oct 01, 2003 6:54 am
Location: Göteborg, Sweden

  • Quote

Post by ett_gramse_nap » Sat Apr 17, 2004 3:29 pm

Code: Select all

<offtopic type="flame">emacs cannot display <strong>anything</strong> correctly</offtopic>
Don't bother!
Top
gamedragon
n00b
n00b
User avatar
Posts: 65
Joined: Thu Apr 15, 2004 4:55 pm

  • Quote

Post by gamedragon » Sat Apr 17, 2004 4:59 pm

I've changed the font path, but it stll doesn't work. There are still no correct charactors in the window :(

which corefont should I emerge?
Top
gamedragon
n00b
n00b
User avatar
Posts: 65
Joined: Thu Apr 15, 2004 4:55 pm

  • Quote

Post by gamedragon » Sun Apr 18, 2004 3:30 pm

Solved by

Code: Select all

USE="-motif" emerge emacs
Top
skizza
n00b
n00b
Posts: 16
Joined: Sun Jan 11, 2004 2:49 am

  • Quote

Post by skizza » Thu Jul 27, 2006 10:44 pm

The problem for me apeared to be the font paths in /etc/X11/xorg.conf.

check that the font paths they reffer to exist

this sets of fonts works fine for me

Code: Select all

        FontPath        "/usr/share/fonts/util"
        FontPath        "/usr/share/fonts/encodings"
        FontPath        "/usr/share/fonts/misc"
        FontPath        "/usr/share/fonts/local"
        FontPath        "/usr/share/fonts/corefonts"
        FontPath        "/usr/share/fonts/default"
        FontPath        "/usr/share/fonts/default/ghostscript"
        FontPath    "/usr/share/fonts/75dpi/:unscaled"
        FontPath    "/usr/share/fonts/100dpi/:unscaled"
        FontPath    "/usr/share/fonts/Type1/"
        FontPath    "/usr/share/fonts/TTF/"
        FontPath    "/usr/share/fonts/CID/"
        FontPath    "/usr/share/fonts/Speedo/"
        FontPath    "/usr/share/fonts/75dpi/"
        FontPath    "/usr/share/fonts/100dpi/"
# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.
    ModulePath "/usr/lib/modules"
cheers
Top
Post Reply

7 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic