ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Harrie Frericks <harrie.frericks@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Two newbie questions about Texfont
Date: Fri, 17 Jul 2009 11:11:43 +0200	[thread overview]
Message-ID: <97eab8e50907170211q691435eam8862f9cd20c677c0@mail.gmail.com> (raw)
In-Reply-To: <4A5CCABE.7090309@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2707 bytes --]

I've been looking into luatex and got it running now. However, i'm not sure
how to link a font that I want to use in my ConText documents to an actual
font file on my disk. For example, I have tried:

\definebodyfont[12pt][rm][
    tf="c:\fonts\ITC Stone Serif\SR______.AFM"
]

It doesn't work, so I guess this approach is both naive and optimistic.

I also read the manual "Texfont explained" for clues, but that didn't help
either.

Could someone show me how to use type1 font files with Luatex without having
to go the TexFont route.

Thanks, Harrie.

On Tue, Jul 14, 2009 at 8:13 PM, Hans Hagen <pragma@wxs.nl> wrote:

> Harrie Frericks wrote:
>
>> Now that I finally have Context running I'm trying to install a number of
>> type1 fonts. I've read the Texfont manual, but I couldn't find answers to
>> these questions:
>> 1. Can Texfont recursively process a font tree?
>>
>> I have a directory font tree like this:
>>
>> c:\fonts\type1\font-family1
>> c:\fonts\type1\font-family2
>> c:\fonts\type1\font-family3
>>
>> each font-family subdirectory has a number of .afm files. If I set
>> --sourcepath to c:\fonts\type1 can Texfont recurse all the subdirectories
>> of
>> the font families and locate and process the .afm files?
>>
>>
>> 2. Can Texfont handle .afm files with extensions in uppercase?
>>
>> Most of my type1 font files are in uppercase like: XYZ_____.AFM   I can
>> only
>> get Texfont to process these files if I first rename them to lowercase,
>> like
>> XYZ_____.AFM
>>
>
> since you're new to context you can consider skipping pdftex and moving on
> to either xetex or luatex (which uses context mkiv)
>
> for luatex/mkiv you don't need to mess around with fonts as this combo
> directly handles afm/pfb files so there is no need for creating tfm metrics
>
> Hans
>
>
> -----------------------------------------------------------------
>                                          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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3889 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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:[~2009-07-17  9:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 17:47 Harrie Frericks
2009-07-14 18:13 ` Hans Hagen
2009-07-14 18:15   ` Harrie Frericks
2009-07-17  9:11   ` Harrie Frericks [this message]
2009-07-17  9:21     ` Hans Hagen
2009-07-17  9:53     ` Wolfgang Schuster
2009-07-17 10:12       ` luigi scarso
2009-07-17 10:17         ` Taco Hoekwater
2009-07-17 10:26           ` luigi scarso
2009-07-17 11:08             ` Arthur Reutenauer
2009-07-17 12:34       ` Harrie Frericks
2009-07-18 11:44         ` Wolfgang Schuster

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=97eab8e50907170211q691435eam8862f9cd20c677c0@mail.gmail.com \
    --to=harrie.frericks@xs4all.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).