ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Herbert Voss <Herbert.Voss@FU-Berlin.DE>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: font features
Date: Wed, 17 Nov 2010 20:15:12 +0100	[thread overview]
Message-ID: <4CE429C0.5080000@FU-Berlin.DE> (raw)

What is wrong with my font setting for libertine
that the fontsize is reset when activating a font feature.
For latin modern it is ok.
the output:http://perce.de/temp/xxx.png

Herbert

\starttypescriptcollection[mylibertine]
\starttypescript[serif][libertine][name]
  \definefontsynonym[Serif][name:Linux Libertine O][features=default]
\stoptypescript
\starttypescript[sans][biolinum][name]
  \definefontsynonym[Sans][name:Linux Biolinum O][features=default]
\stoptypescript
\starttypescript[mylibertine]
   \definetypeface[mylibertine][rm][serif][libertine][default]
   \definetypeface[mylibertine][ss][sans] [biolinum] [default]
\stoptypescript
\stoptypescriptcollection

\setupbodyfont[modern,12pt]
\definefontfeature[noLigNoKern][zero=yes,liga=no,kern=no]
\font\myNoLigNoKern=lmroman12-regular*noLigNoKern

\starttext

Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.
\par\myNoLigNoKern
Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.

\setupbodyfont[mylibertine,12pt]
{\font\myNoLigNoKern=fxlr*noLigNoKern
Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.
\par\myNoLigNoKern
Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.}

\setupbodyfont[mylibertine,12pt]\ss
\font\myNoLigNoKern=fxbr*noLigNoKern
Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.
\par\myNoLigNoKern
Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.

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

             reply	other threads:[~2010-11-17 19:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 19:15 Herbert Voss [this message]
2010-11-17 20:55 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2022-11-03 11:37 Thomas A. Schmitz via ntg-context
2022-11-03 11:52 ` Herbert Voss via ntg-context
2022-11-03 12:19   ` Thomas A. Schmitz via ntg-context
2022-11-03 17:57   ` Hans Hagen via ntg-context
2022-11-03 12:20 ` Henning Hraban Ramm via ntg-context
2022-11-03 12:27   ` Henning Hraban Ramm via ntg-context
2022-11-03 13:03     ` Thomas A. Schmitz via ntg-context
2022-11-03 18:24       ` Hans Hagen via ntg-context
2022-11-03 19:38         ` Thomas A. Schmitz via ntg-context
2009-05-15  2:06 Font features Vyatcheslav Yatskovsky
2009-05-15  6:21 ` Wolfgang Schuster
2009-05-15 12:23   ` Idris Samawi Hamid ادريس سماوي حامد
2009-05-15 12:41     ` Alex Lubberts
2009-05-15 14:22       ` Hans Hagen

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=4CE429C0.5080000@FU-Berlin.DE \
    --to=herbert.voss@fu-berlin.de \
    --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).