Hello,

Yet another new ConTeXt user here. To briefly introduce myself, I am a
computer scientist interested in typography as a hobby. Up to now, I
did most things in LaTeX (sometimes resorting to ugly TeX hacking).
Recently I gave ConTeXt MkIV a try and am quite happy with it.

Now my question: I have some problems with the vertical alignment of
\framed and some slanted fonts. Using the latest beta, the test file
at the end of this message adds a slight whitespace in the two last
blocks (using a slanted font). This does not happen when using the
default Latin Modern font. Is this a bug or am I doing something
wrong?

Vianney

\showstruts
\usemodule[simplefonts]
\setmainfont[Tex Gyre Bonum]
\setupframed
  [frame=none,
   offset=0pt,
   location=top]
\defineoverlay[bg][]
\starttext
\strut First line\par
\strut Second line\par
\strut Third line\par

\blank

\strut First line\par
\framed{\strut Second line}\par
\strut Third line\par

\blank\sl

\strut First line\par
\strut Second line\par
\strut Third line\par

\blank

\strut First line\par
\framed{\strut Second line}\par
\strut Third line\par

\blank

\strut First line\par
\framed[background=bg]{\strut Second line}\par
\strut Third line\par
\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to