Bonjour,
Je veux utiliser la font Univers pour un élément d'un tableau.
Avec FOP 1.0 j'ai généré le fichier UNIVER.XML correspondant au fichier UNIVER.TTF.
Dans le fichier userconfig.xml de FOP j'ai ajouté les lignes suivantes :
J'ai recopié le fichier UNIVER.TTF et UNIVER.xml dans le répertoire d'exécution.Code:
1
2
3
4 <font metrics-url="UNIVER.xml" kerning="yes" embed-url="UNIVER.TTF"> <font-triplet name="Univers" style="normal" weight="normal"/> </font>
J'ai lancé la conversion de mon fichier FO en PDF
Dans le fichier test.fo j'ai le code suivant :Code:call %FOP%\fop -fo test.fo -pdf test.pdf 2> test.err
Dans le fichier log 'test.err' j'ai les lignes suivantes :Code:<fo:block font-size="7pt" text-align="center" font-family="Univers">Essai.</fo:block>
Citation:
ATTENTION: Font "Univers,normal,400" not found. Substituting with "any,normal,400".
Si quelqu'un a une idée pour me dépanner, je suis preneur
Merci