Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36040

    Hello

    I have a problems with fonts in comand line tool on ubuntu 20.

    here is the call

    java -Xmx512m -Djava.awt.headless=true -jar pd4ml.jar 'pathtohtml' 800 A4 -ttf fonts/pd4fonts.properties -orientation PORTRAIT -insets 10,10,10,10,mm -out /tmp/temp.pdf -debug 99999

    in pd4fonts.properties the aller font is defined

    Aller=Aller_Rg.ttf

    debug results:

    CACHE FONT CACHE init: fonts/pd4fonts.properties

    FONTS FONT CACHE lookup: aller:26.0 for ‘H277318’
    TRACE FONT CACHE Type1 font ‘arial’ can show ‘H277318’
    FONTS FONT CACHE found: arial 26.0

    The font in the generated pdf is Arial Not Aller

    What is the problem? How can I fix it?

    #36056

    Hi! Can you please share with us your pd4fonts.properties and a minimalistic sample of PDF where you expect Aller font to appear?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.