Am 04.01.2009 um 20:30 schrieb Alan STONE:
On Sun, Jan 4, 2009 at 6:35 PM, Wolfgang Schuster
wrote:
Am 04.01.2009 um 18:26 schrieb Alan STONE:
\starttext
\setbox\scratchbox\hbox{\switchtobodyfont[38pt]Text In A Frame}
\the\htdp\scratchbox
\stoptext
From this example I conclude TeX does not do what you tell it to do.
I must be missing something... ?
What do you not understand in my example?
From what I understand of it: asked 38pt, output 26.18pt
The 26.18pt are only the height of the sample text, not each character has the height of the font size which includes the height and depth. You can see here the output is correct and only characters with large height and depth match the given fontsize. \starttext \setbox\scratchbox\hbox{\switchtobodyfont[38pt](} \the\htdp\scratchbox % 37.45pt \stoptext I show you in another example why you value for the interlinespace is to small for characters with depth. \starttext \vbox {\switchtobodyfont[38pt] \setupinterlinespace[line=30pt] \lineskiplimit-\maxdimen Big text\crlf written in\crlf three rows\par} \stoptext Wolfgang