PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
I have finally managed to create a PDF file (simplified Chinese) with no embedded fonts using Acrobat. One of the things that I needed to do (as well as checking "don't embed fonts") was use one of the standard fonts in my source .doc file (not legal) to trick it into just referencing the standard font. The experiment proved to me that this works. It lists a standard font name as the base font. The subtype is Type0. The encoding is the standard encoding identity-H. One descendant font is listed and it's base font name is the same. The subtype is CIDFontType0. The font descriptor contains standard metrics and no embedded font file. This is what I expected. However: Anyway, after doing that I tried viewing it with Acrobat Reader 6. Unfortunately, it appears that although Adobe says that Acrobat Reader 6 has built in support for these new standard fonts it does not really. The user will most likely need to download the fonts the first time they need them. For the English version of Acrobat 6 Reader the font was not included (they are for the full Acrobat Standard 6). When you try and view them a message comes up telling you that you need to install new font. You can click ok and it goes ahead. However, since they are big files, with a slow connection it would be a pain. So I thought that perhaps a Chinese user would have the Chinese version of Acrobat (version 5.1 is the latest). When you install that you get one Chinese font (either traditional and simplified depending on which localized version was installed). If anyone would like to see a very small example (20k) I can email it to anyone who wants to see it. I added a note annotation and a free text annotation. In order to view it correctly you would need the STSongStd-Light-Acro.otf simplified Chinese font. Do people think it is reasonable to use standard fonts to avoid the large files from embedding Asian fonts (and not licensing them)? Rebecca -----Original Message----- From: Rodgers, Bruce [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 10:54 AM To: '[EMAIL PROTECTED]' 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 To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
