From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Fonts
Date: Wed, 22 Sep 2010 19:07:40 +0300 [thread overview]
Message-ID: <20100922160047.GB2084@khaled-laptop> (raw)
In-Reply-To: <201009220925.26964.john@wexfordpress.com>
On Wed, Sep 22, 2010 at 09:25:26AM -0400, John Culleton wrote:
> On Tuesday 21 September 2010 18:37:48 Khaled Hosny wrote:
> > On Tue, Sep 21, 2010 at 06:17:41PM -0400, John Culleton wrote:
> > > Well I have been typesetting books in plain tex and pdftex for a
> > > decade or more. Supposedly luatex is a superset of pdftex that
> > > makes finding fonts easier and eliminates the generation of tmf
> > > files. But I seem to be sinking into a deeper swamp.
> >
> > If you all what you want is plain TeX, then why you are looking for
> > ConTeXt solutions, I mean you don't need ConTeXt nor ConTeXt file
> > locating system (which does not use kpathsea) to use plain format.
> >
> > The issue you have is because your ConTeXt MkIV is not properly
> > setup yet (true for fresh TeXLive 2010 installs). You need to run
> > `luatools -generate` to generate the file database (used to
> > locating files, similar to running texhash and likes, but TeXLive
> > scripts does not run it by default). Then you need to set your
> > system font paths, by setting OSFONTDIR, and ConTeXt will then be
> > able find system fonts.
> >
> > However, you don't need any of then to use system fonts with plain,
> > there are already packages for this (based on dome of ConTeXt code,
> > but adapted to be self contained and ConTeXt independent).
> >
> > A small test file would be:
> >
> > \input luaotfload.sty % works for plain despite the .sty
> > \font\pagella={name:TeX Gyre Pagella:script=latn;+onum} at 10pt
> > \font\termes={file:texgyretermes-regular.otf:script=latn} at 10pt
> > \pagella some text 12345\par
> > \termes other text
> > \bye
> >
> > This should work out of box on texlive (at first run it will take
> > some time building font database). If it does not work, it is a
> > bug.
> >
> > For LaTeX, just check fontspec documentation, and there is a
> > lualatex-dev list on CTAN, and luatex list for general, non-ConTeXt
> > questions.
> >
> > Regards,
> > Khaled
> Now that works! I'll try it on my XP partition also to see how well I
> fare. And I need to fiddle with some non-Gyre fonts as well.
>
> You mentioned building a database, and yes that took some time. Is
> there a way to have it scan fonts in /usr/share/fonts as well?
By default on Linux it will attempt to read /etc/fonts/fonts.conf and
detect system font directories, so /usr/share/fonts (and ~/.fonts)
should work, you can override this by explicitly setting OSFONTDIR, in
this case it will only search the specified directories (it is a
regular kpathsea variable).
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-09-22 16:07 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 8:11 Fonts Cecil Westerhof
2010-09-10 14:50 ` Fonts Wolfgang Schuster
2010-09-10 19:54 ` Fonts Peter Schorsch
2010-09-10 20:57 ` Fonts Andreas Harder
2010-09-10 21:14 ` Fonts Hans Hagen
2010-09-10 23:03 ` Fonts Peter Schorsch
2010-09-21 21:27 ` Fonts John Culleton
2010-09-21 21:34 ` Fonts Khaled Hosny
2010-09-21 21:43 ` Fonts Henning Hraban Ramm
2010-09-21 22:17 ` Fonts John Culleton
2010-09-21 22:27 ` Fonts Arthur Reutenauer
2010-09-21 22:37 ` Fonts Khaled Hosny
2010-09-22 13:25 ` Fonts John Culleton
2010-09-22 13:27 ` Fonts Alan BRASLAU
2010-09-22 16:22 ` Fonts John Culleton
2010-09-22 16:34 ` Fonts Khaled Hosny
2010-09-22 21:38 ` Fonts Henning Hraban Ramm
2010-09-22 22:18 ` Fonts Hans Hagen
2010-09-22 16:07 ` Khaled Hosny [this message]
2010-09-22 7:29 ` Fonts luigi scarso
-- strict thread matches above, loose matches on Subject: below --
2016-10-06 7:49 fonts Hans Hagen
2016-02-15 15:56 fonts Hans Hagen
2012-05-08 17:07 fonts Hans Hagen
2012-05-09 11:34 ` fonts Otared Kavian
2012-05-09 14:23 ` fonts Hans Hagen
2012-05-09 20:22 ` fonts Wolfgang Schuster
2011-08-26 10:36 fonts Hans van der Meer
2011-08-26 10:54 ` fonts Peter Rolf
2011-08-26 11:01 ` fonts Hans van der Meer
2011-08-26 11:36 ` fonts Peter Rolf
2011-08-26 11:58 ` fonts Hans van der Meer
2011-08-26 12:12 ` fonts Peter Rolf
2011-08-26 12:55 ` fonts Hans van der Meer
2011-08-26 13:14 ` fonts Taco Hoekwater
2011-08-26 13:43 ` fonts Hans van der Meer
2011-08-26 14:33 ` fonts Peter Rolf
2011-08-26 14:34 ` fonts Taco Hoekwater
2011-08-26 14:57 ` fonts Hans van der Meer
2011-08-26 15:09 ` fonts Wolfgang Schuster
2011-08-26 15:18 ` fonts Hans van der Meer
2011-08-26 15:56 ` fonts Hans Hagen
2011-08-26 15:14 ` fonts Taco Hoekwater
2011-08-26 11:33 ` fonts Hans Hagen
2009-09-18 11:52 fonts Jörg Hagmann
2009-09-18 11:58 ` fonts luigi scarso
2009-09-18 12:25 ` fonts Jörg Hagmann
2005-12-10 18:14 fonts Alan Bowen
2005-12-12 10:55 ` fonts Hans Hagen
2005-12-12 11:02 ` fonts Henning Hraban Ramm
2005-12-12 12:44 ` fonts Adam Lindsay
2005-12-12 14:40 ` fonts Henning Hraban Ramm
2005-12-12 18:55 ` fonts Henning Hraban Ramm
2005-12-07 13:55 fonts Hans Hagen
2005-12-07 14:41 ` fonts Thomas A. Schmitz
2005-12-07 14:47 ` fonts Taco Hoekwater
2005-12-07 17:09 ` fonts Thomas A. Schmitz
2005-12-07 20:09 ` fonts Henning Hraban Ramm
2005-12-08 8:39 ` fonts Taco Hoekwater
2005-12-08 17:17 ` fonts Henning Hraban Ramm
2005-12-08 18:01 ` fonts Adam Lindsay
2005-12-08 22:02 ` fonts Henning Hraban Ramm
2005-12-08 23:08 ` fonts Adam Lindsay
2005-12-08 23:10 ` fonts Steve Peter
2005-12-09 22:51 ` fonts Henning Hraban Ramm
2005-12-10 13:32 ` fonts Henning Hraban Ramm
2005-12-10 19:23 ` fonts VnPenguin
2005-12-19 8:06 ` fonts Joachim Trinkwitz
2005-12-19 9:56 ` fonts Hans Hagen
2005-12-20 21:24 ` fonts Henning Hraban Ramm
2005-12-20 22:15 ` fonts Hans Hagen
2002-02-24 18:48 fonts Frans Goddijn
2002-02-24 20:37 ` fonts Bill McClain
2002-02-24 20:49 ` fonts Frans Goddijn
2002-02-24 18:19 fonts Frans Goddijn
2002-02-24 20:29 ` fonts Bill McClain
2002-02-24 20:55 ` fonts Frans Goddijn
2002-02-25 13:19 ` fonts Hans Hagen
2002-02-24 21:34 ` fonts W. Egger
2002-01-25 9:30 fonts Hans Hagen
[not found] <200201211912.UAA01593@smail.let.uu.nl>
2002-01-22 10:15 ` fonts Hans Hagen
2002-01-22 19:00 ` fonts Henning Hraban Ramm
2002-01-23 8:29 ` fonts Hans Hagen
2002-01-24 16:23 ` fonts Hans Hagen
2002-01-25 9:37 ` fonts Taco Hoekwater
[not found] <200201161954.UAA10086@smail.let.uu.nl>
2002-01-19 22:52 ` fonts Hans Hagen
[not found] <200201161847.TAA09341@smail.let.uu.nl>
2002-01-19 22:50 ` fonts Hans Hagen
2000-11-24 8:13 fonts Hans Hagen
2000-06-11 23:24 fonts Hans Hagen
2000-06-19 13:14 ` fonts Hraban
2000-02-15 19:22 fonts pragma
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=20100922160047.GB2084@khaled-laptop \
--to=khaledhosny@eglug.org \
--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).