public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /usr/share/fonts/TTF doesn't exist
@ 2006-07-12 14:02 Ozan Enginoglu
  2006-07-12 17:14 ` Richard Fish
  0 siblings, 1 reply; 8+ messages in thread
From: Ozan Enginoglu @ 2006-07-12 14:02 UTC (permalink / raw
  To: gentoo-user

Hi,

I was trying to enable antialiasing following the tutorial from
gentoo-wiki but i figured out that my TTF directory doesn't exist. I
installed xorg-x11 with global "bitmap-fonts truetype-fonts
type1-fonts". So i don't know where did i do wrong.

Link of the tutorial is "http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts"

Thanks

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] /usr/share/fonts/TTF doesn't exist
  2006-07-12 14:02 [gentoo-user] /usr/share/fonts/TTF doesn't exist Ozan Enginoglu
@ 2006-07-12 17:14 ` Richard Fish
  2006-07-12 17:47   ` Donnie Berkholz
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Fish @ 2006-07-12 17:14 UTC (permalink / raw
  To: gentoo-user

On 7/12/06, Ozan Enginoglu <ozanenginoglu@gmail.com> wrote:
> Hi,
>
> I was trying to enable antialiasing following the tutorial from
> gentoo-wiki but i figured out that my TTF directory doesn't exist. I
> installed xorg-x11 with global "bitmap-fonts truetype-fonts
> type1-fonts". So i don't know where did i do wrong.

Don't worry about it.  On my system, the only package installed file
in the TTF directory is owned by openoffice-2.0.3.

Just make sure that every directory produced by this command has a
FontPath entry:
find /usr/share/fonts/* -type d

Also, if you use KDE, you don't have to edit the ~/.fonts.conf file
directly.  You can enable anti-aliased fonts right on the KDE control
center.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] /usr/share/fonts/TTF doesn't exist
  2006-07-12 17:14 ` Richard Fish
@ 2006-07-12 17:47   ` Donnie Berkholz
  2006-07-12 19:15     ` Mick
  0 siblings, 1 reply; 8+ messages in thread
From: Donnie Berkholz @ 2006-07-12 17:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

