Okular line weight

Hi.

I was about to replace 30 instances of Windows 10 installs with some linux distro instead of buying new W11 compatible computers.

But I hit a major snag.

We have to be able use thin lines on pdf viewer so workers can accurately read technical drawings.

I could not find any linux native pdf reader where you can choose line weights.

( “CTRL + 5” in adobe or foxit readers)

Is there any way to add this feature in ocular in a reasonably short time or should I just waste bunch of company money and create lots of e-waste by buying new computers?

1 Like

hi, welcome.

i have noticed this too and it seems there is widespread disagreement over how to handle line weights in PDF viewers.

some want to render as accurately as possible but this often results in lines that are not visible which make the viewer seem broken.

others (like okular) try to render all the lines to ensure the document is readable.

there is a backend setting for enhancing line weight which you should check to ensure it is set to “no”, but it seems to be redundant to the already preferred mode of render (to show all the lines).

did find this entry in ~/.config/okularpartrc

[Dlg Accessibility]
BWContrast=5

not sure what it does.

Hi,

I’m in the same shoe. I moved to Linux Mint from Windows 10. And I’m really fond the above feature in the PDF viewer. On Windows the PDF-Xchange Viewer also did have this feature, and Adobe Reader as well… It would be really good to have it in Okular as well.

Thank you,

Zoltan

this seems like a bug so i’ve created the following report

feel free to comment or add your name to the CC list if this is affecting you.

if no one can provide an example .pdf file where the line weights are not correctly displayed in okular, then this bug report will be closed.

i’ve tried searching the web for .pdf files that demo line weights but have not found a good example.