PDA

View Full Version : Render Flags ?


rtrembleau
February 16th, 2007, 06:59 AM
Hi,

I'm working with the demo version of Foxit PDF Reader with Visual C++.
It works well but I wonder what are the possible flags for the RenderPage function ??

actually, my problem is that I try to render a PDF in a small window (only for previewing it 400X400). It works well but the fonts are too small and we can't read anything.
I tried to do the same thing with Acrobat Reader and it seems to be better (but slower ...)

Is there any flag or other thing to improve the rendering ?

Thanls

AmyLin
February 16th, 2007, 08:39 AM
Here are some rendering flags with fpdfview.dll


// Page rendering flags. They can be combined with bit OR
#define FPDF_ANNOT 0x01 // Set if annotations are to be rendered
#define FPDF_LCD_TEXT 0x02 // Set if using text rendering optimized for LCD display
#define FPDF_NO_GDIPLUS 0x04 // Set if you don't want to use GDI+ (for fast rendering with poorer graphic quality)
// Applicable to desktop Windows systems only.
#define FPDF_DEBUG_INFO 0x80 // Set if you want to get some debug info.
// Please discuss with Foxit first if you need to collect debug info.

rtrembleau
February 19th, 2007, 12:26 AM
Where did you find those flags ????

Thanks.