ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Bart C. Wise" <bntgcontext@wiseguysweb.com>
To: ntg-context@ntg.nl
Subject: Re: Fonts with XeTeX
Date: Mon, 17 Nov 2008 15:15:33 -0700	[thread overview]
Message-ID: <200811171515.33775.bntgcontext@wiseguysweb.com> (raw)
In-Reply-To: <20081117212515.GC18156@phare.normalesup.org>

Arthur,

This works!  Thanks for your help.

Bart

On Monday 17 November 2008 02:25:15 pm Arthur Reutenauer wrote:
> 	Hello Bart,
>
>   Try
>
>   \starttypescript[serif][caslon][uc]
>      
> \definefontsynonym[CaslonRegular][name:CaslonOldFaceBT-Roman][encoding=uc]
> \definefontsynonym[CaslonItalic][name:CaslonOldFaceBT-Italic][encoding=uc]
> \definefontsynonym[CaslonBold][name:CaslonOldFaceBT-Heavy][encoding=uc]
> \stoptypescript
>
>   \starttypescript[serif][caslon][name]
>       \definefontsynonym  [Serif]           [CaslonRegular]
>       \definefontsynonym  [SerifItalic]     [CaslonItalic]
>       \definefontsynonym  [SerifBold]       [CaslonBold]
>   \stoptypescript
>
>   \starttypescript[caslon][uc]
>       \definetypeface[caslon][rm][serif][caslon][default][encoding=uc]
>   \stoptypescript
>
>   \usetypescript[caslon][uc]
>   \setupbodyfont[caslon, 12pt]
>
>   \starttext
>   Testing {\bf Testing} {\it Testing}
>   \stoptext
>
>   Note the two changes: \definetypeface's in the first typescript have
> been replaced with \definefontsynonym commands, and the font names have
> been prepended with "name:", forcing XeTeX to look for an installed font
> instead of a TFM (in plain XeTeX, you get the same result by surrounding
> the font name with double quotes).
>
>   I am unable to test the typescript because I don't have Caslon Old
> Face, but it works when I replace the font names with the appropriate
> faces from Adobe Caslon, which I have.
>
> 	Arthur
> ___________________________________________________________________________
>________ 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
> ___________________________________________________________________________
>________

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


      reply	other threads:[~2008-11-17 22:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-17 20:39 Bart C. Wise
2008-11-17 21:22 ` Thomas A. Schmitz
2008-11-17 21:25 ` Arthur Reutenauer
2008-11-17 22:15   ` Bart C. Wise [this message]

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=200811171515.33775.bntgcontext@wiseguysweb.com \
    --to=bntgcontext@wiseguysweb.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).