ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: Re: LuaTeX + microtype: Small Caps vs. Letter Spacing
Date: Wed, 15 Jun 2011 10:59:19 +0200	[thread overview]
Message-ID: <pr7imog76ivq.dlg@nililand.de> (raw)
In-Reply-To: <4DF86052.8020600@wxs.nl>

Am Wed, 15 Jun 2011 09:33:38 +0200 schrieb Hans Hagen:

> On 14-6-2011 9:52, N. Lindenhayn wrote:
> 
>> \documentclass{scrartcl}
>> \usepackage{fontspec,microtype}
>> \setmainfont{Minion Pro}%or TeX Gyre Termes, or Latin Modern Roman...
>> \begin{document}
>> stealing sheep\par
>> \textls{stealing sheep}\par
>> \textsc{stealing sheep}\par
>> \textls{\textit{stealing sheep}}\par
>> \textls{\textbf{stealing sheep}}\par
>> \textls{\textsc{stealing sheep}}
>> \end{document}
> 
> on this list you should provide an example using context macros

At first I thought that it is a pure latex problem which should
better go at comp.text.tex or the lualatex mailing list. But it
could be that there is (context) font code or luatex problem.

With ConTeXt  ver: 2011.06.13 23:08 MKIV  fmt: 2011.6.15  (from the
minimals) the following fails:

\starttext

\font\test=file:fxlr.otf
\test abc \letterspacefont\lspfont=\font 500 \lspfont blub

%breaks: letterspaced font is not small small caps:
\font\test=file:fxlr.otf:mode=node;+smcp
\test abc \letterspacefont\lspfont=\font 500 \lspfont blub

%letterspacefont works:
\font\test=file:fxlr.otf:mode=base;+smcp
\test abc \letterspacefont\lspfont=\font 500 \lspfont blub

\stoptext

(fxlr.otf are the linux libertine O fonts as you get them in the
libertine package on CTAN. But probably the problem can be tested
with every font where small caps are implemented with +smcp). 

-- 
Ulrike Fischer 

___________________________________________________________________________________
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:[~2011-06-15  8:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1523.1308061714.4231.ntg-context@ntg.nl>
2011-06-14 19:52 ` N. Lindenhayn
2011-06-15  7:33   ` Hans Hagen
2011-06-15  8:59     ` Ulrike Fischer [this message]
2011-06-15  9:48       ` Hans Hagen
2011-06-15 10:51         ` Ulrike Fischer
2011-06-15 11:31           ` Hans Hagen
2011-06-15 17:12             ` N. Lindenhayn
2011-06-15 17:33               ` 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=pr7imog76ivq.dlg@nililand.de \
    --to=news3@nililand.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).