Hello Mehdi! Thank you for responding. What I mean by embedding is that I would like to have the fonts embedded when we are going to email the PDF to our customers. We want to embed because we want the recipient of the email to have the actual intended font when they are viewing and printing the PDF.
But when we are printing the PDF here in the office, I would like the font to not be embedded in the PDF and have the PDF reader/printer look for the font during opening of the file. We want to not embed the font for this purpose so that it is a smaller file and can be copied faster to the print server. Roberto Cahanap Developer, Reporting Department Bio-Reference Laboratories, Inc. Phone: 800-229-5227 x8499 Cell: 201-693-0132 Fax: 201-475-0344 Email: rcaha...@bioreference.com -----Original Message----- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Wednesday, December 15, 2010 4:26 PM To: fop-users@xmlgraphics.apache.org Subject: Re: <font embed-url...> Hi Roberto, I assume by "option of NOT embedding" you mean that it would be configured in the FO, if so, then FOP doesn't support that directly. In that, there's no way for the FO to tell FOP whether to embed the font or not. However, one way to do this (though I haven't tried) would be to use a non-standard font name to embed and a standard one to reference. You can see how to reference fonts from the URL (http://xmlgraphics.apache.org/fop/1.0/fonts.html) but if you call the font you want to reference by a non-standard name i.e. "Lucida Console Embed" then that may do the trick. That would mean in each FO that you want the Lucida font embedded you'd use "Lucida Console Embed" and the standard name otherwise. I'm not sure if that would work, but its worth a go, I can't see why it wouldn't work. Mehdi On 15 December 2010 15:53, Roberto Cahanap <rcaha...@bioreference.com> wrote: > Hello! I am new to this mailing list, so thank you in advanced for helping. > > > > We have in the fop.xconf a setting like this: > > > > <font metrics-url="file:///c:/Program Files/Apache/fop/fonts/luci.xml" > > kerning="yes" > > embed-url="file:///c:/Windows/Fonts/lucon.ttf" > > encoding-mode="single-byte"> > > <font-triplet name="Lucida Console Print" style="normal" > weight="normal"/> > > </font> > > > > Which seems to work fine. This font declaration embeds this font into the > PDF document. > > > > What we would like is the option of NOT embedding this also. So for some > docs we would embed, while others we do not. > > > > Is this possible? > > > > Thank you. > > > > The information transmitted in this email and any of its attachments is > intended only for the person or entity to which it is addressed and may > contain BioReference Laboratories proprietary information, which is > privileged, confidential, or subject to copyright belonging to BioReference > Laboratories. Any review, retransmission, dissemination or other use of, or > taking of any action in reliance upon, this information by persons or > entities other than the intended recipient is prohibited and may be > unlawful. If you received this in error, please contact the sender > immediately and delete and destroy the communication and all of the > attachments you have received and all copies thereof. > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain BioReference Laboratories proprietary information, which is privileged, confidential, or subject to copyright belonging to BioReference Laboratories. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org