Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27057

    Hello ,

    I created the pd4fonts.properties with the command as below

    java -jar pd4ml.jar -configure.fonts /path/to/my/fonts/

    When I run my Java Program deployed on tomcat I get following debug info

    version: PD4ML 370 Pro (eval)
    not yet in cache: file:C:EpicFonts/pd4fonts.properties
    ‘serif’ is not in pd4fonts.properties file
    reject TTF lookup for: ‘serif’
    not yet in cache: file:C:WindowsFonts/times.ttf
    reject TTF lookup for: ‘times new roman’
    not yet in cache: file:C:WindowsFonts/cour.ttf
    reject TTF lookup for: ‘courier new’
    not yet in cache: file:C:WindowsFonts/gothic.ttf
    reject TTF lookup for: ‘century gothic’
    not yet in cache: file:C:WindowsFonts/calibri.ttf
    reject TTF lookup for: ‘calibri’
    not yet in cache: file:C:WindowsFonts/pala.ttf
    reject TTF lookup for: ‘palatino linotype’
    not yet in cache: file:C:WindowsFonts/impact.ttf
    reject TTF lookup for: ‘impact’
    not yet in cache: file:C:WindowsFonts/tahoma.ttf
    reject TTF lookup for: ‘tahoma’
    ‘helvetica’ is not in pd4fonts.properties file
    reject TTF lookup for: ‘helvetica’
    not yet in cache: file:C:WindowsFonts/l_10646.ttf
    reject TTF lookup for: ‘lucida sans unicode’
    not yet in cache: file:C:WindowsFonts/lucon.ttf
    reject TTF lookup for: ‘lucida console’
    not yet in cache: file:C:WindowsFonts/arial.ttf
    reject TTF lookup for: ‘arial’
    not yet in cache: file:C:WindowsFonts/ariblk.ttf
    reject TTF lookup for: ‘arial black’
    not yet in cache: file:C:WindowsFonts/arial-narrow_[allfont.net].ttf
    reject TTF lookup for: ‘arial narrow’
    not yet in cache: file:C:WindowsFonts/verdana.ttf
    reject TTF lookup for: ‘verdana’

    I used following code on Java Side

    pd4ml.useTTF(“C:EpicFontspd4fonts.properties”, true);

    Alternatively I downloaded allfont.zip file and added fonts.jar to deployment and tested and that too didn’t work.

    Please advice on what can be the problem.

    #29854

    Please try using pd4ml.useTTF(“C:EpicFontsabc.ttf”, true); instead of pd4ml.useTTF(“C:EpicFontspd4fonts.properties”, true);

    #29853

    > pd4ml.useTTF(“C:EpicFontsabc.ttf”, true);
    It will not work that way. It should always point to a font mapping .properties file or to a directory where pd4fonts.properties is.

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

The forum ‘General questions / FAQ’ is closed to new topics and replies.