From: Oliver Mihatsch <oliver.mihatsch@mchp.siemens.de>
Subject: Re: Multiple Problems with font handling
Date: Fri, 1 Mar 2002 10:35:28 +0100 [thread overview]
Message-ID: <200203010935.g219ZS8E013945@zaire.mchp.siemens.de> (raw)
In-Reply-To: <5.1.0.14.1.20020301011839.03572f60@server-1>
On Friday 01 March 2002 01:19, Hans Hagen wrote:
> At 05:38 PM 2/28/2002 +0100, Oliver Mihatsch wrote:
> >The minimal example I provided works perfectly now. However, when using
> > \tfa the hanging puntuation breakes. E.g.
> > ...
> >Interestingly, \tfx does not switch off the hanging puntuation.
> >Also, \switchtobodyfont[...] seems to be ok.
> >(Btw. Is it normal that neither \tfa nor \tfx adapt the interline spaces?)
>
> i tracked down the problem and repaired it (trivial patch actually but it
> took me a while to locate it); has to do with taking care of persistent
> font assignments and preventing duplicate defs
>
> I'll send you the patch for testing
>
Thank you, Hans, for your quick and helpful answer. With your patch all my
problematic examples do work now. Unfortunately, I have got a new one :-(
It concernes hanging punctuation when \tfx or \switchtobodyfont[small] are
present. Under normal circumstances there is no problem. However, a
preceeding \switchtobodyfont[big]\switchtobodyfont[big] leads to an
unexpected side effect. Hanging punctuation in all subsequent paragraphs with
\tfx or \switchtobodyfont[small] fails.
See the following example.
\setupoutput[pdftex]
\usetypescript[serif][hanging][pure]
\setupalign [hanging]
\definetypeface[modern][rm][serif][computer-modern][default][handling=pure]
\showframe
\starttext
\modern
% Hanging punctuation whith \tfx or \switchtobodyfont[small] works
{\tfx\setupinterlinespace\input tufte \par} % ok
{\switchtobodyfont[small]\input tufte \par} % ok
% Hanging punctuation in the following paragraph works.
% However, it has side effects on the subsequent paragraphs.
{\switchtobodyfont[big]\switchtobodyfont[big]\input tufte \par} % ok
% For some reason hanging punctuation is switched off now.
{\tfx\setupinterlinespace\input tufte \par} % no hanging :-(
{\switchtobodyfont[small]\input tufte \par} % no hanging :-(
\stoptext
Oliver
next prev parent reply other threads:[~2002-03-01 9:35 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-26 11:06 Oliver Mihatsch
2002-02-27 19:51 ` Hans Hagen
2002-02-28 14:05 ` Oliver Mihatsch
2002-02-28 14:13 ` Frans Goddijn
2002-02-28 16:22 ` Oliver Mihatsch
2002-02-28 18:51 ` Henning Hraban Ramm
2002-02-28 16:38 ` Oliver Mihatsch
2002-02-28 18:54 ` Henning Hraban Ramm
2002-02-28 20:56 ` W. Egger
2002-02-28 21:54 ` Hans Hagen
2002-02-28 22:16 ` Hans Hagen
2002-03-01 15:54 ` Henning Hraban Ramm
2002-03-02 12:59 ` Hans Hagen
2002-03-01 0:19 ` Hans Hagen
2002-03-01 9:35 ` Oliver Mihatsch [this message]
2002-03-02 13:20 ` Hans Hagen
2002-03-04 9:32 ` Oliver Mihatsch
2002-03-04 10:06 ` Hans Hagen
2002-03-04 14:42 ` Oliver Mihatsch
2002-03-04 18:55 ` Hans Hagen
2002-03-05 8:18 ` Oliver Mihatsch
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=200203010935.g219ZS8E013945@zaire.mchp.siemens.de \
--to=oliver.mihatsch@mchp.siemens.de \
/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).