Bug 691581 - Wrong symbol-font used
Summary: Wrong symbol-font used
Status: RESOLVED FIXED
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PCL fonts (show other bugs)
Version: unspecified
Hardware: PC Windows 7
: P4 normal
Assignee: Henry Stiles
URL:
Keywords: bountiable
Depends on:
Blocks:
 
Reported: 2010-08-29 03:36 UTC by Florian Rausch
Modified: 2012-02-03 23:22 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
Output with wrong symbols (700.83 KB, application/pdf)
2010-08-29 03:44 UTC, Florian Rausch
Details
Source file (76.47 KB, application/octet-stream)
2010-08-29 03:47 UTC, Florian Rausch
Details
Reference-Output how "it should be" (102.76 KB, application/pdf)
2010-08-29 03:48 UTC, Florian Rausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Rausch 2010-08-29 03:36:53 UTC
Hello!

I don't know if this really is a bug, but because there is no forum I have to post it here.

I am converting a PCL5e-file which is containing some telephon-icons. The output generated by pdfwrite contains airplane-icons instead. I'd say the wrong font is used, but i don't know how to figure it out. When viewing in adobe reader, i also can't select/mark the symbols like in the reference output.

There are also two other problems:

- The content gets cut at the bottom of the page, some lines are missing. Can i scale the hole page to fit?
- The filesize is about 700kb at the moment. My reference-file created by RedTitan is only 103 kb in size. Even if i resize the images to 72dpi, the file is larger than the reference and images have worse quality. Why is my output that large?

I add 3 files in the archive in attachment (pcl source, reference, ghostpcl output).

Thanks!
Comment 1 Florian Rausch 2010-08-29 03:44:53 UTC
Created attachment 6681 [details]
Output with wrong symbols
Comment 2 Florian Rausch 2010-08-29 03:47:24 UTC
Created attachment 6682 [details]
Source file
Comment 3 Florian Rausch 2010-08-29 03:48:00 UTC
Created attachment 6683 [details]
Reference-Output how "it should be"
Comment 4 Ken Sharp 2010-08-29 10:56:57 UTC
Running pcl6.exe, outputting to tiffg3 I see that the telephone numbers (Geschaeft, Privat, Mobil) have airplane icons beside them. Thus this is not a pdfwrite problem.

Running to PDF output with reasonably current code produces a PDF file 215Kb for me.
Comment 5 Henry Stiles 2010-08-29 22:02:14 UTC
There are legal issues with having a wingding TrueType font, we substitute Symbol.  The master output is formatted for A4 paper the default output for PCL is Letter.


./pcl6 -J"@PJL SET PAPER=A4" -sDEVICE=pdfwrite -sOutputFile=foo.pdf ~/Downloads/Auftrag1_PCL-Quelldatei.prn 

should fix the clipping.

You can get the latest code with svn

svn co http://svn.ghostscript.com/ghostscript/trunk/ghostpdl

or wait for the next release, at the latest a couple weeks off.
Comment 6 Joe 2011-09-29 07:24:58 UTC
I would call it a bug: 
Dingbats is substituted for Wingdings in pl/plftable.c without code remapping.
Comment 7 Henry Stiles 2011-09-29 15:23:43 UTC
Hi Josef, I saw your email, thanks, I've reopened the bug.
Comment 8 Henry Stiles 2011-11-10 16:53:07 UTC
Make bountiable.  Josef did you want to submit a patch for this?
Comment 9 Joe 2011-11-11 09:04:47 UTC
Remapping WingDings to Dingbats is IMHO not worth the effort, one could  enter "WingDings" into the builtin font table. If WingDings is required, the user has to provide a WingDings font.
I am rather thinking about a possibility to load a builtin font table at runtime (without having to recompile) and/or a fallback to Windows fonts under Win32. 

My requirement is support for WGL4 in monospaced font Courier, but Nimbus Mono Regular does not have complete cyrillic and greek glyphs.
Alternatives are Liberation or Microsoft corefonts.
Comment 10 Henry Stiles 2012-02-03 23:22:21 UTC
We now have a wingding font.  The latest git code or ghostpdl 9.05 will have this font.