Hi,
 
I'm using XML configuration to generate PDF (parsing this XML file and replacing
database values with the help of tagmap).
I have a problem setting font when using tagmap.
<row>
    <cell left="true" right="true" top="true" bottom="true" horizontalalign="left">
        <chunk font="unknown" size="8.0">
            <DESCRIPTION/>
        </chunk>
    </cell>
</row>
 
In the above code when i set a value for "DESCRIPTION" (using XmlPeer - setContent), there is no effect for the font size specified.
Here value is displayed with default font.
 
Where as when i define the same with a text, everything works fine.
Say
<row>
    <cell left="true" right="true" top="true" bottom="true" horizontalalign="left">
        <chunk font="unknown" size="8.0">
            My Description
        </chunk>
    </cell>
</row>
 
It is displaying "My Description" with font size "8.0"
How do I make it work in above case?
 
Thanks in advance,
Rajeev.
 

 

Reply via email to