Recently I began having problems with the Visual Studio Web Deploy feature – I did some googling and found that restarting the “Web Deploy Agent Service” fixes everything – I’m not sure why the service would lock up after a boot but that did fix it.
How to fix problems with small fonts when using the rotativa nuget package
Does the actual html look fine but the text on the printed pdf look way, way too small when you actually print the thing?
- In the MVC Controller – add in
CustomSwitches = “–disable-smart-shrinking”,
- Check for long strings of unbroken text, in my case it was a fake underline of underscores (______) which was causing problems.
Blogged about largely in case I ever need to remember it later.
07
Jul 14
Written By Steve French