[Libreoffice-bugs] [Bug 35538] Handling of fonts with more than 4 styles (R/B/I/BI) is suboptimal

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 7 09:47:17 UTC 2020


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

--- Comment #53 from Volga <shanshandehongxing at outlook.com> ---
(In reply to Thomas Linard from comment #27)
> Indeed, LibreOffice doesn't handle fonts that has more than four styles
> R/B/I/BI quite well. I don't know for Linux, but Windows and macOS (since LO
> 4.1) use platform dependent handling.
> LibreOffice on Windows use traditional GDI handling, LibreOffice on macOS
> use CoreText (and, probably, incorrectly, as the styles names are
> localised). See my Bug 69881 for LibreOffice 4.1, still valid for 5.3. And
> the numerous duplicates of Bug 69254.
Windows GDI can handle only 4 styles: R/B/I/BI

Additionally, there are some fonts has limited use of style-linking, for
example, Source Han Sans has only Regular and Bold weights are style-linked,
other weights will appearing in the font menu.
See:
https://github.com/adobe-fonts/source-han-sans/blob/release/SourceHanSansReadMe.pdf

-- 
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/20200507/fb75e2a9/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list