From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: fonts (in luatex) (again)
Date: Thu, 3 Jul 2008 11:40:02 +0200 [thread overview]
Message-ID: <115224fb0807030240m7581f8c1g79cfd8e5883a9779@mail.gmail.com> (raw)
In-Reply-To: <6faad9f00807030228k443f5c84qe313702609b1e867@mail.gmail.com>
On Thu, Jul 3, 2008 at 11:28 AM, Mojca Miklavec
<mojca.miklavec.lists@gmail.com> wrote:
> On Thu, Jul 3, 2008 at 10:48 AM, Wolfgang Schuster wrote:
>> On Thu, Jul 3, 2008 at 9:57 AM, Mojca Miklavec
>> <mojca.miklavec.lists@gmail.com> wrote:
>>> 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.
>>
>> $TEXMF/fonts/conf/fonts.conf
>
> For XeTeX on Windows, yes. But not on other platforms.
>
>>> 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.
>>
>> But you need fonts.conf only for XeTeX, LuaTeX (better MkIV) could
>> find the fonts with the predefined paths in mtxrun.
>
> "could" could be read as "should" :)
> But on the other hand, reading fonts.conf does make sense (if you know
> where to look for it). It means that you get all the font paths
> properly set by default already.
Could make sense.
>> elseif name == "macosx" then
>> fix("OSFONTDIR",
>> "$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//")
>> else
>
> OSFONT[S]DIR (I always forget which one) does get set. But did you try
> to use any fonts from there? Do they work (with a recent ConTeXt
> version)?
Last beta with delicoius fonts in $HOME/Library/Fonts has worked.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-07-03 9:40 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
2008-07-03 8:48 ` Wolfgang Schuster
2008-07-03 9:28 ` Mojca Miklavec
2008-07-03 9:40 ` Wolfgang Schuster [this message]
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=115224fb0807030240m7581f8c1g79cfd8e5883a9779@mail.gmail.com \
--to=schuster.wolfgang@googlemail.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).