https://bugs.freedesktop.org/show_bug.cgi?id=87288

--- Comment #1 from Tobias Simon <[email protected]> ---
Using FontForge, I found, that different values in
> Font Information > General > Italic Angle
or
> Font Information > OS/2 > Misc > Weight Class
cause LibreOffice to treat the fonts as different.

Same values in the above fields, but a different value in
> Font Information > OS/2 > Misc > Width Class
results in behaviour as seen with DejaVu.

Same Values in all three fields cause LibreOffice to confuse the two fonts with
another.

With changes to
> Font Information > OS/2 > Misc > Weight Class
I was able to "repair" the fonts. A small change from '400 Regular' to '401
Regular' was sufficient.

Changes to the italic angle didn't work though, no idea why.



A dirty fix for the bug may be to enforce a unique weight class for every
discovered font in a font family. If two weight classes match, internally
increment one weight class by 1. Since the weight classes normally increment in
steps of 100, it is safe to assume, that there is enough room to find unique
weight classes for every font.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to