Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101652 - there is no mention of editing font paths in the xorg.conf file for using the newly installed fonts in the utf-8 guide
Summary: there is no mention of editing font paths in the xorg.conf file for using the...
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/utf-8.xml
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-07 09:31 UTC by David Cozatt
Modified: 2006-09-03 23:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch with the font path addition (utf-8.xml.patch,28.41 KB, patch)
2005-10-25 12:11 UTC, nm (RETIRED)
Details | Diff
the real patch (utf-8.xml.patch,1.26 KB, patch)
2005-10-25 12:18 UTC, nm (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Cozatt 2005-08-07 09:31:00 UTC
After following the utf-8 guide I was unable to run either eboard or xboard.
This turned ouyt to be a problem of not having the correct FontPath set in
xorg.conf I would suggest adding the correct paths to the suggested fonts to the
utf-8 guide. example:

 FontPath    "/usr/share/fonts/misc:unscaled"
   FontPath    "/usr/share/fonts/Type1"
   FontPath    "/usr/share/fonts/TTF"
   FontPath    "/usr/share/fonts/corefonts"
   FontPath    "/usr/share/fonts/freefont"
   FontPath    "/usr/share/fonts/sharefonts"
   FontPath    "/usr/share/fonts/terminus"
   FontPath    "/usr/share/fonts/ttf-bitstream-vera"
   FontPath    "/usr/share/fonts/unifont"
   FontPath    "/usr/share/fonts/75dpi:unscaled"
   FontPath    "/usr/share/fonts/100dpi:unscaled"
 or pointing to this doc
http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2005-08-07 14:47:32 UTC
many of those font paths shouldnt need to be listed ... but the x11 team would
know for sure

also, we dont link to gentoo-wiki.com
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-08-07 14:57:28 UTC
Yeah, the X config guide could use a little section on "How to add new fonts"
that talked about adding font paths to xorg.conf or using xfs. Note these are
only necessary for core fonts, which basically means old toolkits like gtk-1.
Then the UTF-8 guide could refer to it.

gtk-2+ and qt use client-side fonts, which are automatically detected in
fontconfig for anything installing to /usr/share/fonts. All our font packages
install there.
Comment 3 Shyam Mani (RETIRED) gentoo-dev 2005-09-22 22:13:11 UTC
Any mods to the docs needed here?
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-12 19:43:50 UTC
(In reply to comment #3)
> Any mods to the docs needed here?

See comment #2.
Comment 5 nm (RETIRED) gentoo-dev 2005-10-25 12:11:47 UTC
Created attachment 71441 [details, diff]
patch with the font path addition

Okay, I created a paragraph and a code example immediately after Code Listing
3.9. It shows how to set up xorg.conf with the right font paths after emerging
the [optional] font packages, as this is necessary.
Comment 6 nm (RETIRED) gentoo-dev 2005-10-25 12:18:09 UTC
Created attachment 71442 [details, diff]
the real patch

Oops. Submitted the wrong patch. This one is it!
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-25 12:37:01 UTC
I was alluding in comment #2 to a generic "Adding fonts" section in the
xorg.conf guide, which needs it anyway. Then the UTF-8 guide could refer to it,
rather than having new information that really belongs in the X guide.
Comment 8 nm (RETIRED) gentoo-dev 2005-10-26 19:19:25 UTC
(In reply to comment #7)
> I was alluding in comment #2 to a generic "Adding fonts" section in the
> xorg.conf guide, which needs it anyway. Then the UTF-8 guide could refer to it,
> rather than having new information that really belongs in the X guide.
Well, seeing as I'm currently writing a font HOWTO... see the progress at bug
#108642

Comment 9 nm (RETIRED) gentoo-dev 2006-09-03 23:32:41 UTC
Deprecated in favor of bug #108642 . Also, the font ebuilds in Portage take care of setting their paths and what have you, so the UTF8 fonts recommended in the guide don't need postconfiguration.