Bug 131037 - Character spacing problems with Microsoft Fax printer in Draft print quality
Summary: Character spacing problems with Microsoft Fax printer in Draft print quality
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2020-02-29 18:44 UTC by jasonkres
Modified: 2022-12-27 18:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
files for repro.zip (36.42 KB, application/x-zip-compressed)
2020-02-29 18:45 UTC, jasonkres
Details
example.tif (2.45 KB, image/tiff)
2020-02-29 18:46 UTC, jasonkres
Details
Good kerning from before the change (2.45 KB, image/tiff)
2022-12-06 15:27 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasonkres 2020-02-29 18:44:28 UTC
Description:
Using the Windows 10 built-in "Fax" printer in Draft (200x100 dpi) quality there are character spacing problems. These problems do not occur in Normal (200x200 dpi) quality.

This is similar to bug 124123 regarding Dymo LabelWriter with non-square dpi, but much easier to reproduce since everything needed to reproduce it comes with Windows.

On the other hand, bug 124123 affects the best resolution supported by the Dymo printer whereas this bug affects the worst resolution of the Fax printer.
Of the versions available in the "old" download archive, I have narrowed down the regression to between 5.3.0.0.alpha1 (good) and 5.3.0.0.beta1 (bad). This may have to do with the fact that the dots in this resolution are rectangular (dpiX != dpiY).

The odt files needed to reproduce it are in the attached archive as well as the output tif files under 5.3.0.0.alpha1, 5.3.0.0.beta1, and 6.4.1.2.

Steps to Reproduce:
1. Open the file Portrait.odt.
2. Click File, Print.
3. Ensure the "Fax" printer is selected.
4. In the Properties, ensure:
   Paper size: Letter
   Image quality: Draft (200x100 dpi)
   Orientation: Portrait
5. Notice that the preview area shows lots of problems.
6. Click Cancel if prompted for Fax Setup.
7. When the New Fax dialog appears, drag and drop the .tif attachment to your Desktop, etc.
8. Open the .tif in a graphics program.

Repeat steps for Landscape.odt with Orientation: Landscape in step 4.

Actual Results:
Portrait:
(1) Bad kerning, such as between "i"/"m" and "i"/"n".
(3) Too much spacing between all letters.

Landscape:
(1) Bad kerning, such as between "m" and "p"
(3) Too little spacing between all letters.

Expected Results:
WYSIWYG results


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Versions Tested:

Version: 5.3.0.0.alpha1 (x64)
Build ID: f4ca1573fcf445164c068c1046ab5d084e1b005f
CPU Threads: 12; OS Version: Windows 6.19; UI Render: GL; 
Locale: en-US (en_US); Calc: CL

*** START OF REGRESSION ***
Version: 5.3.0.0.beta1 (x64)
Build ID: 690f553ecb3efd19143acbf01f3af4e289e94536
CPU Threads: 12; OS Version: Windows 6.19; UI Render: GL; Layout Engine: new; 
Locale: en-US (en_US); Calc: CL

Version: 6.4.1.2 (x64)
Build ID: 4d224e95b98b138af42a64d84056446d09082932
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL
Comment 1 jasonkres 2020-02-29 18:45:59 UTC
Created attachment 158277 [details]
files for repro.zip
Comment 2 jasonkres 2020-02-29 18:46:56 UTC
Created attachment 158278 [details]
example.tif
Comment 3 Buovjaga 2020-05-10 20:23:57 UTC
Would be good to get a bibisect for this as well in the way I mentioned in bug 131037 comment 6
Comment 4 jasonkres 2020-09-13 01:27:43 UTC
Adding Keywords: bibisected
Adding Cc: to @Khaled

I have bibisected. As suspected, bug 124123 has identical.
 5e01bd2a91a717cdaccff18de7c44de37b270914 is the first bad commit
commit 5e01bd2a91a717cdaccff18de7c44de37b270914
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Wed Nov 2 17:34:31 2016 -0700

    source 8f2dd1df1d6cc94ebbc1149de72bc6d6dffa6533

    source 8f2dd1df1d6cc94ebbc1149de72bc6d6dffa6533

 instdir/program/vcllo.dll   | Bin 7222784 -> 7222784 bytes
 instdir/program/version.ini |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

