Re: font embedding and encoding, ANSI vs CID

2004-06-15 Thread Dave_S_White

Clay, 

Since I wrote this I did the same test without the encryption and I get the same results. This is really another team's code, and they tried and failed to get the FOP encryption working. (I'm not really sure what the problem was). I had been using iText for a while and so I used that. I too would be interested in any comparison's, but first I need to tackle this one :) 

- dave

[EMAIL PROTECTED]










[EMAIL PROTECTED]
06/15/2004 12:12 PM
Please respond to fop-user




	
	To:	[EMAIL PROTECTED]
	cc:	
	Subject:	Re: font embedding and encoding, ANSI vs CID



On Jun 15, 2004, at 7:57 AM, [EMAIL PROTECTED] wrote:

SNIP'd

>  I am using iText to post process the document to encrypt it and
> prevent editing, etc, perhaps it is the combination of CID and
> encryption, I'm not really sure. At any rate, I need to keep the
> encryption.

SNIP'd

>  Any help is greatly appreciated!
>
>  Thanks,
>  dave

Have you tried using FOP's encryption functionality[1]? I hear it's
nice (although I haven't used it yet...). BTW, it would be nice to get
feedback how it compares to using iText for the same task. Comparisons
would be appreciated based on: speed; functionality; implementation;
ease of use; resulting file size: and anything else you can think of!

Web Maestro Clay

[1]
http://xml.apache.org/fop/pdfencryption.html

Web Maestro Clay


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






<><><>

Re: font embedding and encoding, ANSI vs CID

2004-06-15 Thread Clay Leeds
On Jun 15, 2004, at 7:57 AM, [EMAIL PROTECTED] wrote:
SNIP'd
 I am using iText to post process the document to encrypt it and 
prevent editing, etc, perhaps it is the combination of CID and 
encryption, I'm not really sure. At any rate, I need to keep the 
encryption.
SNIP'd
 Any help is greatly appreciated!
 Thanks,
 dave
Have you tried using FOP's encryption functionality[1]? I hear it's 
nice (although I haven't used it yet...). BTW, it would be nice to get 
feedback how it compares to using iText for the same task. Comparisons 
would be appreciated based on: speed; functionality; implementation; 
ease of use; resulting file size: and anything else you can think of!

Web Maestro Clay
[1]
http://xml.apache.org/fop/pdfencryption.html
Web Maestro Clay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: font embedding and encoding, ANSI vs CID

2004-06-15 Thread SEBoedecker




We use only ANSI because the CID takes much longer to render.

Scott


   
 [EMAIL PROTECTED] 
 ank.com   
To 
 06/15/2004 09:57  [EMAIL PROTECTED] 
 AM cc 
   
   Subject 
 Please respond to font embedding and encoding, ANSI   
 [EMAIL PROTECTED] vs CID  
  he.org   
   
   
   
   
   




Hi,

I am using FOP 0.20.5 to create PDF's and have some questions/problems with
my approach towards font embedding and encoding. I need to embed the fonts
into the PDF to ensure a consistent rendering across various systems
because they are legal docs distributed to the public via the web.

I was originally using the default CID encoding, but the FOP FAQ describes
some problems with the CID encoding, and worse than those, when I print it
using adobe 4.0 it is completely mangled. ( It looks like the fonts are
scrambled, many different chars, sizes, etc ).

I am using iText to post process the document to encrypt it and prevent
editing, etc, perhaps it is the combination of CID and encryption, I'm not
really sure. At any rate, I need to keep the encryption.

When I use the -enc ansi option when creating my font metrics file
everything looks and prints great, but the entire font(s) end up in the
file, making even a 1 page document 742KB. (Obviously it depends on the
number/size of the fonts in the doc).

I seem to be in a pickle. I need to support Adobe 4.0, encryption, and font
embedding, but don't want to pay the price of extremely large files.

Is it possible to get FOP to only embed the font partially even if I use
ansi encoding? Does anyone have any recommendations on how to deal with
this scenario?

I don't know much about the CID vs ANSI encoding, which do most people use,
and is there a recommendation on when to use what? I have read the FOP
pages, and looked through the email archives, but have not yet been able to
find much guidance here.

Any help is greatly appreciated!

Thanks,
dave















This communication may contain privileged and/or confidential information.
  It is intended solely for the use of the addressee. If you are not the
 intended recipient, you are strictly prohibited from disclosing, copying,
distributing or using any of this information. If you received this
 communication in error, please contact the sender immediately and destroy
the material in its entirety, whether electronic or hard copy. This
 communication may contain nonpublic personal information about consumers
  subject to the restrictions of the Gramm-Leach-Bliley Act. You may not
directly or indirectly reuse or redisclose such information for any purpose
other than to provide the services for which you are receiving the
   information.
 127 Public Square, Cleveland, OH 44114If you prefer not to receive future
  e-mail offers for products or services from Key
Click Here
 or send an e-mail to [EMAIL PROTECTED] with 'No Promotional E-mails' in
 the SUBJECT line.




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



font embedding and encoding, ANSI vs CID

2004-06-15 Thread Dave_S_White

Hi, 

I am using FOP 0.20.5 to create PDF's and have some questions/problems with my approach towards font embedding and encoding. I need to embed the fonts into the PDF to ensure a consistent rendering across various systems because they are legal docs distributed to the public via the web. 

I was originally using the default CID encoding, but the FOP FAQ describes some problems with the CID encoding, and worse than those, when I print it using adobe 4.0 it is completely mangled. ( It looks like the fonts are scrambled, many different chars, sizes, etc ). 

I am using iText to post process the document to encrypt it and prevent editing, etc, perhaps it is the combination of CID and encryption, I'm not really sure. At any rate, I need to keep the encryption. 

When I use the -enc ansi option when creating my font metrics file everything looks and prints great, but the entire font(s) end up in the file, making even a 1 page document 742KB. (Obviously it depends on the number/size of the fonts in the doc). 

I seem to be in a pickle. I need to support Adobe 4.0, encryption, and font embedding, but don't want to pay the price of extremely large files. 

Is it possible to get FOP to only embed the font partially even if I use ansi encoding? Does anyone have any recommendations on how to deal with this scenario?

I don't know much about the CID vs ANSI encoding, which do most people use, and is there a recommendation on when to use what? I have read the FOP pages, and looked through the email archives, but have not yet been able to find much guidance here. 

Any help is greatly appreciated!

Thanks,
dave













This communication may contain privileged and/or confidential information. It is intended solely for the use of the addressee. If you are not the intended recipient, you are strictly prohibited from disclosing, copying, distributing or using any of this information. If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.   This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act. You may not directly or indirectly reuse or redisclose such information for any purpose other than to provide the services for which you are receiving the information.127 Public Square, Cleveland, OH 44114If you prefer not to receive future e-mail offers for products or services from Key Click Here
 or send an e-mail to [EMAIL PROTECTED] with 'No Promotional E-mails' in the SUBJECT line.