ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Protusion and spurios empty line
@ 2020-10-01 14:58 Denis Maier
  2020-10-02 16:11 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Maier @ 2020-10-01 14:58 UTC (permalink / raw)
  To: ntg-context

Hi,

I'm getting emtpy lines after paragraph breaks, where the last character 
is just squeezed in. Looks like it has to do with the bidi mechanism. 
Commenting out this line removes the effect. (Somewhat long) Example below.

Is there a fix for that?

Best
Denis

====

% uncomment this to see the effect!
%\setupdirections[bidi=global,method=unicode]

\mainlanguage[de]
\setupitaliccorrection[global, always]
\setupbodyfontenvironment[default][em=italic]
\setupfontprotrusion [quality] [left=0]
\definefontfeature[default][default][
	script=latn,
	protrusion=quality,
	expansion=quality,
	itlc=yes,
	textitalics=yes,
	onum=yes,
	pnum=yes,
	]
\definefontfeature[smallcaps][
	script=latn,
	protrusion=quality,
	expansion=quality,
	smcp=yes,
	onum=yes,
	pnum=yes,
	]
\definefontfamily[mainface][rm][Cardo]
\setupbodyfont[mainface,11pt]
\setuppapersize[A4][A4]
\setuplayout[
     backspace=35mm,
     width=140mm,
     topspace=35mm,
     header=0mm,
	height=240mm,
     ]
\setuphead [chapter][
	alternative=left,
	page=no,
	indentnext=no,
	style=normal]

\showframe
	
\starttext

\title{Philipp Lenhard. {\em Friedrich Pollock: Die graue Eminenz der 
Frankfurter Schule.} Berlin: Jüdischer Verlag im Suhrkamp Verlag, 2019. 
383 Seiten, EUR 32.–, ISBN 978-3-633-54299-4}

\input ward

\title{Philipp Lenhard. {\em Friedrich Pollock: Die graue Eminenz der 
Frankfurter Schule.} Berlin: Jüdischer Verlag im Suhrkamp Verlag, 2019. 
383 Seiten, EUR 32.–, ISBN 978-3-633-54299-}

\input ward
\stoptext

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2020-10-03  7:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 14:58 Protusion and spurios empty line Denis Maier
2020-10-02 16:11 ` Hans Hagen
2020-10-02 20:34   ` Denis Maier
2020-10-03  7:16     ` Wolfgang Schuster

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