Hi,
Sometimes I am getting the following error:
[log4j][ServiceQueueSyncProcessThread: '2' for queue
ProductsStmtService][2017-01-19 20:42:21,675]
org.apache.pdfbox.pdmodel.font.PDCIDFontType2 WARN Using fallback font
LiberationSans for CID-keyed TrueType font ArialMT
In my code I am always setting the PDFont object to Arial:
PDDocument document = new PDDocument();
File fontFile = new
File(getClass().getClassLoader().getResource("Fonts/arial.ttf").toURI());
PDFont font = PDType0Font.load(document, fontFile);
My code generates a PDF every time it gets a request. Sometimes I get this
message and sometimes I don't and all of the time I am using the Arial font.
When I do get this message it seems to appear every time that I am calling to
put text on that PDF. Then the next request may not have this message while
processing.
Any ideas as to why this message is coming out?
Any ideas as to why it would only come out sometimes?
As you can see I have the font file loaded.
Thank you,
Ray
________________________________
CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it are
intended solely for the use of the individual or entity to whom they are
addressed and may contain confidential and privileged information protected by
law. If you received this e-mail in error, any review, use, dissemination,
distribution, or copying of the e-mail is strictly prohibited. Please notify
the sender immediately by return e-mail and delete all copies from your system.