-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF generated from PostSCript uses wrong character encoding #1485
Comments
CUPS.org User: mike Please attach the files, thanks! |
CUPS.org User: ulrich.windl.rz.uni-regensburg Added files: patches.ps is the input, patches.pdf is the GhostScript output, and patches_v2.pdf is the Acrobat Distiller output. |
CUPS.org User: htl10 Hmm, you have got it backwards - it is not a bug nor mis-feature, but |
CUPS.org User: mike Will work on this when we integrate with 8.50.x. |
"patches.ps": %!PS-Adobe-3.0 %%BeginProlog %%EndProlog |
7378 14705 lineto /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if |
336699336699336699336699336699336699336699336699336699336699336699336699 |
336699336699336699336699336699336699336699336699336699336699336699336699 |
336699336699336699336699336699336699336699336699336699336699336699336699 /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if |
ffffff72aac780b3ccffffffffffff66666666cccc66cccc66cccc66cccc66cccc66cccc /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if /rowdata where { /rowdata undef } if |
"patches.pdf": %PDF-1.4 ûYÙP�e$�pQR���øR�ð<øä"�À�FE�¸Ò¨è]�K�g�¯�¢Â�JEâQ��cxP���ì²�_"ª<,¢�,àX6�¡e�©ø2´)��MñÆ"¬$A[�$��àUÀ��_R�8gi%�©���Çñ¨�¯Â�¬(�´�2ô���Ý�� �öTÞç�ì:zè¥M+ì�_>ÃW�wîÝuß��díuýçþ'^ÿÇÜ�õÛÖn{÷½ßm>Õkñ¹3¶§��îýnöÜ����·oVËnE#ó¤>�¾yò±;Ôû.�üù�À��FR#ÿÐÝûï_ÒeÅØg�?¬owUñ�Ø¿´m�ÚÛ�u�>¢î��GÇ^ëÓðX½ÏzÖÛ�:{ÂüôÀÏÍ�º�Yõùi�vHî
å�acáá]�MËÃÆ�Èæ°© ²± °©°Ñ��ä�»��æ6¯/<,��/��z��M�Éç�+Hn)��vØ|wé�Þ�»Æß�)(l,ø·¥`Ù�ÂF� ��ê� å�5Ë��å�mË�"å�«Ë�N��,+ßYXº
mÃYÂ&«ÔRe®2ÉÌ�Nj����QwiüZ�¶Ç�±õ1�W¤;Àzü��ì-l�¤�s<J³J̱J�¾ �n�7��Ì�}À�v�º»£¾¨ï�ó���Q먾ñ�\Ú®:¬æ^��V³Éllk��Uý�æ=2»�S³���O�îQÛÑ49¥x1¢ù�G¢��Æ+°��y$Þ)ú�[93=èy�~:åç£<ò;|÷¯è.�å�·ñÝ¿§¿��ø¹Y?�?H>�n¯Æ·ù8�LózB��Ü UurºAÛ o°40¯Û�Âe§ËN©®Ãmøº÷ÚøÉã'ÏF®Â�8#?±�Bîô��³óPD�;���Ex��ÓX�tÞH<�gÇà<\4�«âtLê«�Z�èh�-åH7÷�¼�nZ>v�ÆOME/r�9«�ß{|/Gôµ°�æ�^6Gôz[�³ÁÛà��ÕýÔ�¼��¢tÂ]]�ÝòHõ��°�¢l8��yÆà�ÿMx�K¨�Ñi�ïæ�±�Ñ�Ñ��Fþ�$ÞúS#ÿÑ´�_�+bö
|
"patches_v2.pdf": %PDF-1.3
17 0 obj
�÷�!?h¾�X¢ó(�£�BÄ3a.È���ÜOa�¯ß5
cͺy�âLÍ+^�Æ��O�#uòäöM�KÕ@ý/À�®ÔQ�
|
Version: 8.15.1
CUPS.org User: ulrich.windl.rz.uni-regensburg
When printing web pages from Mozilla into a PostSCript file (Mozilla has no direct PDF generation), I use to make PDF with ps2pdf14. I realized several times that the PDF displays OK, but whenever I try to copy text from the PDF via clipboard into some application, the result is just garbage control characters.
When using Acrobat Distiller (v5) for the same PostScript file, copy & paster works OK. So it must be a mis-feature of Ghostscript, possibly depending on the way Mozila encodes characters on PostScript.
Upon request, I can provide sample PostScript, and both PDF versions.
The text was updated successfully, but these errors were encountered: