Hello, I have downloaded evaluation version of Dynamic PDF Generator v8.0 for some test work. During testing I have found that whenever I add a label using the label class the size of the generated PDF document increases significantly. For my purpose I need to add several labels as page elements. But on an average every label object addition increases the PDF document size by 26 - 28 KB!
Am I missing anything? Is label is the right way to add text when my PDf document is going to have a huge number of text?
I need to add formatted text, that's why I am using labels. As a result the output PDF size becomes 8 MB!
It will be a real help for me if somebody can give some clue of what is happening?
How to Write Text
Re: How to Write Text
Forum member · Nov 28, 2016I have resolved the issue. This is due to the call LoadSystemFont() of Font class several times whenever a label is created. As I need to use several fonts, that's why I need to load them accordingly. But now I am doing the system font loading operation just once and call the loaded font when required. I have found the size is decreased from 8 MB to 124 KB!