From: Peter Rolf <indiego@gmx.net>
Subject: strutheight and (german) umlauts
Date: Mon, 28 Aug 2006 17:03:19 +0200 [thread overview]
Message-ID: <44F305B7.60209@gmx.net> (raw)
Hi,
I just run into the problem, that \strutheight is lower than the height
of some german umlauts (ÄÖÜ).
% -----
\setupoutput[pdftex]
\mainlanguage[german]
\setupcolors[state=start]
\starttext
\showstruts
\def\FOO#1{\framed[frame=off,background=color,backgroundcolor=green]{#1\strut}}
\hbox{\FOO{AOU}\FOO{ÄÖÜ}}
\stoptext
% -----
Is this intended (and if so, why)?
I need this for several boxes with a mp overlay as background and
centered text. The height of the boxes is equal, so all text should be
placed on the same baseline. Currently I box the text and set the height
manually to \strutheight. But a more "global" solution would be prefered.
Should I define my own gfx strut or just add one of those umlauts to
\setfontstrut or ...? Dunno what is the best solution.
Greetings, Peter
next reply other threads:[~2006-08-28 15:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-28 15:03 Peter Rolf [this message]
2006-08-28 19:43 ` Hans Hagen
2006-08-28 20:42 ` Peter Rolf
2006-08-28 21:37 ` 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=44F305B7.60209@gmx.net \
--to=indiego@gmx.net \
--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).