[Libreoffice-bugs] [Bug 122218] After Update to 6.1.4 on macOS fonts are blurred on retina display (xcode 10)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 14 00:08:36 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=122218

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sbergman at redhat.com

--- Comment #167 from Stephan Bergmann <sbergman at redhat.com> ---
My blurriness check with my laptop being: start Calc, double click into cell
A1, type "status" into the cell, hit return, "status" will either become blurry
(bad) or be crisp (good).

Have Xcode 11.3.1 with SDK 10.15 and manually added
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
copied from Xcode_9.4.xip obtained from
<https://developer.apple.com/download/more/?=xcode%209.4>.

Comparing a crisp local master build with (among others)

  --with-macosx-sdk=10.13
  --with-macosx-version-max-allowed=10.13
  --with-macosx-version-min-required=10.13

against a blurry one with

  --with-macosx-sdk=10.15
  --with-macosx-version-max-allowed=10.13
  --with-macosx-version-min-required=10.13

(i.e., just switching the SDK used for the build), I find that what it takes to
change the blurry build to be crisp is just the following:

In instdir/LibreOffice.app/Contents/MacOS/soffice change two bytes from 0f a0
to 00 00,

> --- soffice-blurry-hexl
> +++ soffice-fixed-hexl
> @@ -66,7 +66,7 @@
>  00000410: 0c00 0000 2f75 7372 2f6c 6962 2f64 796c  ..../usr/lib/dyl
>  00000420: 6400 0000 0000 0000 1b00 0000 1800 0000  d...............
>  00000430: 814c 6893 454b 30cd 9f65 d3ff c8f1 9cf2  .Lh.EK0..e......
> -00000440: 2400 0000 1000 0000 000d 0a00 000f 0a00  $...............
> +00000440: 2400 0000 1000 0000 000d 0a00 0000 0000  $...............
>  00000450: 2a00 0000 1000 0000 0000 0000 0000 0000  *...............
>  00000460: 2800 0080 1800 0000 100f 0000 0000 0000  (...............
>  00000470: 0000 0000 0000 0000 0c00 0000 5000 0000  ............P...

so that the LC_VERSION_MIN_MACOSX load command's sdk value changes from 10.15
to n/a,

> diff -u <(otool -l soffice-blurry) <(otool -l soffice-fixed)
> @@ -187,7 +187,7 @@
>        cmd LC_VERSION_MIN_MACOSX
>    cmdsize 16
>    version 10.13
> -      sdk 10.15
> +      sdk n/a
>  Load command 10
>        cmd LC_SOURCE_VERSION
>    cmdsize 16

Go figure.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200214/68986bf6/attachment.htm>


More information about the Libreoffice-bugs mailing list