ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Where is the fonts Directory of OpenSuse?
@ 2008-06-12 10:11 cidadaum
  2008-06-12 15:51 ` Khaled Hosny
  0 siblings, 1 reply; 5+ messages in thread
From: cidadaum @ 2008-06-12 10:11 UTC (permalink / raw)
  To: ntg-context

Can someone tell me please where the fonts directory of OpensSuse 10.3 (Kde)
lies, so I can add my fonts to my bash profile?
Thanks for your help.
Armando
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Where is the fonts Directory of OpenSuse?
  2008-06-12 10:11 Where is the fonts Directory of OpenSuse? cidadaum
@ 2008-06-12 15:51 ` Khaled Hosny
  2008-06-12 16:21   ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Khaled Hosny @ 2008-06-12 15:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 482 bytes --]

On Thu, Jun 12, 2008 at 11:11:18AM +0100, cidadaum@sapo.pt wrote:
> Can someone tell me please where the fonts directory of OpensSuse 10.3 (Kde)
> lies, so I can add my fonts to my bash profile?
> Thanks for your help.
> Armando

Fonts are usually under /user/share/fonts/, some distros (like debian)
has a separate subdir "truetype" for TrueType fonts. Users may added
fonts under ~/.fonts as well.

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team

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

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Where is the fonts Directory of OpenSuse?
  2008-06-12 15:51 ` Khaled Hosny
@ 2008-06-12 16:21   ` Hans Hagen
  2008-06-12 17:13     ` Khaled Hosny
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2008-06-12 16:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Khaled Hosny wrote:
> On Thu, Jun 12, 2008 at 11:11:18AM +0100, cidadaum@sapo.pt wrote:
>> Can someone tell me please where the fonts directory of OpensSuse 10.3 (Kde)
>> lies, so I can add my fonts to my bash profile?
>> Thanks for your help.
>> Armando
> 
> Fonts are usually under /user/share/fonts/, some distros (like debian)
> has a separate subdir "truetype" for TrueType fonts. Users may added
> fonts under ~/.fonts as well.

so: ~/.fonts;/usr/share/fonts/;/usr/share/fonts/truetype ?

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Where is the fonts Directory of OpenSuse?
  2008-06-12 16:21   ` Hans Hagen
@ 2008-06-12 17:13     ` Khaled Hosny
  2008-06-12 17:39       ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Khaled Hosny @ 2008-06-12 17:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2021 bytes --]

On Thu, Jun 12, 2008 at 06:21:36PM +0200, Hans Hagen wrote:
> Khaled Hosny wrote:
> > On Thu, Jun 12, 2008 at 11:11:18AM +0100, cidadaum@sapo.pt wrote:
> >> Can someone tell me please where the fonts directory of OpensSuse 10.3 (Kde)
> >> lies, so I can add my fonts to my bash profile?
> >> Thanks for your help.
> >> Armando
> > 
> > Fonts are usually under /user/share/fonts/, some distros (like debian)
> > has a separate subdir "truetype" for TrueType fonts. Users may added
> > fonts under ~/.fonts as well.
> 
> so: ~/.fonts;/usr/share/fonts/;/usr/share/fonts/truetype ?

I don't think this will work, since /usr/share/fonts and
/usr/share/fonts/truetype have multiple subdirs (per package) that has
the actuall fonts, does context look into subdirs as well or the top
dir only.

What about querying fontconfig about installed fonts (which I guess what
XeTeX does under linux) this allows calling the font by the actual font
name not filename.

Regards,
 Khaled

> 
> Hans
> 
> 
> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                               | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team

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

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Where is the fonts Directory of OpenSuse?
  2008-06-12 17:13     ` Khaled Hosny
@ 2008-06-12 17:39       ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2008-06-12 17:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Khaled Hosny wrote:
> On Thu, Jun 12, 2008 at 06:21:36PM +0200, Hans Hagen wrote:
>> Khaled Hosny wrote:
>>> On Thu, Jun 12, 2008 at 11:11:18AM +0100, cidadaum@sapo.pt wrote:
>>>> Can someone tell me please where the fonts directory of OpensSuse 10.3 (Kde)
>>>> lies, so I can add my fonts to my bash profile?
>>>> Thanks for your help.
>>>> Armando
>>> Fonts are usually under /user/share/fonts/, some distros (like debian)
>>> has a separate subdir "truetype" for TrueType fonts. Users may added
>>> fonts under ~/.fonts as well.
>> so: ~/.fonts;/usr/share/fonts/;/usr/share/fonts/truetype ?
> 
> I don't think this will work, since /usr/share/fonts and
> /usr/share/fonts/truetype have multiple subdirs (per package) that has
> the actuall fonts, does context look into subdirs as well or the top
> dir only.
> 
> What about querying fontconfig about installed fonts (which I guess what
> XeTeX does under linux) this allows calling the font by the actual font
> name not filename.

When you has run

   mtxrun --script font --reload

that file will be consulted too. After than you can access fonts by name 
  by using a name: prefix, so

   name:mynamedfont

With

   mtxrun --script font --list

you can see what fontnames are accepted.


Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-06-12 17:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-12 10:11 Where is the fonts Directory of OpenSuse? cidadaum
2008-06-12 15:51 ` Khaled Hosny
2008-06-12 16:21   ` Hans Hagen
2008-06-12 17:13     ` Khaled Hosny
2008-06-12 17:39       ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).