ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: fonts (in luatex) (again)
Date: Mon, 30 Jun 2008 08:56:06 +0200	[thread overview]
Message-ID: <115224fb0806292356s7f312fbbod57ada5a7d78e736@mail.gmail.com> (raw)
In-Reply-To: <441B3D72-7906-465D-881E-2A821D1CBFC5@di.unito.it>

Hi Andrea,

On Sat, Jun 28, 2008 at 5:34 PM, Andrea Valle <valle@di.unito.it> wrote:
> Following Wolfgang's advice (thanks) I have followed the delicious thread.
> So I have
> 1. downloaded the fonts and installed automatically via macosx Fontbook app
> (they are available in my system)
> 2. I have created a file named type-delicious.tex containing:
> \starttypescript [sans] [delicious]
> \setups[font:fallback:sans]
> \definefontsynonym [Sans] [Delicious-Regular]
> \definefontsynonym [SansItalic] [Delicious-Italic]
> \definefontsynonym [SansBold] [Delicious-Bold]
> \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic]
> \definefontsynonym [SansCaps] [Delicious-Caps]
> \stoptypescript

> \starttypescript [sans] [delicious]
> \definefontsynonym [Delicious-Regular] [name:Delicious-Roman]
> [features=default]
> \definefontsynonym [Delicious-Italic] [name:Delicious-Italic]
> [features=default]
> \definefontsynonym [Delicious-Bold] [name:Delicious-Bold]
> [features=default]
> \definefontsynonym [Delicious-BoldItalic]
> [name:Delicious-BoldItalic] [features=default]
> \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps]
> [features=default]
> \stoptypescript
> \starttypescript [delicious]
> \definetypeface [delicious] [ss] [sans] [delicious] [default]
> \stoptypescript
>
> (which I do not understand: but that's another story)
> I have saved the file under the same folder of tex file I'm working at
> 3. then I have called: context --generate

3.1. Generate name entries for the font database

To access fonts with the name you have to create the database
with the entries:

mtxrun --script font --reload

> 4. In my tex file I have added:
> \usetypefile [delicious]
> \usetypescript[delicious]
> \setupbodyfont[delicious]
> 5. while compiling I'm having a problem with  delicious.
> Log attached

Make a test with the fonts and the files in the same directory.

When this did not work access the fonts by filename and not by
fontname, to do thos you have to replace "name:" by "file:",
this is unproblematic for the delicious fonts because fontname
and filename are equal.

Regards
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
___________________________________________________________________________________


  parent reply	other threads:[~2008-06-30  6:56 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
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 [this message]
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=115224fb0806292356s7f312fbbod57ada5a7d78e736@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).