Bug 1660610
| Summary: | printing text files fails because ghostscript cannot find the font | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Andrew Schorr <ajschorr> |
| Component: | ghostscript | Assignee: | Martin Osvald 🛹 <mosvald> |
| Status: | CLOSED DUPLICATE | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.6 | CC: | ajschorr |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-12-20 02:54:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Andrew Schorr
2018-12-18 19:36:44 UTC
Simple reproducible code should be: $ echo "/Helvetica findfont" | gs If you still see the error, please check if you have WOFF fonts in the font paths or so which ghostscript doesn't support. see Bug#1653706 bash-4.2$ echo "/Helvetica findfont" | gs GPL Ghostscript 9.07 (2013-02-14) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GS>Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusSanL-Regu. Can't find (or can't open) font file NimbusSanL-Regu. Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusSanL-Regu. Can't find (or can't open) font file NimbusSanL-Regu. Querying operating system for font files... Error: /typecheck in /findfont Operand stack: Helvetica Execution stack: %interp_exit .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- .findfontop %loop_continue .findfontop .findfontop false 1 %stopped_push .runexec2 --nostringval-- .findfontop --nostringval-- 2 %stopped_push --nostringval-- 1842 1 3 %oparray_pop Dictionary stack: --dict:950/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- Current allocation mode is local Current file position is 20 GS<1>bash-4.2$ bash-4.2$ fc-list | grep -i woff /usr/share/fonts/fontawesome/fontawesome-webfont.woff: FontAwesome:style=Regular Is there any fix for this other than removing the rpm containing the woff file? FYI, I can confirm that removing the fontawesome-fonts-web rpm solves my problem. I can now print text files again. See the bug in my last comment. this issue has already been fixed in ghostscript upstream. *** This bug has been marked as a duplicate of bug 1653706 *** |