|
From: Ethan A M. <merritt@u.washington.edu> - 2008-07-07 00:31:20
|
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.
|