Text underlines don't appear to have the same thickness when zoomed out.

11 views
Skip to first unread message

Ryan

unread,
Nov 9, 2016, 2:51:24 PM11/9/16
to PDFTron PDFNet SDK

Question:

After underlining text, and zooming out, some of the lines appear thicker than others. It appears some lines are more aliased than others.

How can we correct this?



Answer:

This is due to pixel alignment issues, and can be controlled with the pixel_grid_fit parameter of PDFViewCtrl.SetThinLineAdjustment function.

pdfviewctrl.SetThinLineAdjustment(pixel_grid_fit, true); // set pixel_grid_fit to true



Reply all
Reply to author
Forward
0 new messages