Forum How do I...?

Font size control alongwith using prince-shrink-to-fit: auto

spatnaik
Hi

I have set

prince-shrink-to-fit: auto;

in my css file.

The font size of the generated report is very very small almost making it illegibe. I want to increase the font size a wee bit.

I tried something like this in my css file
font: xx-small serif;
prince-shrink-to-fit: auto;
But it doesn't affect the font size in anyway.I guess it should be because the shrink to fit overrides the font size setting.

Can I control the font size along with using prince-shrink-to-fit in anyway?

Thanks,
Smita
mikeday
Tricky. If the font is very small, that means that Prince is having to shrink the page to get everything to fit. Does the page contain a wide image? Or a wide table? If the text is just in paragraphs and can reflow, then actually increasing the font size should help. But if there is a wide table containing text, then it might not be possible to increase the font size without overlapping the page, which shrink to fit will not allow.
spatnaik
Yeah the page does have a wide table and an image (image is not wide though)! For now I will go with the font size as it is.

Thanks for your response !