ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Linux Libertine type
Date: Thu, 23 Jul 2009 16:34:37 +0200	[thread overview]
Message-ID: <4A6874FD.6050701@wxs.nl> (raw)
In-Reply-To: <20090723142122.GB632@khaled-laptop>

Khaled Hosny wrote:
> On Thu, Jul 23, 2009 at 07:20:48PM +0530, Derek CORDEIRO wrote:
>> Hi,
>>
>> I have downloaded and installed the typescripts from http://
>> modules.contextgarden.net
>>
>> In myTeX file, I have at the beginning of the file:
>>
>> \usetypescriptfile[type-linuxlibertine]
>> \usetypescript[linuxlibertine]
>> \setupbodyfont[linuxlibertine,12pt]
>>
>> The following is a part of the context output.
>>
>> ) (/home/derek/context/tex/texmf-local/tex/context/third/typescripts/
>> type-linuxlibertine.tex (/home/derek/context/tex/texmf-local/tex/context/third/
>> typescripts/type-linuxlibertine.mkiv))
>> fontnames | identifying tree font files with suffix otf
>> fontnames | identifying tree font files with suffix OTF
>> fontnames | 161 tree files identified, 161 hash entries added, runtime 0.244
>> seconds
>> fontnames | identifying tree font files with suffix ttf
>> fontnames | identifying tree font files with suffix TTF
>> fontnames | 5 tree files identified, 5 hash entries added, runtime 0.215
>> seconds
>> fontnames | identifying tree font files with suffix ttc
>> fontnames | identifying tree font files with suffix TTC
>> fontnames | 0 tree files identified, 0 hash entries added, runtime 0.208
>> seconds
>> fontnames | identifying tree font files with suffix afm
>> fontnames | identifying tree font files with suffix AFM
>> fontnames | 76 tree files identified, 65 hash entries added, runtime 0.336
>> seconds
>> fontnames | identifying system font files with suffix otf
>> fontnames | identifying system font files with suffix OTF
>> fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
>> seconds
>> fontnames | identifying system font files with suffix ttf
>> fontnames | identifying system font files with suffix TTF
>> fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
>> seconds
>> fontnames | identifying system font files with suffix ttc
>> fontnames | identifying system font files with suffix TTC
>> fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
>> seconds
>> fontnames | identifying system font files with suffix afm
>> fontnames | identifying system font files with suffix AFM
>> fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
>> seconds
>> define font | font with name Linux Libertine O is not found
>> define font | unknown font Linux Libertine O, loading aborted
>> define font | unable to define Linux Libertine O as \*linuxlibertine12ptrmtf*
>>
>> Output of the command «fc-list | grep "Linux Libertine"» is as follows
>>
>> Linux Libertine:style=Bold
>> Linux Libertine O:style=Bold Italic
>> Linux Libertine O C:style=Regular
>> Linux Libertine O:style=Regular
>> Linux Libertine C:style=Regular
>> Linux Libertine U:style=Regular
>> Linux Libertine O:style=Italic
>> Linux Libertine:style=Italic
>> Linux Libertine:style=Bold Italic
>> Linux Libertine O:style=Bold
>> Linux Libertine:style=Regular
>>
>> ConTeXt  ver: 2009.07.22 21:46 MKIV  fmt: 2009.7.23  int: english/english
>>
>> What am I doing wrong?
> 
> ConTeXt doesn't use fontconfig for detecting installed fonts, try to set
> OSFONTDIR to point where your fonts are, then run:
> mtxrun -script fonts -reload
> 
> Hans, is it possible to read fontconfig files to detect font directories
> on linux, it is xml files and we would be interested in <dir> and
> <include> tags only.

it does, given that the file can be found someplace in the tree (i added 
a log message so that one can see of it is found)

-----------------------------------------------------------------
                                           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	other threads:[~2009-07-23 14:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 13:50 Derek CORDEIRO
2009-07-23 14:21 ` Khaled Hosny
2009-07-23 14:34   ` Hans Hagen [this message]
2009-07-23 14:39     ` Khaled Hosny
2009-07-23 16:07       ` Hans Hagen
2009-07-23 16:43         ` Khaled Hosny
2009-07-23 17:24           ` Hans Hagen
2009-07-23 14:35   ` Derek CORDEIRO
2009-07-23 14:45     ` Khaled Hosny
2009-07-23 15:00       ` Aditya Mahajan
2009-07-23 15:04       ` Derek CORDEIRO
2009-07-23 16:50         ` Khaled Hosny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A6874FD.6050701@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).