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, [EMAIL PROTECTED] 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
___________________________________________________________________________________

Reply via email to