Cropped text when zoomed

  • Hello,

    i have been asking this over on the german forum, but got no answers.

    Currently I am evaluating several PDF viewer components, amongst them WPViewPDF (demo version for now, but possible candidate for licensing). While testing I (and, unfortunately, one of my company's CEOs ) noticed text cropping when zooming in. See the following examples:

    1. nearly perfect display
    [Blockierte Grafik: http://www.hausmannwynen.de/oss_downloads/…ed/wppdf_ok.png]

    2. Just take the zoom up from 115% to 116% and things get messy:
    [Blockierte Grafik: http://www.hausmannwynen.de/oss_downloads/…_nok_marked.png]
    (see here without markings)

    The source PDF can be found here (this .pdf was originally created using a component from DynaPDF).

    It seems Arial 10 bold won't get sized seamless, as opposed to e.g. Arial 9 (non-bold). Some other Fonts do show cropping and "stuttering" while zooming, regardless of size or attributes (e.g. "Cambria").

    The demo application PDFView.exe from the installer shows the same behaviour. Abobe Reader displays correctly in every zoom factor.

    • Offizieller Beitrag

    Hi,

    The Font Arial makes jumps in width when it is resized - You can see this also in Word and I do not know a way to avoid it.

    Unfortunately there are always some rounding errros involved, this is why lines can become truncated. We already use anti aliasing (drawn an 4*resolution, than scaled down) - but that does yet not help to avoid all the problems.

    I will investigate if there is something which can be done, maybe just the scaling factor has to be adjusted.

    Julian