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: definetypeface confusion
Date: Wed, 25 Apr 2007 14:54:28 +0200	[thread overview]
Message-ID: <115224fb0704250554r5fe68c59sc256c0916067c7b@mail.gmail.com> (raw)
In-Reply-To: <m1mz0wd3ze.fsf@levana.de>


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

2007/4/25, Patrick Gundlach <patrick@gundla.ch>:
>
> Hi there,
>
> I am a bit confused about \definetypeface. I try to mix some
> self-installed otf-fonts. Serif works fine, but I can't get the sans
> variant to work:
>
> \definetypeface [chaparral][rm][serif]
> [chaparral][default][encoding=texnansi]
> \definetypeface [myriad]   [ss][sans]  [myriad]
> [default][encoding=texnansi]
>
> \ss does not switch to myriad (instead, ConTeXt uses lmss), but \myriad
> does! So I think that the font is installed correctly and the
> typescript is not completely broken.
>
> How should the \setupbodyfont look like? My current setup is:
> \setupbodyfont[chaparral,14pt]
>
> What other information do you need?
>
> Patrick


Hi Patrick,

I'm myself not a font expert but one of the next two solutions should work.

\setupbodyfont[chaparral,myriad,14pt]

with your current \definetypeface settings

or

\definetypeface
[mytypeface][rm][serif][chaparral][default][encoding=texnansi]
\definetypeface [mytypeface][ss][sans] [myriad]
[default][encoding=texnansi]

\setupbodyfont[mytypeface]

Gruß
Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1480 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:[~2007-04-25 12:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 12:37 Patrick Gundlach
2007-04-25 12:48 ` Thomas A. Schmitz
2007-04-25 13:15   ` Patrick Gundlach
2007-04-25 13:36     ` Wolfgang Schuster
2007-04-25 17:49       ` Patrick Gundlach
2007-04-25 12:54 ` Wolfgang Schuster [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=115224fb0704250554r5fe68c59sc256c0916067c7b@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).