ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* typescript and font features bug?
@ 2008-09-19 13:35 Zhaopeng Xing
  2008-09-19 13:36 ` Zhaopeng Xing
  2008-09-20 10:54 ` Hans Hagen
  0 siblings, 2 replies; 12+ messages in thread
From: Zhaopeng Xing @ 2008-09-19 13:35 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-09-21 16:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-19 13:35 typescript and font features bug? Zhaopeng Xing
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

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).