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

--- Comment #86 from Tor Lillqvist <t...@iki.fi> ---
Using ideas from the experimentation patch mentioned in comment #39, I think I
see a clear improvement when using some combination of the tweaks from that,
like:

diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index 704bba1fae9c..23f93aeb9272 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -450,7 +450,16 @@ void AquaSalGraphics::DrawTextLayout(const
GenericSalLayout& rLayout)

     // The view is vertically flipped (no idea why), flip it back.
     CGContextScaleCTM(maContextHolder.get(), 1.0, -1.0);
-    CGContextSetShouldAntialias(maContextHolder.get(), !mbNonAntialiasedText);
+
+    CGContextSetShouldAntialias(maContextHolder.get(), true);
+    CGContextSetAllowsAntialiasing(maContextHolder.get(), true);
+    CGContextSetAllowsFontSmoothing(maContextHolder.get(), false);
+    CGContextSetShouldSmoothFonts(maContextHolder.get(), false);
+    CGContextSetAllowsFontSubpixelPositioning(maContextHolder.get(), true);
+    CGContextSetShouldSubpixelPositionFonts(maContextHolder.get(), true);
+    CGContextSetAllowsFontSubpixelQuantization(maContextHolder.get(), true);
+    CGContextSetShouldSubpixelQuantizeFonts(maContextHolder.get(), true);
+
     CGContextSetFillColor(maContextHolder.get(), maTextColor.AsArray());

     if (rStyle.mbFauxBold)

But if I zoom in a lot, the text is still rendered much different than in
NeoOffice, for instance.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to