https://bugs.documentfoundation.org/show_bug.cgi?id=103514
Bug ID: 103514
Summary: MS bitmap fonts (Courier, MS Sans Serif, MS Serif) not
displayed with OpenGL rendering
Product: LibreOffice
Version: 5.1.0.3 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: graphics stack
Assignee: [email protected]
Reporter: [email protected]
Description:
Was testing OpenGL with HarfBuzz enabled and disabled, and noticed odd fallback
behavior for the MS system provided bitmap font (Courier, MS Sans Serif, MS
Serif) when OpenGL rendering is enabled.
A bibisect results to this range:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=6b65a0e83c4798f117be61af91dbaebdc85e94b7..acd3ebefccd0b4570100c426574d83cfa9464f20
So looks that on abandoning Uniscribe shaping and reverting to DirectWrite with
GDI for SimpleWinLayout and DirectWrite for OpenGL in WinLayout, that the MS
"bitmap" fonts have been rendered blank in the Special Character dialog grid
when OpenGL rendering is enabled.
Introduction of HarfBuzz shaping with OpenGL results in this font being
completely replaced by fallback. Not sure that is correct--but it was
different.
Steps to Reproduce:
Windows builds (only?).
1. enable OpenGL Rendering, restart
2. open Writer
3. open Special Character dialog (default Liberation Serif)
4. navigate the drop list to Courier
5. grid populated?
6. if move to Courier New "ttf" font--its grid populated
affecting builds through
Version: 5.3.0.0.alpha1+
Build ID: f7c61b08d526c79ecd1522dff79386059b6125e0
CPU Threads: 8; OS Version: Windows 6.19; UI Render: GL;
TinderBox: Win-x86@39, Branch:master, Time: 2016-10-25_00:39:40
Locale: en-US (en_US); Calc: CL
Actual Results:
font grid is empty
Expected Results:
font grid showing just the
Reproducible: Always
User Profile Reset: n/a
Additional Info:
But when enabling HarfBuzz SAL common layout -- (set SAL_USE_COMMON_LAYOUT=1)
-- and restart. With OpenGL enabled, same STR shows a full grid of a fallback
fonts filling the entire BMP!
Worth fixing the "old" OpenGL rendering?
Seems like maybe a better way with the new common layout would be to ignore the
MS bitmap fonts? They don't show in the paragraph/character drop list of fonts.
And with HarfBuzz we drop PS Type1 support--so dropping the *.fon bitmap fonts
from the UI may not be too unreasonable.
=-ref-=
https://support.microsoft.com/en-us/kb/2396756
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101
Firefox/49.0
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs