Thank you for your response! Does any option exist to place a bunch of fonts on a folder on the RedHat Enterprise Linux server and reference them via a properties file (or load from classpath)? Trying to see if we can avoid involving the System Administrators to find the correct installers that will contain these 14 fonts. I'd rather assemble this myself and provide it for use on the server. Not sure if the newer versions support property files to load .TTF fonts.
Thanks Derryl. On Wed, Dec 4, 2019 at 1:55 PM Tilman Hausherr <thaush...@t-online.de> wrote: > Hi, > > Please download the fonts and put them into the font directory of your OS. > > > https://www.pcworld.com/article/2863497/how-to-install-microsoft-fonts-in-linux-office-suites.html > > Tilman > > Am 04.12.2019 um 15:52 schrieb Derryl Varghese: > > First post on this list. > > > > my SO question - > > > https://stackoverflow.com/questions/59168828/pdfbox-2-0-17-fonts-on-linux > > > > I am converting a page in a PDF document to bytes and then constructing > an > > image out of it. > > > > On Windows, the image is constructed fine. On Linux (RedHat), the letters > > on the image look smudged (overlap each other) > > > > In the logs (weblogic), i see the following indicating the fonts required > > are missing on Linux. > > > > <Dec 3, 2019 11:06:35 PM EST> <Warning> > > <org.apache.pdfbox.pdmodel.font.PDType1Font> <BEA-000000> <Using > > fallback font LiberationSans for Helvetica-Bold> > > <Dec 3, 2019 11:06:35 PM EST> <Warning> > > <org.apache.pdfbox.pdmodel.font.PDType1Font> <BEA-000000> <Using > > fallback font LiberationSans for Times-Roman> > > <Dec 3, 2019 11:06:35 PM EST> <Warning> > > <org.apache.pdfbox.pdmodel.font.PDType1Font> <BEA-000000> <Using > > fallback font LiberationSans for Times-Bold> > > <Dec 3, 2019 11:06:35 PM EST> <Warning> > > <org.apache.pdfbox.pdmodel.font.PDType1Font> <BEA-000000> <Using > > fallback font LiberationSans for Times-Italic> > > <Dec 3, 2019 11:06:35 PM EST> <Warning> > > <org.apache.pdfbox.pdmodel.font.PDType1Font> <BEA-000000> <Using > > fallback font LiberationSans for Helvetica> > > > > > > How can supply the missing fonts on Linux? I see references to using a > > properties file (PDFBox_External_Fonts.properties) on versions before 2. > > What can i do on pdfbox version 2.0.17? I am unable to find any > > documentation on how to proceed. Is there a location within the > pdfbox.jar > > i can place them? I would ideally like to use a property file to point > the > > location of the .ttf fonts instead of having to get them installed on the > > linux server. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org > >