PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________
Thanks, Aandi and Mark (and Leonard) for your insight!
It's invaluable to a relative PDF newbie like myself.
Aandi, your shortcut is pretty much what I would
like to do. In a way, it's similar to Rebecca's
situation, and I have been reading the responses
to her posts.
However, I'm having a tough time getting Acrobat (Distiller)
to print a PDF with non-embedded fonts.
The steps I used: (All on a Chinese W2K Server)
1. Grab some Chinese characters from some actual customer data
2. Open up Notepad and paste it
3. Print to Acrobat Distiller, which creates the PDF
4. Open up the raw PDF in WordPad, and it sure looks
like it's embedded to me.
Since this didn't seem to work the first time, I did it
again, but selected a TT GB2312 font within Notepad,
saved/printed, but still the same results (except for
the /BaseFont specifics):
10 0 obj
<<
/Type /Font
/Subtype /Type0
/BaseFont /KNLGAJ+FangSong_GB2312
/Encoding /Identity-H
/DescendantFonts [ 16 0 R ]
/ToUnicode 11 0 R
>>
endobj
11 0 obj
<< /Filter /FlateDecode /Length 383 >>
stream
[.... Chinese character deletia .....]
endstream
endobj
14 0 obj
<<
/Type /FontDescriptor
/Ascent 859
/CapHeight 0
/Descent -140
/Flags 5
/FontBBox [ 0 -141 996 855 ]
/FontName /KNLGAJ+FangSong_GB2312
/ItalicAngle 0
/StemV 0
/FontFile2 15 0 R
>>
endobj
...
15 0 obj
<< /Filter /FlateDecode /Length 3635 /Length1 50568 >>
stream
[.... MANY Chinese characters deleted .....]
endstream
endobj
16 0 obj
<<
/Type /Font
/Subtype /CIDFontType2
/BaseFont /KNLGAJ+FangSong_GB2312
/FontDescriptor 14 0 R
/CIDSystemInfo << /Registry (Adobe)/Ordering (Identity)/Supplement 0 >>
....
etc.
Q: Is this truly embedded? Or am I missing something?
Q: Are there Chinese samples that I could use to ensure
non-embedding?
Q: Is there an editing tool that will allow me to
test-edit a PDF file before modifying the code
to do so? UltraEdit would do this and Exchange 3.0
would display (after "Rebuild"). Acro 4.0+ tries
to rebuild, but bails out as a corrupted file.
Thanks ever so much for your help and patience.
Learning PDF internals.. AND multibyte fonts - Oy!
Bruce
> -----Original Message-----
> From: Aandi Inston [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 18, 2003 6:31 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PDFdev] Chinese character display
>
>
>
> PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
> _____________________________________________________________
>
> > To work with Chinese fonts you will have to understand about
> > CID fonts and CMaps, as Mark noted. You will need to know exactly
> > what encoding your fonts use. If you haven't read "CJKV
> > Information Processing", now is the time to stop using it as
> > a paperweight (though at 1100 pages it is a very good one).
> >
> > You will also need to target Acrobat 4.0 and above; you will
> > need the appropriate language support installed in Acrobat or
> > Reader. That is, the Chinese (Traditional) or Chinese (Simplified)
> > language pack, depending on which you are targeting.
>
> I realise there is a shortcut, which I used. Use Acrobat to print
> a PDF with a Chinese font, non-embedded. Then find out what endoding
> was used in the PDF. You can just copy the dictionary definitions
> for that font, CMap etc., then include your own text in matching
> encoding. You will have to understand encodings pretty well, but
> can bypass much knowledge of CID fonts.
>
> Aandi
>
> To change your subscription:
> http://www.pdfzone.com/discussions/lists-pdfdev.html
>
To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html