Support Arabic font at @Mendix Report Template - Mendix Forum

Support Arabic font at @Mendix Report Template

5

to Support Arabic font at @Mendix Report Template , make sure to do the below:

1-Add the needed fonts at the   C:\Program Files\Mendix\9.15.1.48706\runtime\lib

2-Open fop.xconf file and add the font name you need 

3-make sure that All the fonts in your resources folder

4-Add the font on the needed  label  as a script

for example :

<font metrics-url="arial.xml" kerning="yes" embed-url="arial.ttf">
          <font-triplet name="Arial" style="normal" weight="normal"/>
          <font-triplet name="ArialMT" style="normal" weight="normal"/>
        </font>
        <font metrics-url="arialb.xml" kerning="yes" embed-url="arialb.ttf">
          <font-triplet name="Arial" style="normal" weight="bold"/>
          <font-triplet name="ArialMT" style="normal" weight="bold"/>
        </font>

Before using custom fonts on (static label and dynamic label)  ,be noted you must check to Find all TTF files in the /runtime/lib folder, there should be those files:

 

Note :

You must do this Setp on server on the below path : 

C:Mendix/Servers/Studio Pro 8.3.2 / runtime/lib

asked
0 answers