ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: fonts (in luatex) (again)
Date: Thu, 3 Jul 2008 09:57:51 +0200	[thread overview]
Message-ID: <6faad9f00807030057p4b4043deib1f730884c15ffcc@mail.gmail.com> (raw)
In-Reply-To: <9D7F4A96-1212-4066-9092-756033DA71B7@di.unito.it>

On Thu, Jul 3, 2008 at 1:40 AM, Andrea Valle wrote:
> But, Hans, in the post Mojca says I have the same problem:)
> uh?

In font-syn.lua there is
    local pathlist = fonts.names.getpaths()

This used to contain some hard-coded paths for Mac users, but then
Hans switched to reading fonts.conf with

    -- name is "fonts.conf"
    local name = fonts.names.xml_configuration_file or ""
    if name ~= "" then
        -- this works on Hans' computer, but not here; name becomes empty
        local name = input.find_file(name,"other")
        -- so this loop is never entered and system fonts are never read
        if name ~= "" then
            collect(xml.collect_texts(xml.load(name),"dir",true))
        end
    end

I guess that Hans has a fonts.conf in his TeX tree, while Linux & Mac
users don't, and luaTeX doesn't know where to look for fonts.conf.
What's worse: I suspect that OSFONTSDIR might be completely ignored.

No, don't ask me where fonts.conf should be. Mine are at
    /Users/mojca/.fonts.conf
    /private/etc/fonts/fonts.conf
but I have no idea what's the proper/default location if any.


The /private/etc/fonts/fonts.conf one says:

<!--
  Load per-user customization file
-->
  <include ignore_missing="yes">~/.fonts.conf</include>

<!--
  Load local system customization file
-->
  <include ignore_missing="yes">local.conf</include>

So I guess that's where the other one gets included.

Mojca

> -a-
> On 3 Jul 2008, at 00:09, Hans Hagen wrote:
>
> Andrea Valle wrote:
>
> Ah.
> So, what the mail by Mojca meant?
> the one starting with:
> Hans,
> I thought that it had worked some time ago, but it seems that it's
> broken. OPENTYPEFONTS seems the right folders, but doesn't find files
> in them.
> ....
>
> that something is broken om mojca's machine but we're working on it
> (when we have a spare moment)
> Hans
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2008-07-03  7:57 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28 15:34 Andrea Valle
2008-06-28 17:55 ` Charles P. Schaum
2008-06-30 20:42   ` Andrea Valle
2008-06-30 21:06     ` Hans Hagen
2008-07-02 13:25       ` Andrea Valle
2008-07-02 15:41         ` Hans Hagen
2008-07-02 17:22           ` Andrea Valle
2008-07-02 22:09             ` Hans Hagen
2008-07-02 23:40               ` Andrea Valle
2008-07-03  7:55                 ` Hans Hagen
2008-07-03  7:57                 ` Mojca Miklavec [this message]
2008-07-03  8:48                   ` Wolfgang Schuster
2008-07-03  9:28                     ` Mojca Miklavec
2008-07-03  9:40                       ` Wolfgang Schuster
2008-07-03  9:22                   ` Khaled Hosny
2008-07-03  9:51                   ` Hans Hagen
2008-07-03  6:47             ` Wolfgang Schuster
2008-07-02 23:30           ` Diego Depaoli
2008-06-30  6:56 ` Wolfgang Schuster
2008-06-30 20:37   ` Andrea Valle
2008-07-15 13:14   ` Andrea Valle
2008-07-15 13:22     ` Mojca Miklavec
2008-07-15 13:34       ` Andrea Valle
2008-07-15 14:16         ` Mojca Miklavec
2008-07-15 14:18           ` Mojca Miklavec
2008-07-15 15:10             ` Andrea Valle
2008-07-15 15:35               ` Mojca Miklavec
2008-07-15 15:41                 ` Taco Hoekwater
2008-07-15 16:22                   ` Arthur Reutenauer
2008-07-15 15:59                 ` Andrea Valle
2008-07-15 16:27                   ` Mojca Miklavec
2008-07-15 19:19                     ` Thomas A. Schmitz
2008-07-15 20:53                       ` Charles P. Schaum
2008-07-15 21:58                         ` Taco Hoekwater
2008-07-15 21:30                     ` Andrea Valle
2008-07-16  0:42                       ` Diego Depaoli
2008-07-16  7:15                         ` Andrea Valle
2008-07-16 11:26                         ` Wolfgang Schuster
2008-07-17  8:05                       ` Andrea Valle
2008-07-15 20:36                 ` Hans Hagen
2008-07-15 20:54               ` Hans Hagen
2008-07-15 21:04                 ` Andrea Valle
2008-07-15 14:39           ` Andrea Valle
2008-07-15 14:50             ` Aditya Mahajan
2008-07-15 15:53               ` Mojca Miklavec
2008-07-15 15:57                 ` Andrea Valle

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=6faad9f00807030057p4b4043deib1f730884c15ffcc@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).