xpdf-3.00 package for SuSE 9.0
xpdf 3.00 can use CID-keyed fonts for display and for embedding in the
PostScript output created for printing now.
The following updated packages for SuSE 9.0 are setup to use this
feature:
ftp://ftp.suse.com/pub/people/mfabian/9.0/i586/xpdf-3.00-33.i586.rpm
ftp://ftp.suse.com/pub/people/mfabian/9.0/src/xpdf-3.00-33.src.rpm
Together with the CID-keyed font packages available from
(or from your SuSE 9.0 CD set):
ftp://ftp.suse.com/pub/suse/i386/9.0/suse/noarch/CID-keyed-fonts-MOE-20021114-105.noarch.rpm
ftp://ftp.suse.com/pub/suse/i386/9.0/suse/noarch/CID-keyed-fonts-Munhwa-20021114-105.noarch.rpm
ftp://ftp.suse.com/pub/suse/i386/9.0/suse/noarch/CID-keyed-fonts-Wada-20021114-105.noarch.rpm
ftp://ftp.suse.com/pub/suse/i386/9.0/suse/noarch/CID-keyed-fonts-WadaH-20021114-105.noarch.rpm
ftp://ftp.suse.com/pub/suse/i386/9.0/suse/src/CID-keyed-fonts-MOE-20021114-105.src.rpm
you should be able to display Japanese, Korean and traditional Chinese
Documents which don't already embed the CJK fonts nicely with
anti-aliasing.
In case of Korean and traditional Chinese, I did set it up to embed
the same CID-keyed-fonts also for printing.
In case of Japanese I configured xpdf by default not to embed the
Wadalab fonts by defaults because they look rather ugly. Instead xpdf
write the standard PostScript names
Ryumin-Light-EUC-H
GothicBBB-Medium-EUC-H
into the PostScript output. A Japanese PostScript printer or
Ghostscript with the ghostscript-cjk package and suitable Japanese
TrueType fonts installed can render this nicer compared to embedding
the Wadalab fonts.
Simplified Chinese doesn't work because there are no free CID-keyed
fonts for simplified Chinese as far as I know.
I tested this only for Japanese and Korean because I couldn't find a
traditional Chinese .pdf document which has *not* already embed all
fonts embedded. Can anybody tell me where I can find such a .pdf
document for testing?
--
Mike FABIAN
Dear Mike FABIAN, On Wed, Mar 10, 2004, Mike FABIAN wrote:
Simplified Chinese doesn't work because there are no free CID-keyed fonts for simplified Chinese as far as I know.
I tested this only for Japanese and Korean because I couldn't find a traditional Chinese .pdf document which has *not* already embed all fonts embedded. Can anybody tell me where I can find such a .pdf document for testing?
Maybe you can try this file, http://edt1023.sayya.org/tex/mycjk/mycjk.pdf or, http://mathnet.math.tku.edu.tw/~edt1023/tex/mycjk/mycjk.pdf Edward
"Edward G.J. Lee"
Thank you, that file works fine with xpdf-3.00 and CID-keyed-fonts-MOE.
--
Mike FABIAN
Am Mittwoch März 10 2004 17:50 schrieb Mike FABIAN:
xpdf 3.00 can use CID-keyed fonts for display and for embedding in the PostScript output created for printing now. ....
maybe a stupid question: But how can I print such a PDF file (I used the mycjk.pdf file)? pdf2ps will not work in my installation of SuSE V9 (updated) Ulrich Groh
ugroh@t-online.de (U. Groh) さんは書きました:
Am Mittwoch März 10 2004 17:50 schrieb Mike FABIAN:
xpdf 3.00 can use CID-keyed fonts for display and for embedding in the PostScript output created for printing now. ....
maybe a stupid question: But how can I print such a PDF file (I used the mycjk.pdf file)? pdf2ps will not work in my installation of SuSE V9 (updated)
You can use "pdftops" (from xpdf) instead of "pdf2ps" (from
Ghostscript). Or use the "print" button in the xpdf menu.
I cannot reproduce the problem with pdf2ps on SuSE Linux 9.0-i386
though. Works for me on that file. Did you change/update something in
your ghostscript-* packages?
Or, maybe you use a different platform? pdf2ps did *not* work
for me on mycjk.pdf on SuSE Linux 9.0-x86_64. On that platform it
fails with
mfabian@rossini:~/test-texts/pdf/traditional-chinese$ pdf2ps mycjk.pdf
Error: /rangecheck in --.buildfont11--
Operand stack:
--dict:5/5(L)-- F6 20.663 --dict:6/6(L)-- --dict:6/6(L)-- ZTUSUM+ZenKai-Medium --dict:10/12(ro)(G)-- --nostringval-- --dict:7/7(L)-- --dict:7/7(L)-- 92594 --dict:7/7(L)-- (8000000F) --dict:13/20(L)-- CIDFont (8000000F) (8000000F) --dict:13/20(L)--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- 19 1 39 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- 15 9 %oparray_pop --nostringval-- --nostringval-- --nostringval-- 17 10 %oparray_pop --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1058/1417(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:73/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)-- --dict:19/24(L)-- --dict:4/6(L)-- --dict:23/31(L)-- --dict:16/24(ro)(G)--
Current allocation mode is local
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
mfabian@rossini:~/test-texts/pdf/traditional-chinese$ cat /etc/SuSE-release
SuSE Linux 9.0 (x86-64)
VERSION = 9.0
mfabian@rossini:~/test-texts/pdf/traditional-chinese$
Do you see the same error message?
--
Mike FABIAN
Mike, Am Samstag März 13 2004 13:38 schrieben Sie:
You can use "pdftops" (from xpdf) instead of "pdf2ps" (from Ghostscript). Or use the "print" button in the xpdf menu.
Now it is working but still a lot of error messages if I use pdf2ps.
I cannot reproduce the problem with pdf2ps on SuSE Linux 9.0-i386 though. Works for me on that file. Did you change/update something in your ghostscript-* packages?
No, I just downloaded the version you posted (Adobe support). But the problem also occured before.
Or, maybe you use a different platform? pdf2ps did *not* work for me on mycjk.pdf on SuSE Linux 9.0-x86_64. On that platform it fails with
mfabian@rossini:~/test-texts/pdf/traditional-chinese$ pdf2ps mycjk.pdf Error: /rangecheck in --.buildfont11-- Operand stack:
Do you see the same error message?
Yes, this is the same sort of messages. See the error.txt file for details I am running my system V9 on a IBM Laptop with Intel mobile (centrino type) processor. Is this the source of the problem? Ulrich
ugroh@t-online.de (U. Groh) さんは書きました:
You can use "pdftops" (from xpdf) instead of "pdf2ps" (from Ghostscript). Or use the "print" button in the xpdf menu.
Now it is working but still a lot of error messages if I use pdf2ps.
By the way, you will also get a better quality when using pdftops instead of pdf2ps, even if pdf2ps works.
I cannot reproduce the problem with pdf2ps on SuSE Linux 9.0-i386 though. Works for me on that file. Did you change/update something in your ghostscript-* packages?
No, I just downloaded the version you posted (Adobe support). But the problem also occured before.
You mean you downloaded the ghostscript-cjk package? I don't think that makes any difference here. I was asking about the other ghostscript packages like ghostscript-library.
Or, maybe you use a different platform? pdf2ps did *not* work for me on mycjk.pdf on SuSE Linux 9.0-x86_64. On that platform it fails with
mfabian@rossini:~/test-texts/pdf/traditional-chinese$ pdf2ps mycjk.pdf Error: /rangecheck in --.buildfont11-- Operand stack:
Do you see the same error message?
Yes, this is the same sort of messages. See the error.txt file for details
No, your error message is quite different, it complains about a missing font "ShanHeiSun-Light". Therefore I think this is not related at all to the problem I am seeing on 9.0-x86_64.
I am running my system V9 on a IBM Laptop with Intel mobile (centrino type) processor. Is this the source of the problem?
I don't think so, it works fine for me on SuSE 9.0 on my IBM Thinkpad
600E (Mobile Pentium II).
--
Mike FABIAN
...........
By the way, you will also get a better quality when using pdftops instead of pdf2ps, even if pdf2ps works.
OK, I will use pdftops (sometime I am puzzled about the different programs available).
................
You mean you downloaded the ghostscript-cjk package? I don't think that makes any difference here. I was asking about the other ghostscript packages like ghostscript-library.
This is installed (all what needed I guess)
No, your error message is quite different, it complains about a missing font "ShanHeiSun-Light".
????????? what is that?
-- Mike FABIAN
http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
ugroh@t-online.de (U. Groh) さんは書きました:
You mean you downloaded the ghostscript-cjk package? I don't think that makes any difference here. I was asking about the other ghostscript packages like ghostscript-library.
This is installed (all what needed I guess)
No, your error message is quite different, it complains about a missing font "ShanHeiSun-Light".
????????? what is that?
It is the PostScript name of bsmi00lp.ttf, one of the Arphic PL fonts:
mike@kibou:~/test-texts/pdf/traditional-chinese$ ftdump /usr/X11R6/lib/X11/fonts/truetype/bsmi00lp.ttf | grep postscript
postscript: ShanHeiSun-Light
mike@kibou:~/test-texts/pdf/traditional-chinese$
This font is in the package
mike@kibou:~/test-texts/pdf/traditional-chinese$ rpm -qf /usr/X11R6/lib/X11/fonts/tru
etype/bsmi00lp.ttf
ttf-arphic-bsmi00lp-20001125-478
mike@kibou:~/test-texts/pdf/traditional-chinese$
probably you don't have that package installed. If this package is installed,
SuSEconfig.ghostscript-cjk will create the following wrapper file:
mike@kibou:~/test-texts/pdf/traditional-chinese$ cat /usr/share/ghostscript/Resource/CIDFont/ShanHeiSun-Light
%!PS-Adobe-3.0 Resource-CIDFont
%%Creator: aliascid.ps by Taiji Yamada
Am Samstag März 13 2004 20:52 schrieb Mike FABIAN:
ugroh@t-online.de (U. Groh) さんは書きました:
You mean you downloaded the ghostscript-cjk package? I don't think that makes any difference here. I was asking about the other ghostscript packages like ghostscript-library. ...............................
This font is in the package
...........................................
I.e. when you install this font and use pdf2ps, you will use exactly the same font as Edward used when creating mycjk.pdf, although the rendering quality of pdf2ps is not that great.
If you use pdftops, the CID-keyed font
/usr/share/ghostscript/Resource/CIDFont/MOESung-Regular
will be used as a replacement, i.e. you will see a slightly different font, but with better rendering quality.
Yes, this is all quite confusing.
OK, maybe at sometime I will understan the miracle (but where is the font from? Adobe?) Last question: I converted the mycjk.pdf file with pdftops to mycjk.ps . With lpr I tried to print but failed (no reaction). If I try to print from xpdf (the mycjk.pdf file) or gv (the mycjk.ps file) my printer will not print the chinese characters, but just funny letters (my file produces with LaTeX and Japanese works well). Therefore this has to do someting with the (non?) embedded fonts. How to set up the right print queue? Or should this work automatically? Thanks Ulrich Groh 碁朗 潤利
ugroh@t-online.de (U. Groh) さんは書きました:
If you use pdftops, the CID-keyed font
/usr/share/ghostscript/Resource/CIDFont/MOESung-Regular
will be used as a replacement, i.e. you will see a slightly different font, but with better rendering quality.
Yes, this is all quite confusing.
OK, maybe at sometime I will understan the miracle (but where is the font from? Adobe?)
MOESung-Regular? It is from the package CID-keyed-fonts-MOE.rpm (on your SuSE CDs or the FTP version of SuSE 9.0). It is a free font converted by Ken Lunde to the CID-keyed format.
Last question: I converted the mycjk.pdf file with pdftops to mycjk.ps . With lpr I tried to print but failed (no reaction). If I try to print from xpdf (the mycjk.pdf file) or gv (the mycjk.ps file) my printer will not print the chinese characters, but just funny letters (my file produces with LaTeX and Japanese works well). Therefore this has to do someting with the (non?) embedded fonts. How to set up the right print queue? Or should this work automatically?
Do you have a PostScript printer? If yes, do *not* set up your print
queue as a PostScript queue. Use PCL or whatever. Anything else but
PostScript. If you set it up as a PostScript queue, the PostScript
interpreter in you printer is expected to have all needed fonts. If
you set it up as a non-PostScript queue, Ghostscript is used to
interpret the PostScript and it will work if you have the needed fonts
installed for Ghostscript.
--
Mike FABIAN
Am Sonntag März 14 2004 15:29 schrieb Mike FABIAN:
ugroh@t-online.de (U. Groh) さんは書きました:
If you use pdftops, the CID-keyed font
OK, maybe at sometime I will understan the miracle (but where is the font from? Adobe?)
MOESung-Regular? It is from the package CID-keyed-fonts-MOE.rpm (on your SuSE CDs or the FTP version of SuSE 9.0). It is a free font converted by Ken Lunde to the CID-keyed format.
No, the one the system is missing (using pdf2ps). Is this in the Adobe package?
Do you have a PostScript printer? If yes, do *not* set up your print queue as a PostScript queue. Use PCL or whatever. Anything else but PostScript. If you set it up as a PostScript queue, the PostScript interpreter in you printer is expected to have all needed fonts. If you set it up as a non-PostScript queue, Ghostscript is used to interpret the PostScript and it will work if you have the needed fonts installed for Ghostscript.
OK, I did it and everything is working well. Thanks a lot. Ulrich Groh
"U. Groh"
Am Sonntag März 14 2004 15:29 schrieb Mike FABIAN:
ugroh@t-online.de (U. Groh) さんは書きました:
If you use pdftops, the CID-keyed font
OK, maybe at sometime I will understan the miracle (but where is the font from? Adobe?)
MOESung-Regular? It is from the package CID-keyed-fonts-MOE.rpm (on your SuSE CDs or the FTP version of SuSE 9.0). It is a free font converted by Ken Lunde to the CID-keyed format.
No, the one the system is missing (using pdf2ps). Is this in the Adobe package?
See:
http://lists.suse.com/archive/m17n/2004-Mar/0011.html
package name: ttf-arphic-bsmi00lp
--
Mike FABIAN
Am Sonntag März 14 2004 17:23 schrieb Mike FABIAN:
"U. Groh"
さんは書きました: Am Sonntag M��rz 14 2004 15:29 schrieb Mike FABIAN:
ugroh@t-online.de (U. Groh) さんは書きました:
If you use pdftops, the CID-keyed font
..........................t.
No, the one the system is missing (using pdf2ps). Is this in the Adobe package?
See: http://lists.suse.com/archive/m17n/2004-Mar/0011.html package name: ttf-arphic-bsmi00lp
Still not working. I installed all the arphic fonts from my cd. If I use the command cat /usr/share/ghostscript/Resource/CIDFont/ShanHeiSun-Light as described in your posting, the following occurs: cat: /usr/share/ghostscript/Resource/CIDFont/ShanHeiSun-Light: Datei oder Verzeichnis nicht gefunden Something missing? Also pdf2ps still not works on mycjk.pdf. Ulrich PS: ugroh@linux:~/Documents> rpm -qf /usr/X11R6/lib/X11/fonts/truetype/ bsmi00lp.ttf gives ttf-arphic-bsmi00lp-20001125-474
ugroh@t-online.de (U. Groh) さんは書きました:
package name: ttf-arphic-bsmi00lp
Still not working. I installed all the arphic fonts from my cd. If I use the command
cat /usr/share/ghostscript/Resource/CIDFont/ShanHeiSun-Light
as described in your posting, the following occurs:
cat: /usr/share/ghostscript/Resource/CIDFont/ShanHeiSun-Light: Datei oder Verzeichnis nicht gefunden
Something missing?
Probably you forgot to run SuSEconfig. This file is created by /sbin/conf.d/SuSEconfig.ghostscript-cjk. Please run "SuSEconfig --module ghostscript-cjk"
Also pdf2ps still not works on mycjk.pdf.
When this file is there it will.
--
Mike FABIAN
participants (4)
-
Edward G.J. Lee
-
Mike FABIAN
-
U. Groh
-
ugroh@t-online.de