Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653268 - app-text/a2ps USE=cjk produces ps-documents with font errors
Summary: app-text/a2ps USE=cjk produces ps-documents with font errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-15 20:27 UTC by Robert Spillner
Modified: 2024-06-23 06:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Spillner 2018-04-15 20:27:45 UTC
The useflag "cjk" if a2ps creates ps-files with font errors when displayed by gs. Disabling cjk produces a document which can be
interpreted by gs.

I would expect the useflag to pull in necessary dependencies for Asian font sets.

The following error appears when opening a file with gs:

GPL Ghostscript 9.21 (2017-03-16)
Copyright (C) 2017 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Querying operating system for font files...
**** Warning: glyf overlaps cmap, truncating.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusMonL-Regu.
Can't find (or can't open) font file NimbusMonL-Regu.
Loading NimbusMonL-Regu font from /usr/share/fonts/urw-fonts/n022003l.pfb... 5551788 4153591 17282632 6441678 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusMonL-Bold.
Can't find (or can't open) font file NimbusMonL-Bold.
Loading NimbusMonL-Bold font from /usr/share/texmf-dist/fonts/type1/urw/courier/ucrb8a.pfb... 5629348 4243538 17282632 6451124 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusMonL-BoldObli.
Can't find (or can't open) font file NimbusMonL-BoldObli.
Loading NimbusMonL-BoldObli font from /usr/share/fonts/urw-fonts/n022024l.pfb... 5789188 4394197 17282632 6459286 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusMonL-ReguObli.
Can't find (or can't open) font file NimbusMonL-ReguObli.
Loading NimbusMonL-ReguObli font from /usr/share/texmf-dist/fonts/type1/urw/courier/ucrro8a.pfb... 5866748 4475137 17282632 6467643 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusSanL-Regu.
Can't find (or can't open) font file NimbusSanL-Regu.
Loading NimbusSanL-Regu font from /usr/share/fonts/urw-fonts/n019003l.pfb... 6030780 4629185 17282632 6476313 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusSanL-Bold.
Can't find (or can't open) font file NimbusSanL-Bold.
Loading NimbusSanL-Bold font from /usr/share/fonts/urw-fonts/n019004l.pfb... 6152668 4755850 17282632 6484471 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusRomNo9L-Medi.
Can't find (or can't open) font file NimbusRomNo9L-Medi.
Loading NimbusRomNo9L-Medi font from /usr/share/fonts/urw-fonts/n021004l.pfb... 6340564 4935974 17282632 6492760 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Loading NimbusRomNo9L-Regu font from /usr/share/fonts/urw-fonts/n021003l.pfb... 6528572 5116247 17282632 6502089 1 done.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/Ryumin-Light-EUC-H.
Can't find (or can't open) font file Ryumin-Light-EUC-H.
Didn't find this font on the system!
Substituting font Courier for Ryumin-Light-EUC-H.
Can't find (or can't open) font file /usr/share/ghostscript/9.21/Resource/Font/GothicBBB-Medium-EUC-H.
Can't find (or can't open) font file GothicBBB-Medium-EUC-H.
Didn't find this font on the system!
Substituting font Courier for GothicBBB-Medium-EUC-H.
Error: /invalidfont in --scalefont--
Operand stack:
   euc-jpdict   fCourier   --dict:20/22(L)--   0.909091
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1999   1   3   %oparray_pop   1998   1   3   %oparray_pop   1982   1   3   %oparray_pop   1868   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1210/1684(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)--   --dict:59/200(L)--   --dict:11/18(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 16851
GPL Ghostscript 9.21: Unrecoverable error, exit code 1


Reproducible: Always

Steps to Reproduce:
1. Enable cjk use-flag, emerge a2ps
2. Use a2ps to produce a ps-document.
3. Try opening with gs.
Actual Results:  
Error.

Expected Results:  
Document should be interpreted and displayed without error.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-10 08:10:06 UTC
Please try 4.15. What dependencies do we need to add?
Comment 2 Robert Spillner 2023-07-24 10:36:24 UTC
It's now working for me with a2ps 4.15.4 and ghostscript 10.01.2, no more errors.