Richard Fish wrote:
> Just make sure that every directory produced by this command has a
> FontPath entry:
> find /usr/share/fonts/* -type d

I wouldn't worry too much about this anyhow, only really old apps use
FontPath entries. Most new ones use fontconfig, which searches
/usr/share/fonts/ recursively.

Thanks,
Donnie


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] /usr/share/fonts/TTF doesn't exist
  2006-07-12 17:47   ` Donnie Berkholz
@ 2006-07-12 19:15     ` Mick
  2006-07-12 19:59       ` Donnie Berkholz
  0 siblings, 1 reply; 8+ messages in thread
From: Mick @ 2006-07-12 19:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2149 bytes --]

On Wednesday 12 July 2006 18:47, Donnie Berkholz wrote:
> Richard Fish wrote:
> > Just make sure that every directory produced by this command has a
> > FontPath entry:
> > find /usr/share/fonts/* -type d
>
> I wouldn't worry too much about this anyhow, only really old apps use
> FontPath entries. Most new ones use fontconfig, which searches
> /usr/share/fonts/ recursively.

Although the fonts are there:
=========================================
$ find /usr/share/fonts/* -type d
/usr/share/fonts/100dpi
/usr/share/fonts/75dpi
/usr/share/fonts/TTF
/usr/share/fonts/Type1
/usr/share/fonts/artwiz-aleczapka-en
/usr/share/fonts/corefonts
/usr/share/fonts/cyrillic
/usr/share/fonts/default
/usr/share/fonts/default/ghostscript
/usr/share/fonts/encodings
/usr/share/fonts/encodings/large
/usr/share/fonts/freefont
/usr/share/fonts/local
/usr/share/fonts/misc
/usr/share/fonts/sharefonts
/usr/share/fonts/terminus
/usr/share/fonts/ttf-bitstream-vera
/usr/share/fonts/ukr
/usr/share/fonts/unifont
/usr/share/fonts/util
=========================================

I am also getting errors loading some of them:
=========================================
Could not init font path element /usr/share/fonts/default, removing from list!
Could not init font path element /usr/share/fonts/encodings, removing from 
list!
Could not init font path element /usr/share/fonts/local, removing from list!
(**) RADEON(0): RADEONSaveScreen(2)
(**) RADEON(0): RADEONSaveScreen(2)
Warning: FreeTypeRasteriseGlyph() returns an error,
        so the backend tries to set a white space.
Warning: FreeTypeRasteriseGlyph() returns an error,
        so the backend tries to set a white space.
Warning: FreeTypeRasteriseGlyph() returns an error,
        so the backend tries to set a white space.
FreeType: couldn't open face /usr/share/fonts/TTF/VeraIt.ttf: 1
FreeType: couldn't open face /usr/share/fonts/TTF/VeraIt.ttf: 1
Warning: FreeTypeRasteriseGlyph() returns an error,
        so the backend tries to set a white space.
=========================================

Any idea why - can I fix it?

-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] /usr/share/fonts/TTF doesn't exist
  2006-07-12 19:15     ` Mick
@ 2006-07-12 19:59       ` Donnie Berkholz
  2006-07-12 21:22         ` Mick
  0 siblings, 1 reply; 8+ messages in thread
From: Donnie Berkholz @ 2006-07-12 19:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

Mick wrote:
> Could not init font path element /usr/share/fonts/default, removing from list!
> Could not init font path element /usr/share/fonts/encodings, removing from 
> list!
> Could not init font path element /usr/share/fonts/local, removing from list!

You probably don't have fonts sitting in any of those directories.

Thanks,
Donnie


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] /usr/share/fonts/TTF doesn't exist
  2006-07-12 19:59       ` Donnie Berkholz
@ 2006-07-12 21:22         ` Mick
  2006-07-12 22:52           ` Richard Fish
  0 siblings, 1 reply; 8+ messages in thread
From: Mick @ 2006-07-12 21:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4196 bytes --]

On Wednesday 12 July 2006 20:59, Donnie Berkholz wrote:
> Mick wrote:
> > Could not init font path element /usr/share/fonts/default, removing from
> > list! Could not init font path element /usr/share/fonts/encodings,
> > removing from list!
> > Could not init font path element /usr/share/fonts/local, removing from
> > list!
>
> You probably don't have fonts sitting in any of those directories.


Hmm, this is what they list:
============================================
$ ls -la /usr/share/fonts/default
total 20
drwxr-xr-x  3 root root  208 Jun 26 13:31 .
drwxr-xr-x 20 root root  568 Mar 13  2005 ..
-rw-r--r--  1 root root 3965 Jun 26 13:31 encodings.dir
-rw-r--r--  1 root root   23 Jun 26 13:31 fonts.cache-1
-rw-r--r--  1 root root    2 Jun 26 13:31 fonts.dir
-rw-r--r--  1 root root    2 Jun 26 13:31 fonts.scale
drwxr-xr-x  2 root root 3128 Jun 26 13:31 ghostscript

$ ls -la /usr/share/fonts/encodings
total 146
drwxr-xr-x  3 root root 1416 Jul  8 22:41 .
drwxr-xr-x 20 root root  568 Mar 13  2005 ..
-rw-r--r--  1 root root 3253 Jul  4 14:36 adobe-dingbats.enc.gz
-rw-r--r--  1 root root 1655 Jul  4 14:36 adobe-standard.enc.gz
-rw-r--r--  1 root root 3165 Jul  4 14:36 adobe-symbol.enc.gz
-rw-r--r--  1 root root  986 Jul  4 14:36 ansi-1251.enc.gz
-rw-r--r--  1 root root 1026 Jul  4 14:36 armscii-8.enc.gz
-rw-r--r--  1 root root  435 Jul  4 14:36 ascii-0.enc.gz
-rw-r--r--  1 root root  582 Jul  4 14:36 dec-special.enc.gz
-rw-r--r--  1 root root   17 Jul  4 14:42 fonts.cache-1
-rw-------  1 root root    2 Jul  8 22:42 fonts.dir
-rw-r--r--  1 root root 1576 Jul  4 14:36 ibm-cp437.enc.gz
-rw-r--r--  1 root root 1519 Jul  4 14:36 ibm-cp850.enc.gz
-rw-r--r--  1 root root 1412 Jul  4 14:36 ibm-cp852.enc.gz
-rw-r--r--  1 root root 1373 Jul  4 14:36 ibm-cp866.enc.gz
-rw-r--r--  1 root root 1012 Jul  4 14:36 iso8859-11.enc.gz
-rw-r--r--  1 root root  639 Jul  4 14:36 iso8859-13.enc.gz
-rw-r--r--  1 root root  626 Jul  4 14:36 iso8859-16.enc.gz
-rw-r--r--  1 root root  996 Jul  4 14:36 iso8859-6.16.enc.gz
-rw-r--r--  1 root root  836 Jul  4 14:36 iso8859-6.8x.enc.gz
drwxr-xr-x  2 root root  744 Jul  4 14:36 large
-rw-r--r--  1 root root  616 Jul  4 14:36 microsoft-cp1250.enc.gz
-rw-r--r--  1 root root 1181 Jul  4 14:36 microsoft-cp1251.enc.gz
-rw-r--r--  1 root root  529 Jul  4 14:36 microsoft-cp1252.enc.gz
-rw-r--r--  1 root root 1219 Jul  4 14:36 microsoft-cp1253.enc.gz
-rw-r--r--  1 root root  572 Jul  4 14:36 microsoft-cp1254.enc.gz
-rw-r--r--  1 root root 1004 Jul  4 14:36 microsoft-cp1255.enc.gz
-rw-r--r--  1 root root 1025 Jul  4 14:36 microsoft-cp1256.enc.gz
-rw-r--r--  1 root root  883 Jul  4 14:36 microsoft-cp1257.enc.gz
-rw-r--r--  1 root root  633 Jul  4 14:36 microsoft-cp1258.enc.gz
-rw-r--r--  1 root root  435 Jul  4 14:36 microsoft-win3.1.enc.gz
-rw-r--r--  1 root root  185 Jul  4 14:36 mulearabic-0.enc.gz
-rw-r--r--  1 root root  455 Jul  4 14:36 mulearabic-1.enc.gz
-rw-r--r--  1 root root  467 Jul  4 14:36 mulearabic-2.enc.gz
-rw-r--r--  1 root root  676 Jul  4 14:36 mulelao-1.enc.gz
-rw-r--r--  1 root root  811 Jul  4 14:36 suneu-greek.enc.gz
-rw-r--r--  1 root root  760 Jul  4 14:36 tcvn-0.enc.gz
-rw-r--r--  1 root root 1152 Jul  4 14:36 tis620-2.enc.gz
-rw-r--r--  1 root root 1242 Jul  4 14:36 viscii1.1-1.enc.gz

$ ls -la /usr/share/fonts/local
total 9
drwxr-xr-x  2 root root  144 Jun 26 13:31 .
drwxr-xr-x 20 root root  568 Mar 13  2005 ..
-rw-r--r--  1 root root 3965 Jun 26 13:31 encodings.dir
-rw-r--r--  1 root root    0 Jun 26 13:31 fonts.cache-1
-rw-r--r--  1 root root    2 Jun 26 13:31 fonts.dir
============================================

I noticed that the default directory has a ghostscript directory in it, which 
itself has loads of fonts - although //default on the other hand doesn't seem 
to contain any!  The local directory is also empty.  Finally, I noticed that 
the fonts.dir within //encodings has rw access rights only for root.

What should the above look like on a 'normal' installation?  (All I can think 
is that I must have messed up my fonts in the distant past, migrating from 
X86F to Xorg.)
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] /usr/share/fonts/TTF doesn't exist
  2006-07-12 21:22         ` Mick
@ 2006-07-12 22:52           ` Richard Fish
  2006-07-13 22:22             ` Mick
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Fish @ 2006-07-12 22:52 UTC (permalink / raw
  To: gentoo-user

On 7/12/06, Mick <michaelkintzios@gmail.com> wrote:
> $ ls -la /usr/share/fonts/default

Yep, no fonts here...

> $ ls -la /usr/share/fonts/encodings

Only encodings, no fonts here either...

> $ ls -la /usr/share/fonts/local

And no fonts here...

> What should the above look like on a 'normal' installation?

Looks pretty normal to me.  At least it all matches my system.

-Richard

PS:
Ok, so not _every_ directory in /usr/share/fonts needs a FontPath entry.  :-P
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] /usr/share/fonts/TTF doesn't exist
  2006-07-12 22:52           ` Richard Fish
@ 2006-07-13 22:22             ` Mick
  0 siblings, 0 replies; 8+ messages in thread
From: Mick @ 2006-07-13 22:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

On Wednesday 12 July 2006 23:52, Richard Fish wrote:

> Looks pretty normal to me.  At least it all matches my system.
>
> -Richard
>
> PS:
> Ok, so not _every_ directory in /usr/share/fonts needs a FontPath entry. 
> :-P

Phew!  Just as I thought that something was amiss with my system.  ;-)

Note thought that /usr/share/fonts/default has the ghostscript directory in 
it, which is full of fonts.  Does this need a separate path in xorg.conf?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-07-13 23:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12 14:02 [gentoo-user] /usr/share/fonts/TTF doesn't exist Ozan Enginoglu
2006-07-12 17:14 ` Richard Fish
2006-07-12 17:47   ` Donnie Berkholz
2006-07-12 19:15     ` Mick
2006-07-12 19:59       ` Donnie Berkholz
2006-07-12 21:22         ` Mick
2006-07-12 22:52           ` Richard Fish
2006-07-13 22:22             ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox