--===============0280069190== Content-Type: multipart/alternative; boundary=000e0cd2e21874f01a0490480261 --000e0cd2e21874f01a0490480261 Content-Type: text/plain; charset=UTF-8 On Tue, Sep 14, 2010 at 10:37 AM, Felix Michel wrote: > sorry, > > so i failed to upload it correctly. > > my fault. now it should be up. > > cheers > > felix > > here the link again: > > http://community.kde.org/File:Kde_booklet.pdf > Hi, it looks very nice so far. ;-) However, it would be an eternal pity, if this nice work was spoiled for users by some "technical" problems. I notice it is made with "Adobe InDesign CS3 (5.0)". Due to some ugly personal experience with some CS3/CS4 created PDFs in the past, I think that *could* lead to problems when you try to print it on "cheap" home printers, or when you try to otherwise process it. Also, some (older) PDF viewers may have rendering problems with some areas (esp. if you use transparencies and other fancy graphical design elements). I don't have currently access to some real "PDF preflight" tools. Therefor I'm resorting to "poor man's preflighting". (Sorry if this gmail is sent from Windows and is HTML-formatted -- I've no idea how it arrives in your inboxes after having passed through the mailing list filters. If it is garbled, and if you have a real interest in what I'm talking about, just re-apply the CLI commands I used and look yourself at the results -- they'll work 1:1 the same on *nix after replacing 'gswin32c' with 'gs'): C:\downloads> *pdfinfo Kde_booklet.pdf* Creator: Adobe InDesign CS3 (5.0) Producer: Adobe PDF Library 8.0 CreationDate: 09/14/10 01:01:48 ModDate: 09/14/10 01:01:52 Tagged: yes Pages: 7 Encrypted: no Page size: 419.528 x 595.276 pts File size: 580785 bytes Optimized: no PDF version: 1.4 Here's one real world problem with it. I've used "pdffonts" (like "pdfinfo" from XPDF) to check which fonts the PDF uses, and if they are embedded or not: C:\downloads> *pdffonts Kde_booklet.pdf* name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- NGRVKY+Swiss721BT-Light TrueType yes yes yes 21 0 QFAGAS+Anivers-Regular Type 1C yes yes yes 19 0 *Error: Illegal entry in bfchar block in ToUnicode CMap* TQHQQM+Swiss721BT-LightItalic TrueType yes yes yes 33 0 The problem is located on page 4, specifically: C:\downloads> *pdffonts -f 4 -l 4 Kde_booklet.pdf * name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- *Error: Illegal entry in bfchar block in ToUnicode CMap* NGRVKY+Swiss721BT-Light TrueType yes yes yes 21 0 TQHQQM+Swiss721BT-LightItalic TrueType yes yes yes 33 0 QFAGAS+Anivers-Regular Type 1C yes yes yes 19 0 As you can see by looking at each page separately, page 4 is the only one that uses font "TQHQQM+Swiss721BT-LightItalic", it may be a problem with the font itself. All other pages use the other two mentioned fonts only. Re-distilling the PDF with Ghostscript and its default parameter settings (which may re-sample some embedded image types at 72dpi resolution) succeeds to remove the problem for me, but it has some little "side-effect" (you need to decide if these are welcome ones or are rather un-wanted): C:\downloads> *gswin32c -o Kde_booklet_redistilled_by_Ghostscript.pdf -sDEVICE=pdfwrite Kde_booklet.pdf* GPL Ghostscript 8.71 (2010-02-10) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 7. Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 C:\downloads> *pdffonts Kde_booklet_redistilled_by_Ghostscript.pdf* name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- MPJPKX+Swiss721BT-Light TrueType yes yes no 19 0 CNTMXN+Anivers-Regular Type 1C yes yes no 14 0 IOYBEW+Swiss721BT-LightItalic TrueType yes yes no 35 0 Nice, all the fonts are still embedded, using the same names, and none has suffered conversion into a different type. Now the "side effects": C:\downloads> *pdfinfo Kde_booklet_redistilled_by_Ghostscript.pdf* Producer: GPL Ghostscript 8.71 CreationDate: 09/15/10 09:14:03 ModDate: 09/15/10 09:14:03 Tagged: no Pages: 7 Encrypted: no Page size: 419.528 x 595.276 pts File size: 191791 bytes Optimized: no PDF version: 1.4 In detail: - InDesign's signature in the metadata is gone. ;-) - File size has shrinked from ~580 kBytes to ~190 kBytes I don't see any visible difference in Acro Reader 9.3.3 on WinXP at 96dpi screen resolution and 200% Zoom other than a smaller degradation in the KDE logo at the top of each page. But this could be improved or kept at same quality by adding some appropriate tweaking parameters to the Ghostscript commandline (without much more finetuning, first try by adding -dPDFSETTINGS=/prepress). Cheers, Kurt --000e0cd2e21874f01a0490480261 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Tue, Sep 14, 2010 at 10:37 AM, Felix = Michel <felix_m= ichel@gmx.ch> wrote:
sorry,

so i failed to upload it correctly.

my fault. now it should be up.

cheers

felix

here the link again:
=


Hi,=C2=A0

it lo= oks very nice so far. =C2=A0;-)

However, it would be an eternal pity, if this nice work= was spoiled for users by some "technical" problems.=C2=A0I notic= e it is made with "Adobe InDesign CS3 (5.0)". Due to some ugly pe= rsonal experience with some CS3/CS4 created PDFs in the past, I think that = *could* lead to problems when you try to print it on "cheap" home= printers, or when you try to otherwise process it. Also, some (older) PDF = viewers may have rendering problems with some areas (esp. if you use transp= arencies and other fancy graphical design elements).=C2=A0

I don't have currently access to some real "PD= F preflight" tools. Therefor I'm resorting to "poor man's= preflighting". (Sorry if this gmail is sent from Windows and is HTML-= formatted -- I've no idea how it arrives in your inboxes after having p= assed through the mailing list filters. If it is garbled, and if you have a= real interest in what I'm talking about, just re-apply the CLI command= s I used and look yourself at the results -- they'll work 1:1 the same = on *nix after replacing 'gswin32c' with 'gs'):

C:\downloads> pdfinfo Kde_booklet.pdf
Creator: =C2=A0 =C2=A0 =C2=A0 =C2=A0Adobe InDesign CS3 (5.0)=
Producer: =C2=A0 =C2=A0 =C2=A0 Adobe PDF Library 8.0
= = CreationDate: =C2=A0 09/14/10 01:01:48
ModDate: =C2=A0 =C2=A0 =C2=A0 =C2=A009/14/10 01:01:52
Tagged: =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes
Pages: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A07
Encrypted:= =C2=A0 =C2=A0 =C2=A0no
Page size: =C2=A0 =C2=A0 =C2=A0419= .528 x 595.276 pts
File size: =C2=A0 =C2=A0 =C2=A0580785 bytes
Optimized= : =C2=A0 =C2=A0 =C2=A0no
PDF version: =C2=A0 =C2=A01.4

He= re's one real world problem with it. I've used "pdffonts"= (like "pdfinfo" from XPDF) to check which fonts the PDF uses, an= d if they are embedded or not:

C:\downloads> pdffonts Kde_booklet.pdf
name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 type =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---= ------
NGRVKY+Swiss721BT-Light =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0TrueType =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes yes yes= =C2=A0 =C2=A0 21 =C2=A00
QFAGAS+Anivers-Regular =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 Type 1C =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes yes yes =C2=A0 =C2=A0 19= =C2=A00
Error: Illegal entry in bfchar block in ToUnicode CMap
TQHQQM+Swiss721BT-LightItalic =C2=A0 =C2=A0 =C2=A0 =C2=A0TrueType =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes yes yes =C2=A0 =C2=A0 33 =C2=A00<= /div>

The problem is located on page 4, specifical= ly:

C:\downloads> pdffonts -f 4 -l 4 Kde_booklet= .pdf=C2=A0
name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 t= ype =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---= ------
Error: Illegal entry in bfchar block in ToUnicod= e CMap
NGRVKY+Swiss721BT-Light =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0TrueType =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes yes yes =C2=A0 =C2=A0 21 = =C2=A00
TQHQQM+Swiss721BT-LightItalic =C2=A0 =C2=A0 =C2=A0= =C2=A0TrueType =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes yes yes =C2=A0 =C2=A0= 33 =C2=A00
QFAGAS+Anivers-Regular =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 Type 1C =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes yes yes =C2=A0 =C2=A0 19= =C2=A00

As you can see by looking at= each page separately, page 4 is the only one that uses font "TQHQQM+Swiss= 721BT-LightItalic", it may be a problem with the font itself. All othe= r pages use the other two mentioned fonts only. Re-distilling the PDF with = Ghostscript and its default parameter settings (which may re-sample some em= bedded image types at 72dpi resolution) succeeds to remove the problem for = me, but it has some little "side-effect" (you need to decide if t= hese are welcome ones or are rather un-wanted):

C:\downloads> gswin32c -o Kde_booklet_red= istilled_by_Ghostscript.pdf -sDEVICE=3Dpdfwrite Kde_booklet.pdf<= /div>
GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 = Artifex Software, Inc. =C2=A0All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.=
Processing pages 1 through 7.
Page 1
Page 2
Page 3
Page 4
Page 5
Page 6
Page 7

= C:\downloads> pdffonts Kde_booklet_redistilled_by_Ghostscript.pdf=
name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 type =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---= ------
MPJPKX+Swiss721BT-Light =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0TrueType =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes yes no = =C2=A0 =C2=A0 =C2=A019 =C2=A00
CNTMXN+Anivers-Regular =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 Type 1C =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes yes no =C2=A0 =C2=A0 =C2= =A014 =C2=A00
IOYBEW+Swiss721BT-LightItalic =C2=A0 =C2=A0 = =C2=A0 =C2=A0TrueType =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes yes no =C2=A0 = =C2=A0 =C2=A035 =C2=A00

Nice, all the fonts are still embedd= ed, using the same names, and none has suffered conversion into a different= type. Now the "side effects":

C:\downlo= ads> pdfinfo Kde_booklet_redistilled_by_Ghostscript.pdf
Producer: =C2=A0 =C2=A0 =C2=A0 GPL Ghostscript 8.71
<= font class=3D"Apple-style-span" face=3D"'courier new', monospace">C= reationDate: =C2=A0 09/15/10 09:14:03
ModDate: =C2=A0 =C2=A0 =C2=A0 =C2=A009/15/10 09:14:03
Tagged: =C2=A0 =C2=A0 =C2=A0 =C2=A0 no
Pages: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A07
Encrypted:= =C2=A0 =C2=A0 =C2=A0no
Page size: =C2=A0 =C2=A0 =C2=A0419= .528 x 595.276 pts
File size: =C2=A0 =C2=A0 =C2=A0191791 bytes
Optimized= : =C2=A0 =C2=A0 =C2=A0no
PDF version: =C2=A0 =C2=A01.4

In detail= :
  • InDesign's signature in the metadata is gone. = =C2=A0;-)
  • File size has shrinked from ~580 kByte= s to ~190 kBytes
I don't see any visible difference in Acro Reader 9.3.= 3 on WinXP at 96dpi screen resolution and 200% Zoom other than a smaller de= gradation in the KDE logo at the top of each page. But this could be improv= ed or kept at same quality by adding some appropriate tweaking parameters t= o the Ghostscript commandline (without much more finetuning, first try by a= dding=C2=A0-dPDFSETTINGS=3D/prepress).

Cheers,
Kurt

=
--000e0cd2e21874f01a0490480261-- --===============0280069190== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ This message is from the kde-promo mailing list. Visit https://mail.kde.org/mailman/listinfo/kde-promo to unsubscribe, set digest on or temporarily stop your subscription. --===============0280069190==--