質問

だから文書メディアセクションの定義です

"%% DocumentMedia:

     <medianame> ::= <text> (Tag name of the media)
     <attributes> ::= <width> <height> <weight> <color> <type>
     <width> ::= <real> (Width in PostScript units)
     <height> ::= <real> (Height in PostScript units)
     <weight> ::= <real> (Weight in g/m2)
     <color> ::= <text> (Paper color)
     <type> ::= <text> (Type of pre-printed form)
.

このコメントは、あらゆる種類の紙媒体(紙のサイズ、重さ、 色)この文書には必要です。いずれかの属性がない場合 特定の印刷状況に適用される、ゼロは 数値パラメータとヌル文字列を代入する必要があります テキストパラメータの場合。必要なそれぞれの異なる媒体があるべきです 使用される降順数量の概算に列挙されています。 "

私はそれに二重バイト文字(Unicode)を出力しようとしています。 これらの文字がメディアの名前に許可されているかどうか知っていますか?

ありがとう

役に立ちましたか?

解決

'allowed' is a bit nebulous. However since the definition of text strings says that a text string is composed of 'printable characters' I think its reasonable to say no, the inital byte of a Unicode value would not be a 'printable character.

Bear in mind that DSC is a very old standard, its fairly obvious it only expects ASCII. Since PostScript does not support Unicode I would have to say that its unlikely that DSC would do so.

It isn't absolutely clear this is so, because DSC comments are comments to a PostScript interpreter, and so ignored. But that's my opinion.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top