Bug 144096 - "underdots" are too fine (in PDF export)
Summary: "underdots" are too fine (in PDF export)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.1.5.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-26 06:54 UTC by Ulrich Windl
Modified: 2023-09-24 17:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing PDF in Adobe Reader (Windows) at high zoom-in (46.35 KB, image/png)
2021-08-26 06:54 UTC, Ulrich Windl
Details
Sample document (test case) (9.65 KB, application/vnd.oasis.opendocument.text)
2021-08-26 06:56 UTC, Ulrich Windl
Details
PDF export for attachment 174546 (38.08 KB, application/pdf)
2021-08-26 06:57 UTC, Ulrich Windl
Details
"Dotted" options in Inkscape (partial Screenshot) (3.12 KB, image/png)
2021-08-27 06:52 UTC, Ulrich Windl
Details
Revised test case (manually adding dots) (9.31 KB, application/vnd.oasis.opendocument.text)
2021-08-27 07:04 UTC, Ulrich Windl
Details
Detail view for the newer test case (4.52 KB, image/png)
2021-08-27 07:06 UTC, Ulrich Windl
Details
Font details (fontforge) of '.' in DejaVu Sans (78.71 KB, image/png)
2021-08-27 07:08 UTC, Ulrich Windl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2021-08-26 06:54:11 UTC
Created attachment 174545 [details]
Screenshot showing PDF in Adobe Reader (Windows) at high zoom-in

(I can't remember whether ever or when I had used "underdots" (underlining using dots) last)
Using "underdots" at font size 14 point resulted in a PDF that had no distinguishable point at 100% zoom. It seems the dots are too dense (see attachment).
Comment 1 Ulrich Windl 2021-08-26 06:56:38 UTC
Created attachment 174546 [details]
Sample document (test case)

For the screen shot the dots are distinguishable at roughly 400% zoom.
Here is a test case document reproducing the problem (PDF will follow).
Comment 2 Ulrich Windl 2021-08-26 06:57:46 UTC
Created attachment 174547 [details]
PDF export for attachment 174546 [details]

Here is an example export
Comment 3 Ulrich Windl 2021-08-26 07:02:55 UTC
Viewing the PDF in Linux with evince seems to render the fine dots somewhat better than Adobe's Reader in Windows 10. Still the dots seem quite fine to me.
Comment 4 Telesto 2021-08-26 15:32:16 UTC
Dots in PDF at 100% look different compared to ODT in LibreOffice
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: f58f35b2c8ca1efbacec642a8f3de5b0c499bc6b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

Also the case with 4.0.0.3 export. 

However no clue about scaling, font rendering etc asses if this being a bug or not
Comment 5 Ulrich Windl 2021-08-27 06:52:16 UTC
Created attachment 174568 [details]
"Dotted" options in Inkscape (partial Screenshot)

As MS-Word seems to lack "underdots", I cannot compare, but at least Inkscape (just to compare) would allow different styles of dotted lines.
I don't know the algorithm
Comment 6 Ulrich Windl 2021-08-27 07:04:53 UTC
Created attachment 174569 [details]
Revised test case (manually adding dots)

I made an experiment with the test case: Add a line of just dots, and add a line with alternating dots and spaces.
Both cases use a much higher spacing between the dots than "underdots" do.
I don't know the algorithm, but the space between dots should be at least 1.2 to 1.5 times the space a dot occupies.
Comment 7 Ulrich Windl 2021-08-27 07:06:10 UTC
Created attachment 174570 [details]
Detail view for the newer test case
Comment 8 Ulrich Windl 2021-08-27 07:08:12 UTC
Created attachment 174571 [details]
Font details (fontforge) of '.' in DejaVu Sans

As the kerning information of period ('.') seems to suggest sufficient space between dots, I assume (not knowing the algorithm for "underdots") that the algorithm has a bug.
Comment 9 Buovjaga 2022-05-19 13:09:43 UTC
The dots are rendered separately in MS Edge and Firefox at 100% zoom. I confirm that they are a solid line in Acrobat, but isn't this rather Adobe's problem?
Comment 10 Ulrich Windl 2022-05-20 05:59:52 UTC
(In reply to Buovjaga from comment #9)
I agree that Firefox renders such things more nicely than Adobe Acrobat does.
Anyway I wonder: Should the dots be adjustable, and maybe could some "hinting" improve Acrobat's rendering?
I mean: In the end the purpose is to provide nicely looking documents for the end user.