[NTG-context] makempy (pstoedit <-> gs) hangs

Hans Hagen pragma at wxs.nl
Tue Jul 24 09:51:25 CEST 2007


Wolfgang Werners-Lucchini wrote:
> Hallo!
> 
>>> the following code let ghostscript fail.
>>> What is wrong her?
>>>
>>> Wolfgang
>>>
>>> \setupcolors  [state=start]
>>> \starttext
>>> \useMPlibrary[txt]
>>> \startlinecorrection
>>> \TightText{\ss\bf 123}{0cm}{3cm}{red}
>>> \stoplinecorrection
>>> \stoptext
>>> %
>>> %ConTeXt  ver: 2007.07.03 19:38 MKII
>>> %pstoedit: version 3.44 / DLL interface 108
>>> %GPL Ghostscript 8.57 (2007-05-11)
> 
> Don't know if this matters! But the temporary created pdf (input for 
> pstoedit) is a bit smaller then the string to render '123'. The 
> overshut of the round charakters '2' and '3' is cut.

try \ruledhbox{...} and you will observe similar effects, traditional 
tex has alimited number of heights and depths for fonts and glyphs 
themselves may have a practical boundingbox different from the tight 
fitting one; just add struts or enlarge the box

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list