Hi Mehdi, OK, I will tell it explicitly where the font is located. Hopefully that will solve the problem
Thank you for helping. 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, February 02, 2011 9:32 AM To: fop-users@xmlgraphics.apache.org Subject: Re: font missing warning Hi Roberto, You can do 1 of 2 things, either a) place the font in the correct folder or b) you can be explicit about the location of the font (http://xmlgraphics.apache.org/fop/0.95/configuration.html#renderers). I'd suggest that you go for the latter rather than the former as it gives you better control over where the font is. Hope that helps Mehdi On 2 February 2011 14:18, Eric Douglas <edoug...@blockhouse.com> wrote: > Obviously it means it can't find the font. auto-detect is usually not a > good idea. It depends on the font file being found on the machine it's > running on. > What file contains that font triplet? Is that installed on the production > machine? Obviously it's either not installed there or there's something > different about the search path. > ________________________________ > From: Roberto Cahanap [mailto:rcaha...@bioreference.com] > Sent: Wednesday, February 02, 2011 9:12 AM > To: fop-users@xmlgraphics.apache.org > Subject: font missing warning > > Hello! > > > > We are getting this warning when we try to create a PDF: > > > > Feb 1, 2011 4:35:03 PM org.apache.fop.fonts.FontInfo notifyFontReplacement > > WARNING: Font 'Consolas,normal,400' not found. Substituting with > 'any,normal,400'. > > > > Our environment - we have another program that creates the XML and XSL. We > use FOP to create the PDF from these files. > > > > Some things to note about our problem: > > - If we have a simple XSL, then we don't get this error > > - We have two environments (TEST and PRODUCTION), it works OK in > our TEST environment > > - We are using FOP 0.95 > > - We use <auto-detect/> in the fop configuration file to detect the > font. > > > > Does anybody know what could be causing this issue? > > > > 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