|
From: Philipp K. J. <ja...@ie...> - 2008-07-07 01:26:42
|
I see. Thanks.
This does not just affect {}, though, but seems
to be a problem with the escape-mechanism.
Stuff, like \~etc also does not work as expected.
Has this been introduced relatively recently? E.g.
as consequence of including support for multibyte
char sets?
Best,
Ph.
On Sunday 06 July 2008 17:29, you wrote:
> On Sunday 06 July 2008, Philipp K. Janert wrote:
> > There seem to be some inconsistencies regarding
> > the behaviour of "escape" characters when using
> > enhanced text mode with Postscript terminals.
> >
> > According to the documentation, backslashes
> > escape control characters. Furthermore, single
> > backslashes should be used with single-quoted
> > strings, but double backslashes with double-quoted
> > strings.
> >
> > Here are the commands:
> > set label 1 at 0,0 "f\\{x\\}"
> > set label 2 at 0,1 'f\{x\}'
> > plot [-1:1][-1:2] 3
>
> This is a known bug.
> # 1968636 incorrect treatment of '\{' and '\}' in postscript
>
> It would be easy to fix, except that it may have bad side effects for
> multibyte encodings, in particular SJIS and EUC. Shige Takeno was
> kind enough to investigate the earlier escape sequences.
> Perhaps he could do the same for this pair as well.
>
> Ethan
>
> > This should create two labels, looking like:
> > f{x}
> >
> > Everything looks good (as expected) using
> > wxt enhanced.
> >
> > But when using Postscript, I find output that
> > looks like this:
> > f\x\
> > for both labels.
> >
> > Is this a known issue?
> >
> > Best,
> >
> > Ph.
|