My solution was to embed the entire font with the 'enc -ansi' option, then
post-process them with Neevia Document Converter to subset the fonts.  This
does a little better job with the subsetting as you can still search.

I believe Neevia just calls ghostscript to do this function.  I'm not
positive though, but since Neevia already worked, it was cheaper than
developing a solution with ghostscript.


-----Original Message-----
From: Ricardo Coutinho [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 9:46 AM
To: [EMAIL PROTECTED]
Subject: RE: PDF generation with only a subset of a Font embedded?


Thanks for the reply, 
Okay then let me explain my actual problem which I thought was due to my
font metrics files. My font metrics file were created with a previous
version of FOP, i.e. there was no '-enc ansi' option.
My problem is that the I can not search the text in the generated PDFs. When
looking at the PDF with an editor , it appears that everything is an image.
Is this due to the fact the metrics files were CID-keyed? I read the
information on the http://xml.apache.org/fop/fonts.html#truetype-metrics
page explaining the differences in the metrics file generation.
Although using the metrics file with the '-enc ansi' fixes this problem, I
am then have bloated PDFs. 
Are there any other alternatives? 
Ricardo 
> Ricardo Coutinho 
> Software Engineer 
> ____________________________________________ 
> Odyssey Asset Management Systems S.A. 
Espace Kirchberg-Eolis 
> 26-28, rue Edward Steichen 
L-2540  Luxembourg-Kirchberg 
> Direct Line:+352 42 60 80 4425 
> fax: +352 42 91 92 
> http://www.odyssey-group.com 


-----Original Message----- 
From: Teator, Michael [mailto:[EMAIL PROTECTED] 
Sent: 29 August 2003 14:47 
To: '[EMAIL PROTECTED]' 
Subject: RE: PDF generation with only a subset of a Font embedded? 


By default, unless you specified '-enc ansi' when you created the metrics, 
FOP subsets TrueType fonts. 


-----Original Message----- 
From: Ricardo Coutinho [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 7:40 AM 
To: [EMAIL PROTECTED] 
Subject: PDF generation with only a subset of a Font embedded? 


Hi all, 
Does FOP support this feature. If so, then how can I enable it. 
The complete embedding of the true type fonts is creating far too large 
pdfs. 
--------------------------------------------------------------------- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
__________________________________________________________________________ 
� This email and any files transmitted with it are CONFIDENTIAL and intended
solely for the use of the individual or entity to which they are addressed. 
� Any unauthorized copying, disclosure, or distribution of the material
within
this email is strictly forbidden. 
� Any views or opinions presented within this e-mail are solely those of the
author and do not necessarily represent those of Odyssey Asset Management
Systems SA unless otherwise specifically stated. 
� An electronic message is not binding on its sender.  Any message referring
to
a binding engagement must be confirmed in writing and duly signed. 
� If you have received this email in error, please notify the sender
immediately
and delete the original. 

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

Reply via email to