I want to print the postscript image in Japanese.

Asked 2 years ago, Updated 2 years ago, 87 views

I printed a postscript mapping image using a program called WEBSOM (self-organizing map), but the words that I entered in Japanese are displayed as characters.

I opened the postscript from a text editor, but how do I control the display in Japanese?

Attach a link to the source.

Source

have a character code specified I replaced Helvetica with Gothic, but it was only converted into Chinese characters.

font garbled-characters japanese postscript

2022-09-30 19:29

1 Answers

Unfortunately, I guess it might be difficult.

With this much information, I can only guess due to lack of information.

First of all, I think the easiest way to display an eps file on the screen is to open (double-click) the file on MacOS X.This is the most powerful way to put PostScript files on the screen.If it doesn't come out, it probably won't come out correctly.

Also, in the program that outputs PostScript, the actual encoding used in the actual character part and the font encoding do not match, so if you try to put out kanji, the display will look like this.

In order for PostScript to display Japanese characters correctly, if the PostScript code is not written to use an embedded string encoding for display, it will not display correctly.In other words, you must be aware of the encoding, set it up, and write the string with the specified encoding.

In fact, as for the sample shown, Alpha-numerical Helvetica is selected for the font selection, and although there are some parts that seem to be the code to be displayed, it is Helvetica at present.Judging from the font selection method, encoding seems to be used for ASCII characters without thinking about it.I understand that it is UTF-8, so I think it will work if you select the appropriate CID font and write a patch with CMap between it, but I think it will take some time.


2022-09-30 19:29

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.