Documents with closely spaced lines render strangely in WebViewer

30 views
Skip to first unread message

Matt Parizeau

unread,
Nov 29, 2017, 1:27:03 PM11/29/17
to pdfnet-w...@googlegroups.com
Q:

Certain documents with closely spaced lines don't look very good when rendered in WebViewer. Is there anything we can do about this?

A:

You can call the function CoreControls.setAdvancedImageScaling(true). This function forces a higher level of accuracy in image downsampling at the expense of some rendering performance. It should be called inside your config file before loading a document to ensure the setting is used.

You can also pass a number as a parameter to change the number of downscaling steps. For example CoreControls.setAdvancedImageScaling(2). Passing true is equivalent to passing 1.4.
Reply all
Reply to author
Forward
0 new messages