Bug 427431 - Okular show square box around any text produce by AutoCAD
Summary: Okular show square box around any text produce by AutoCAD
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.11.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL: https://pasteboard.co/JuE1OpZ.png
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-08 05:06 UTC by rana
Modified: 2020-10-08 21:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
this is my pdf file which I'm trying to view using okular (309.07 KB, application/pdf)
2020-10-08 05:06 UTC, rana
Details
Backend configuration dialog, no effect (56.76 KB, image/png)
2020-10-08 17:36 UTC, Laura David Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rana 2020-10-08 05:06:04 UTC
Created attachment 132201 [details]
this is my pdf file which I'm trying to view using okular

SUMMARY
Any pdf drawing file generated from AutoCAD software, it shows square box around text.

STEPS TO REPRODUCE
1. Any pdf file with text generated from AutoCAD software
2. 
3. 

OBSERVED RESULT
This kind of box around text only visible on Okular pdf viewer, if i open same document with other pdf viewer such as firefox or evince, it does not show those box.

EXPECTED RESULT


SOFTWARE/OS VERSIONS : 1.11.1
Windows: 
macOS: 
Linux/KDE Plasma: x86_64 Linux 5.8.11-1-MANJARO
(available in About System)
KDE Plasma Version: KDE 5.74.0 / Plasma 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
I've tried tried check and unchecked "draw border around link" option in accessibility setting in Okular. 
but it is same result. No different.
I'm attaching my file
here is the link of my screen shot of okular behave
https://pasteboard.co/JuE1OpZ.png 

This is screen shot of firefox pdf viewer of same document
https://pasteboard.co/JuE2Let.png
Comment 1 Nate Graham 2020-10-08 15:14:12 UTC
I see the same issue in Evince, actually. If you don't, maybe you have a version of evince with a different version of the Poppler PDF rendering library that both of them use. Either way I strongly suspect that this is a Poppler bug. You'll want to re-file this at https://gitlab.freedesktop.org/poppler/poppler/-/issues
Comment 2 Laura David Hurka 2020-10-08 17:36:54 UTC
Created attachment 132220 [details]
Backend configuration dialog, no effect

These are hairlines. Okular offers an option to disable rendering them as solid 1px line, also documented in the Okular handbook. The problem is that this option has no effect.
Comment 3 Laura David Hurka 2020-10-08 17:39:23 UTC
Well, hairlines could be interpreted as not “a very thin line”. Then Poppler just decides to draw them as 1px always, like usual with hairlines.

With this interpretation it is actually an Autocad bug, because Okular renders the hairlines as the PDF file tells it to do.
Comment 4 rana 2020-10-08 21:37:43 UTC
(In reply to David Hurka from comment #3)
> Well, hairlines could be interpreted as not “a very thin line”. Then Poppler
> just decides to draw them as 1px always, like usual with hairlines.
> 
> With this interpretation it is actually an Autocad bug, because Okular
> renders the hairlines as the PDF file tells it to do.

You are right,
I found it, there it. a reddit user given this link
https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Drawing-text-appears-as-Comments-in-a-PDF-created-by-AutoCAD.html
its a autocad bug, I followed that link. and its now solved.