Embedded Barcode - no errors - but not visible in resulting PDF

2001-07-31 Thread John . Dhom

Fop-0.19.0-CVS
My servlet is generating a PDF with embedded Barcode 3of9 font.  I'm having
problems on 3 different machines.  I'm using Type 1 font.

I get no errors during the generation process (command-line or servlet) and
no errors from Acrobat when loading/displaying the file.  I simply get no
display of the barcode font.

My test file is docs/examples/fonts.fo I changed the first 2 blocks to
display my barcode fonts...

  fo:block font-family=Helvetica font-size=14pt
SAdHC39a Type1 Barecode 3 of 9 follows...
  /fo:block
  fo:block space-after.optimum=16pt font-family=SAdHC39a
!ABC123!
  /fo:block

  fo:block font-family=Helvetica font-size=14pt
SAdHC39b Type1 Barecode 3 of 9 follows...
  /fo:block
  fo:block space-after.optimum=16pt font-family=SAdHC39b
!ABC123!
  /fo:block

 I took a look at the resulting PDF and it confirms that the font is being
embedded into the file.  I don't understand why it is not displayed in
Acrobat Reader.

Any ideas?

/jhd

= excerpt from resulting PDF file =
13 0 obj
 /Type /FontDescriptor
/FontName /SAdHC39a
/FontBBox  [-100 -398 810 752] 
/Flags 6
/CapHeight 747
/Ascent 747
/Descent -393
/ItalicAngle 210
/StemV 0
/FontFile 14 0 R
 
endobj
14 0 obj
 /Length 28113 /Filter [ /ASCII85Decode /FlateDecode ]
 /Length1 5863 /Length2 19933 /Length3 545 
stream
GatS snip @~
endstream
endobj
15 0 obj
 /Type /Font
/Subtype /Type1
/Name /F15
/BaseFont /SAdHC39a
/Encoding /WinAnsiEncoding
/FirstChar 0
/LastChar 255
/Widths 16 0 R
/FontDescriptor 13 0 R 
endobj
16 0 obj
[ 500 snip 500 0]
endobj

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Current state of fonts+PDF files??? (embedding fonts in pdf)

2001-07-27 Thread John . Dhom

I've got barcodes working in my servlet and I'm programmatically loading
userconfig.xml. yay me.

Now, the faq states that FOP does not support embedding fonts in PDF
documents.  Is this information current?  I see the barcode fonts in my
generated PDF document on my local development machine.  Is there planned
support for embedded fonts in PDF?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]