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

--- Comment #62 from Eyal Rozenberg <eyalr...@gmx.com> ---
(In reply to خالد حسني from comment #61)
> This is basically a Windows/MS Office compatibility issue.

I disagree, see argument below.

> On Windows we use GDI

Considering that GDI is a legacy component:
https://en.wikipedia.org/wiki/Graphics_Device_Interface

we should probably not be using it on Windows, regardless of anything else.

> to get font family and style, and it can only give is
> families with max of 4 styles, OpenType even have a workaround for this, so
> fonts with more styles can appear as multiple families

That's better than nothing, but not good enough, as it creates its own problems
- compatibility-wise and by confusing users, with the list of font families no
longer containing just font families.

> There are two ways to fix this whole mess:
> 1) Forgo Windows/MS Office compatibility and find a way to get the real
> family and style on Windows.
> 2) Enforce the compatibility contains on Linux and macOS and use the same
> family and style names as on Windows.

That's not true. We can _keep_ Windows/MS-Office compatibility, _and_ get the
real family, weight and style on Windows, _and_ expose the range of weights to
the user, _and_ be compatible with Linux and MacOS. 

The only "problem" seems to be writing documents intended to be opened in
MS-Office. When we do that, we would probably need to sort-kinda keep doing
what were doing today, so that MS-Word can use the right font.

But that should be addressed at most as a toggle-able save option, not by
crippling LibreOffice... 


PS - Of course that would take some serious low-level work. So an argument such
as "this is not a high priority" could perhaps be made.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to