From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Tracking in MKII and MKIV
Date: Tue, 16 Aug 2011 10:23:13 +0200 [thread overview]
Message-ID: <4E4A28F1.9010006@wxs.nl> (raw)
In-Reply-To: <6E564668-96CA-4116-8B8C-394E3EE7E1BA@synterein.com>
On 16-8-2011 2:22, Raymond LeClair wrote:
> The graphic designer tells me it is very common to specify the interletter spacing, or tracking, and in fact, he considers this capability to be essential.
intercharacter spacing is ok for titling but for running text ... maybe
common but not that good (after all it spoils the font design)
> I understand that these, so called, microtypography capabilities are present in pdfTeX fully, but only partially present in LuaTeX (protrusion and expansion), although tracking can be set in a way using \kerncharacters[0.5] in LuaTeX.
pdftex has some inter character kerning features but they are considered
to be experimental and in context they are supported (see hand-ini.mkii)
but I must admit that I never used it and have forgotten how to enable it
> However, the quality of the typesetting produced by LuaTeX is completely inadequate, while the quality of the typesetting produced by pdfTeX is very good.
nu clue (yet) but i might as well remove the old mechanism from mkiv as
we have better ways
> Am I miss-understanding the differences in capability between pdfTeX and LuaTeX in this regard?
yes, see example below (somewhat changed so you might want to wikify it
as example (it will confuse mojca's number of hits filters as 'twitter'
and 'ladygaga' might lead to false google lookups).
\definepapersize[LG1][width=9.24in,height=6.87in]
\definepapersize[LP1][width=9.49in,height=7.12in]
\setuppapersize[LG1][LP1]
\setuplayout[location=middle,marking=off]
\definefont[LabelFont][Serif sa 0.583]
\definecharacterkerning [mykerning] [factor=.5]
\startbuffer
THIS BOOK CONTAINS 988 TWEETS POSTED TO
TWITTER BY LADYGAGA FROM MARCH 27, 2008
TO AUGUST 5, 2011. IT WAS PUBLISHED ON
DEMAND ON AUGUST 14, 2011
\stopbuffer
\startsetups covertext
\framed
[
width=2.38888888889in,
align=normal,
frame=off,
offset=0pt,
foregroundstyle=\LabelFont
]
{
\baselineskip10.5pt
\setcharacterkerning[mykerning]
\getbuffer
\par
}
\stopsetups
\startuniqueMPgraphic{cover}
StartPage ;
left_margin := 0.347222222222in ;
top_margin := 0.347222222222in ;
draw
textext.lrt("\setups[covertext]")
shifted ulcorner Page
shifted (left_margin,-top_margin) ;
StopPage ;
\stopuniqueMPgraphic
\defineoverlay[cover][\uniqueMPgraphic{cover}]
\definelayer
[page]
[width=\paperwidth,
height=\paperheight]
\showframe
\starttext
% variant one:
\setupbackgrounds
[paper]
[background={cover}]
\startstandardmakeup\stopstandardmakeup \page
\setupbackgrounds
[paper]
[background=]
% variant two:
\setlayer
[page]
[preset=lefttop,
offset=0.347222222222in]
{\setups[covertext]}
\setuplayout
[page]
\tightlayer[page] \page
\setuplayout
\stoptext
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-08-16 8:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-16 0:22 Raymond LeClair
2011-08-16 8:02 ` Wolfgang Schuster
2011-08-16 8:23 ` Hans Hagen [this message]
2011-08-16 8:37 ` Hans Hagen
2011-08-16 23:11 ` 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=4E4A28F1.9010006@wxs.nl \
--to=pragma@wxs.nl \
--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).