# bad: [a374222bc87bd9e75ea2f1ca45d189932a1967f8] source aa09fd58bd499a2a2c3a32c5f613892bad54076c
# good: [defb73f1c6e2a66dbd21ba89e684f57427e8bc4b] source 5b168b3fa568e48e795234dc5fa454bf24c9805e
git bisect start 'master' 'oldest'
# good: [0b4408f0568ad1da0797543c0ee2955c386267ee] source 8f7886c742cae5e012e52029c20925aa7b0fb6ea
git bisect good 0b4408f0568ad1da0797543c0ee2955c386267ee
# good: [f8b90d89a8a858c3e0ce171f82ecb20b3ea80098] source 75239b77139434db9be5e0e7e133e3661c5404b0
git bisect good f8b90d89a8a858c3e0ce171f82ecb20b3ea80098
# bad: [7a279eab384549b23a159352c7308486555e0401] source 5e416099f088a2f8a8980e08e3d5b731da0a6d9c
git bisect bad 7a279eab384549b23a159352c7308486555e0401
# good: [a3f5fe1a4c6eabca0604654b0f9cb40ad59f8bf8] source 4814650c5021b72c81b4079f712a4c1baae0088b
git bisect good a3f5fe1a4c6eabca0604654b0f9cb40ad59f8bf8
# bad: [85bd972b6810fbdafee6bcf049da287516187e3e] source 4e59168ef004e7520ea7d78237a18208216a757c
git bisect bad 85bd972b6810fbdafee6bcf049da287516187e3e
# good: [e96edc165025e2e2a94d32febad5f2c80f036673] source c3a3b876a3a2a739b266622f51a00016a81b0cdf
git bisect good e96edc165025e2e2a94d32febad5f2c80f036673
# bad: [ea7807c5201f6d6874f5cf0323419563ec9fd09a] source 00e48a2ea00e973ae6e29950ca7c6846cfeabff4
git bisect bad ea7807c5201f6d6874f5cf0323419563ec9fd09a
# bad: [677e5c844d1350435d8ba69334acf088c5b1c5b4] source 2b3de550ef1e28cd4231352c91634f67aa6d642f
git bisect bad 677e5c844d1350435d8ba69334acf088c5b1c5b4
# good: [9a9f5bda6a82eadc6befbd1f5fa2e95173617cb0] source 01875c4514c777a43ee18014d9b0cb3f34eebbba
git bisect good 9a9f5bda6a82eadc6befbd1f5fa2e95173617cb0
# good: [c9058d690bed30c47c654beb7f58bff6fb45534a] source 30e2171b6eac8e373e31f20de4a0cee6d5d64a08
git bisect good c9058d690bed30c47c654beb7f58bff6fb45534a
# good: [a0dc71f49cc0766556e03cbf844c1b3fb59fe6be] source c8be45889217c555e4bec92af838d0524ceba4e0
git bisect good a0dc71f49cc0766556e03cbf844c1b3fb59fe6be
# bad: [a87553199f1d343477ac1ef44183cbf6510c54b5] source fdc77804d681ea36b8dd257d7a8669a99e1dbb98
git bisect bad a87553199f1d343477ac1ef44183cbf6510c54b5
# bad: [5e01bd2a91a717cdaccff18de7c44de37b270914] source 8f2dd1df1d6cc94ebbc1149de72bc6d6dffa6533
git bisect bad 5e01bd2a91a717cdaccff18de7c44de37b270914
# first bad commit: [5e01bd2a91a717cdaccff18de7c44de37b270914] source 8f2dd1df1d6cc94ebbc1149de72bc6d6dffa6533

commit 8f2dd1df1d6cc94ebbc1149de72bc6d6dffa6533
Author: Khaled Hosny <khaledhosny@eglug.org>
Date:   Wed Nov 2 23:52:06 2016 +0200

    Revert "Revert "Enable the new text layout engine by default""

    This reverts commit 3950166877bf1308f9e449992e20b558342af825.

    Change-Id: Ie22a99885a23d44a9870fcd286bee4ccf10c53ac
    Reviewed-on: https://gerrit.libreoffice.org/30505
    Tested-by: Jenkins <ci@libreoffice.org>
    Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Comment 5 Ravi Baggn 2020-10-24 09:00:12 UTC Comment hidden (spam)
Comment 6 candymika 2021-04-01 03:24:37 UTC Comment hidden (spam)
Comment 7 Xisco Faulí 2022-05-02 12:02:46 UTC
Thanks for reporting this issue.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 8 QA Administrators 2022-10-30 03:47:18 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2022-11-30 03:48:47 UTC Comment hidden (obsolete)
Comment 10 jasonkres 2022-12-01 23:30:43 UTC
In response to the NEEDINFO request in Comment 7 that asked for this to be retested in a newer version.

The problem remains in latest:

Version: 7.4.4.0.0+ (x64) / LibreOffice Community
Build ID: 0a19375b73b12885f9022d82cb51e9c268cc0d6a
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 11 Buovjaga 2022-12-06 15:27:20 UTC
Created attachment 184020 [details]
Good kerning from before the change

From oldest of Windows 5.3 bibisect repo
Comment 12 Buovjaga 2022-12-06 15:27:54 UTC
I reproduce the problem.

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: c50cf1883af26daebdfc9d796ced3c20c222f43b
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo