You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Roberto Cahanap <rc...@BioReference.com> on 2010/12/15 16:53:19 UTC
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.
RE:
Posted by Roberto Cahanap <rc...@BioReference.com>.
Thanks Jonathan!
I'll try this example.
Roberto Cahanap
Developer, Reporting Department
Bio-Reference Laboratories, Inc.
Phone: 800-229-5227 x8499
Cell: 201-693-0132
Fax: 201-475-0344
Email: rcahanap@bioreference.com
-----Original Message-----
From: Jonathan Levinson [mailto:Jonathan.Levinson@intersystems.com]
Sent: Thursday, December 16, 2010 9:47 AM
To: fop-users@xmlgraphics.apache.org
Subject: RE: <font embed-url...>
Here is an example:
c:\fop-0.95\fop -c c:\fop-0.95\conf\fop.xconf -xml MyReport.xml -xsl MyReport.xsl -pdf MyReport.pdf
Best Regards,
Jonathan Levinson
-----Original Message-----
From: mehdi houshmand [mailto:med1985@gmail.com]
Sent: Thursday, December 16, 2010 9:24 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: <font embed-url...>
Hi Roberto,
In all honesty I haven't used the FOP.BAT but yes, the "-c" parameter sets the configuration file so it'll probably do the job. If that doesn't work, let me know.
Thanks
Mehdi
On 16 December 2010 14:03, Roberto Cahanap <rc...@bioreference.com> wrote:
> Oh Ok.
>
> If I create 2 fop.xconf, then what I want to do should work. How do I tell FOP which one to use though?
>
> Is there a switch in the FOP.BAT that I can use to tell this?
>
> I see an option:
>
> -c cfg.xml
>
> in the documentation. Do I do it through this?
>
> Thanks Mehdi.
>
> Roberto Cahanap
> Developer, Reporting Department
> Bio-Reference Laboratories, Inc.
> Phone: 800-229-5227 x8499
> Cell: 201-693-0132
> Fax: 201-475-0344
> Email: rcahanap@bioreference.com
>
>
> -----Original Message-----
> From: mehdi houshmand [mailto:med1985@gmail.com]
> Sent: Thursday, December 16, 2010 4:50 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: <font embed-url...>
>
> Hi Roberto,
>
> Ok well the best way to do that, is to have two separate fop.xconf
> files, one that you use for your office use and one that you use for
> customer use. If you go to the URL that both myself and Jeremias sent
> you'll learn how to reference fonts rather than embedding them. As
> Jeremias said, the metrics XML file is deprecated and no longer
> necessary.
>
> Mehdi
>
> On 15 December 2010 21:31, Roberto Cahanap <rc...@bioreference.com> wrote:
>> 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: rcahanap@bioreference.com
>>
>>
>> -----Original Message-----
>> From: mehdi houshmand [mailto:med1985@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 <rc...@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-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail:
>> fop-users-help@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-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail:
>> fop-users-help@xmlgraphics.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE:
Posted by Jonathan Levinson <Jo...@intersystems.com>.
Here is an example:
c:\fop-0.95\fop -c c:\fop-0.95\conf\fop.xconf -xml MyReport.xml -xsl MyReport.xsl -pdf MyReport.pdf
Best Regards,
Jonathan Levinson
-----Original Message-----
From: mehdi houshmand [mailto:med1985@gmail.com]
Sent: Thursday, December 16, 2010 9:24 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: <font embed-url...>
Hi Roberto,
In all honesty I haven't used the FOP.BAT but yes, the "-c" parameter sets the configuration file so it'll probably do the job. If that doesn't work, let me know.
Thanks
Mehdi
On 16 December 2010 14:03, Roberto Cahanap <rc...@bioreference.com> wrote:
> Oh Ok.
>
> If I create 2 fop.xconf, then what I want to do should work. How do I tell FOP which one to use though?
>
> Is there a switch in the FOP.BAT that I can use to tell this?
>
> I see an option:
>
> -c cfg.xml
>
> in the documentation. Do I do it through this?
>
> Thanks Mehdi.
>
> Roberto Cahanap
> Developer, Reporting Department
> Bio-Reference Laboratories, Inc.
> Phone: 800-229-5227 x8499
> Cell: 201-693-0132
> Fax: 201-475-0344
> Email: rcahanap@bioreference.com
>
>
> -----Original Message-----
> From: mehdi houshmand [mailto:med1985@gmail.com]
> Sent: Thursday, December 16, 2010 4:50 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: <font embed-url...>
>
> Hi Roberto,
>
> Ok well the best way to do that, is to have two separate fop.xconf
> files, one that you use for your office use and one that you use for
> customer use. If you go to the URL that both myself and Jeremias sent
> you'll learn how to reference fonts rather than embedding them. As
> Jeremias said, the metrics XML file is deprecated and no longer
> necessary.
>
> Mehdi
>
> On 15 December 2010 21:31, Roberto Cahanap <rc...@bioreference.com> wrote:
>> 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: rcahanap@bioreference.com
>>
>>
>> -----Original Message-----
>> From: mehdi houshmand [mailto:med1985@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 <rc...@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-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail:
>> fop-users-help@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-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail:
>> fop-users-help@xmlgraphics.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re:
Posted by mehdi houshmand <me...@gmail.com>.
Hi Roberto,
In all honesty I haven't used the FOP.BAT but yes, the "-c" parameter
sets the configuration file so it'll probably do the job. If that
doesn't work, let me know.
Thanks
Mehdi
On 16 December 2010 14:03, Roberto Cahanap <rc...@bioreference.com> wrote:
> Oh Ok.
>
> If I create 2 fop.xconf, then what I want to do should work. How do I tell FOP which one to use though?
>
> Is there a switch in the FOP.BAT that I can use to tell this?
>
> I see an option:
>
> -c cfg.xml
>
> in the documentation. Do I do it through this?
>
> Thanks Mehdi.
>
> Roberto Cahanap
> Developer, Reporting Department
> Bio-Reference Laboratories, Inc.
> Phone: 800-229-5227 x8499
> Cell: 201-693-0132
> Fax: 201-475-0344
> Email: rcahanap@bioreference.com
>
>
> -----Original Message-----
> From: mehdi houshmand [mailto:med1985@gmail.com]
> Sent: Thursday, December 16, 2010 4:50 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: <font embed-url...>
>
> Hi Roberto,
>
> Ok well the best way to do that, is to have two separate fop.xconf
> files, one that you use for your office use and one that you use for
> customer use. If you go to the URL that both myself and Jeremias sent
> you'll learn how to reference fonts rather than embedding them. As
> Jeremias said, the metrics XML file is deprecated and no longer
> necessary.
>
> Mehdi
>
> On 15 December 2010 21:31, Roberto Cahanap <rc...@bioreference.com> wrote:
>> 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: rcahanap@bioreference.com
>>
>>
>> -----Original Message-----
>> From: mehdi houshmand [mailto:med1985@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 <rc...@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-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE:
Posted by Roberto Cahanap <rc...@BioReference.com>.
Oh Ok.
If I create 2 fop.xconf, then what I want to do should work. How do I tell FOP which one to use though?
Is there a switch in the FOP.BAT that I can use to tell this?
I see an option:
-c cfg.xml
in the documentation. Do I do it through this?
Thanks Mehdi.
Roberto Cahanap
Developer, Reporting Department
Bio-Reference Laboratories, Inc.
Phone: 800-229-5227 x8499
Cell: 201-693-0132
Fax: 201-475-0344
Email: rcahanap@bioreference.com
-----Original Message-----
From: mehdi houshmand [mailto:med1985@gmail.com]
Sent: Thursday, December 16, 2010 4:50 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: <font embed-url...>
Hi Roberto,
Ok well the best way to do that, is to have two separate fop.xconf
files, one that you use for your office use and one that you use for
customer use. If you go to the URL that both myself and Jeremias sent
you'll learn how to reference fonts rather than embedding them. As
Jeremias said, the metrics XML file is deprecated and no longer
necessary.
Mehdi
On 15 December 2010 21:31, Roberto Cahanap <rc...@bioreference.com> wrote:
> 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: rcahanap@bioreference.com
>
>
> -----Original Message-----
> From: mehdi houshmand [mailto:med1985@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 <rc...@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re:
Posted by mehdi houshmand <me...@gmail.com>.
Hi Roberto,
Ok well the best way to do that, is to have two separate fop.xconf
files, one that you use for your office use and one that you use for
customer use. If you go to the URL that both myself and Jeremias sent
you'll learn how to reference fonts rather than embedding them. As
Jeremias said, the metrics XML file is deprecated and no longer
necessary.
Mehdi
On 15 December 2010 21:31, Roberto Cahanap <rc...@bioreference.com> wrote:
> 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: rcahanap@bioreference.com
>
>
> -----Original Message-----
> From: mehdi houshmand [mailto:med1985@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 <rc...@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE:
Posted by Roberto Cahanap <rc...@BioReference.com>.
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: rcahanap@bioreference.com
-----Original Message-----
From: mehdi houshmand [mailto:med1985@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 <rc...@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re:
Posted by mehdi houshmand <me...@gmail.com>.
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 <rc...@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE:
Posted by Roberto Cahanap <rc...@BioReference.com>.
Hello Jeremias,
We want to upgrade to FOP 1.0, but we would like to test it out first on a test machine before we put it into a live machine.
Right now we are using version 0.95 and it is working well. We just have now a requirement that we want to embed the font in some documents.
I am new to FOP so I will definitely be sending a lot of "beginner" questions to this mailing list. I have also been looking at the archive mailing list for this group in a website that I found online.
Thanks for your help Jeremias.
Roberto Cahanap
Developer, Reporting Department
Bio-Reference Laboratories, Inc.
Phone: 800-229-5227 x8499
Cell: 201-693-0132
Fax: 201-475-0344
Email: rcahanap@bioreference.com
-----Original Message-----
From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch]
Sent: Wednesday, December 15, 2010 4:32 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: <font embed-url...>
Hi Roberto,
if you update to FOP 1.0, you can do away with the XML font metrics
files (metrics-url attribute) and you can use the instructions found at
the following URL to specify which fonts shall not be embedded.
http://xmlgraphics.apache.org/fop/1.0/fonts.html#embedding
(look for "referenced-fonts")
On 15.12.2010 16:53:19 Roberto Cahanap 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.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re:
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Hi Roberto,
if you update to FOP 1.0, you can do away with the XML font metrics
files (metrics-url attribute) and you can use the instructions found at
the following URL to specify which fonts shall not be embedded.
http://xmlgraphics.apache.org/fop/1.0/fonts.html#embedding
(look for "referenced-fonts")
On 15.12.2010 16:53:19 Roberto Cahanap 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.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org