[Libreoffice-bugs] [Bug 107462] MS Gothic and MS Mincho text rendered differently at different zoom levels

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 27 15:28:33 UTC 2017


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

--- Comment #5 from Khaled Hosny <khaledhosny at eglug.org> ---
(In reply to Yousuf Philips (jay) from comment #4)
> (In reply to Khaled Hosny from comment #3)
> > The different rendering is properly is how the fonts are set up in the
> > “gasp” table which specifies the anti-aliasing behavior for given pixel
> > sizes. CJK fonts typically prefer string hinting and no anti-aliasing at
> > smaller pixel sizes. Anyway, I think it is just DirectWrite doing its magic
> > since I don’t recall us fiddling with anti-aliasing settings.
> 
> Not sure how DirectWrite is involved as i'm running Linux.

I see. Then I suspect the fonts has embedded bitmap strikes for certain pixel
sizes (many CJK fonts do) and that is what you are getting at lower sizes. Try
to disabled embedded bitmaps in FontConfig and see if it makes any difference
(the simplist way is to copy/link /etc/fonts/conf.avail/70-no-bitmaps.conf to
/etc/fonts/conf.d/70-no-bitmaps.conf and restart LibreOffice).

> > Not displaying the English name if the font do not have a localized name for
> > the current locale is an independent issue and should be reported separately.
> 
> Done. Bug 107485. But i'm a bit confused why it should show a localized name
> at all, as when you open up the font name drop down, it always shows the
> english name in the left column and i would assume the user cant type the
> localized name of the font in the drop down to locate it.

Since you are on Linux, that is the only platform where we try to read all
localized font names and set them internally as alternate names (so that
specifying the font by its localized name works), but probably this code is too
naïve and things got mixed up.

-- 
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/20170427/56161931/attachment-0001.html>


More information about the Libreoffice-bugs mailing list