From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mari Voipio <mari.voipio@iki.fi>
Subject: Re: lucida ot
Date: Fri, 20 Apr 2012 15:59:39 +0200 [thread overview]
Message-ID: <4F916BCB.6090903@wxs.nl> (raw)
In-Reply-To: <CAGbDsP0Cf6BdtXOcL0QiE8MR1j3=AHPLAjpXRoReys5eb8bSCA@mail.gmail.com>
On 20-4-2012 15:24, Mari Voipio wrote:
> This is one of my more recent attempts at calling for the font:
>
> \starttypescript [rm] [blackletter]
> \definefontsynonym [Serif] [file:LucidaBlackletterOT.otf]
> \stoptypescript
>
> \definetypeface [blackletter] [rm] [serif] [blackletter]
>
> \setupbodyfont[blackletter]
>
> Any ideas of what I'm doing wrong?
something
\starttypescript [serif] [somecollection] [name]
\setups[font:fallback:serif]
\definefontsynonym [Serif] [file:somecolllection.otf]
[features=default]
% \definefontsynonym [SerifBold] [file:somecolllectionbold.otf]
[features=default]
% \definefontsynonym [SerifItalic]
[file:somecolllectionitalic.otf] [features=default]
% \definefontsynonym [SerifBoldItalic]
[file:somecolllectionbolditalic.otf] [features=default]
\stoptypescript
\starttypescript[someinstance]
\definetypeface [someinstance] [rm] [serif] [somecollection] [default]
\stoptypescript
and then
\usetypescript[someinstance]
\setupbdyfont[someinstance]
or just
\definetypeface [someinstance] [rm] [serif] [somecollection] [default]
\setupbdyfont[someinstance]
so, the name typescript maps names and if you have conflicts, you can
best use filenames there
then you define a typeface either or not using a typescript (depends on
reuse) .. you need to make sure that it's 'expanded'
then you enable the bodyfont
now, in your code, some auto loading of a type-imp-* file kicks in, so
if you'd put your code in such a file (say type-imp-xxx.mkiv), the
\setupbodyfont[xxx] would have loaded that one
(try with \tracetypescriptstrue)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-04-20 13:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 20:50 Hans Hagen
2012-03-16 21:03 ` Aditya Mahajan
2012-03-16 22:00 ` Hans Hagen
2012-03-16 22:08 ` Meer, H. van der
2012-03-16 22:10 ` Hans Hagen
2012-04-06 21:15 ` Mari Voipio
2012-04-06 21:25 ` Hans Hagen
2012-04-13 17:12 ` Mari Voipio
2012-04-13 17:40 ` Wolfgang Schuster
2012-04-13 18:06 ` Mari Voipio
2012-04-18 11:37 ` Mari Voipio
2012-04-20 13:24 ` Mari Voipio
2012-04-20 13:59 ` Hans Hagen [this message]
2012-04-21 9:36 ` Wolfgang Schuster
2012-04-21 11:52 ` Mari Voipio
2012-04-24 16:57 ` Mari Voipio
2012-04-24 17:53 ` Wolfgang Schuster
2012-04-25 19:10 ` Mari Voipio
2012-04-29 10:24 ` 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=4F916BCB.6090903@wxs.nl \
--to=pragma@wxs.nl \
--cc=mari.voipio@iki.fi \
--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).