PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
Actually Object 22 begins with. 22 0 obj << /Length 23 0 R /Length1 23 0 R /Filter /FlateDecode >> stream ... And the error message I receive when I open the document is: Unable to extract the embedded font "Code 39". Some characters may not display or print correctly. Thanks, Gordon -----Original Message----- From: Gordon Campbell [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 7:17 AM To: [EMAIL PROTECTED] Subject: RE: [PDFdev] Not Embedding a TTF file That's what I thought ... but then I tried it and it didn't work so I thought I'd review the PDF spec. It states: To reduce .le size, PDF supports a number of industry-standard compression .lters: . JPEG compression of color and grayscale images . CCITT (Group 3 or Group 4), run-length, and (in PDF 1.4) JBIG2 compression of monochrome images . LZW (Lempel-Ziv-Welch) and (beginning with PDF 1.2) Flate compression of text, graphics, and images I'm trying to use Flate compression via the Zlib library. The compression routines work correctly on my image, text and graphic streams but not with my embedded font stream. If Flate compression is possible on TTF fonts then what is incorrect with my dictionaries (see below). TIA, Gordon 19 0 obj << /Type /FontDescriptor /Ascent 878 /Descent 0 /CapHeight 878 /Flags 34 /FontBBox [0 0 797 878] /FontName /Code#2039 /ItalicAngle 0 /FontFile2 22 0 R >> endobj 20 0 obj << /Type /Font /Subtype /TrueType /FirstChar 0 /LastChar 255 /Widths [ 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 837 837 1000 1000 1000 1000 837 837 1000 837 837 837 837 837 837 837 837 837 837 837 837 837 1000 1000 1000 1000 1000 1000 1000 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 837 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 ] /Encoding 21 0 R /BaseFont /Code#2039 /FontDescriptor 19 0 R >> endobj 21 0 obj << /Type /Encoding /BaseEncoding /WinAnsiEncoding >> endobj 22 0 obj << /Length 23 0 R /Length1 23 0 R >> stream ... compressed ttf font stream ... endstream endobj 23 0 obj 1334 endobj To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
