ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Zhaopeng Xing" <zpxing@gmail.com>
To: ntg-context@ntg.nl
Subject: typescript and font features bug?
Date: Fri, 19 Sep 2008 15:35:05 +0200	[thread overview]
Message-ID: <72c60e910809190635ye024240la2bc59253e544253@mail.gmail.com> (raw)


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

Hi all,

I am using the latest minimal and try to compile the following two files
with luatex. The second file, using typescript and font features together,
get a serious problem with the final pdf: punctuation centered unexpectedly
in lines. For the first files, with no font features specified, it is OK. I
do not know whether someone else can replicate this problem. But it
happended on my laptop. All compiled are attached in this email.

%FILE1: test1.tex
\starttypescript[serif][myserif][name]
\definefontsynonym[Serif][MinionPro-Regular][]
\stoptypescript

\definetypeface [myserif] [rm] [serif] [myserif]   [default]
\usetypescript[myserif]
\setupbodyfont[myserif,rm,12pt]

\starttext
\input zapf
\stoptext


%FILE2: test2.tex
\definefontfeature[minion][language=dflt, script=latn, mode=node,
                           frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes,
                           protrusion=quality, expansion=quality]
\starttypescript[serif][myserif][name]
\definefontsynonym[Serif][MinionPro-Regular][features=minion]
\stoptypescript

\definetypeface [myserif] [rm] [serif] [myserif]   [default]
\usetypescript[myserif]
\setupbodyfont[myserif,rm,12pt]

\starttext
\input zapf
\stoptext



-- 
Zhaopeng XING

Tinbergen Institute

[-- Attachment #1.2: Type: text/html, Size: 1694 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
___________________________________________________________________________________

             reply	other threads:[~2008-09-19 13:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19 13:35 Zhaopeng Xing [this message]
2008-09-19 13:36 ` Zhaopeng Xing
2008-09-19 13:39   ` Zhaopeng Xing
2008-09-20 11:00   ` Hans Hagen
2008-09-20 16:24     ` Zhaopeng Xing
2008-09-20 17:53       ` Jianning Dong
2008-09-21  5:26     ` Yue Wang
2008-09-21 16:07       ` Hans Hagen
2008-09-21  5:36     ` Yue Wang
2008-09-21  7:23       ` Yue Wang
2008-09-21 16:03         ` Hans Hagen
2008-09-20 10:54 ` 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=72c60e910809190635ye024240la2bc59253e544253@mail.gmail.com \
    --to=zpxing@gmail.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).