Description: On Windows 10 Using LibreOffice 7.0 beta 1 While Skia is active Using the Fantasque Sans Mono (https://github.com/belluzj/fantasque-sans) presents garbled text. The text shows okay as long you disable Skia. It's not the only font it's showing with garbled things. Steps to Reproduce: 1. Install Fantasque Sans Mono font from https://github.com/belluzj/fantasque-sans 2. Open LibreOffice Calc 3. Check if Skia is active 4. Insert data 5. Change the Font for Fantasque Sans Mono 6. Deactivate Skia Actual Results: When Skia is active, Garbled Text Text gets okay with Skia deactivated Expected Results: It should shows okay even with Skia activated Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: Version: 7.0.0.0.beta1 (x64) Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c Threads da CPU: 4; SO: Windows 10.0 Build 19041; Realizador da interface: padrão; VCL: win Locale: pt-BR (pt_BR); Interface: pt-BR Calc: threaded Windows 10 Pro Build 2004
Created attachment 161577 [details] Sample File for testing the bug
Created attachment 161578 [details] Snapshot from the bug happening with Skia Activated
Created attachment 161579 [details] Snapshot from the same sheet with Skia Deactivated
Created attachment 161580 [details] Sample File for testing the bug - font Incorporated
Can not reproduce on Windows 10 Ent 64-bit en-US (1909) with the Fantasque-San-Mono fonts installed to system and Version: 7.1.0.0.alpha0+ (x64) Build ID: 68095e63a8ad8f6079b15e475179a14a64da36d3 CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL Text of a new Calc sheet authored with the font, or attachment 161577 [details] is well formed.
Created attachment 161591 [details] w Skia Vulkan rendering, no issue with font
I can confirm the bug doesn't shows on Windows 10 Pro 1909... I'll add the information too, but had tested on another box with Windows 10 Pro 1909
It was a problem with my font file that was corrupted. Installed a new OTF font and it worked with Skia. If this doesn't show as closed, you can close it
(In reply to Fábio Emilio Costa from comment #8) > It was a problem with my font file that was corrupted. Installed a new OTF > font and it worked with Skia. If this doesn't show as closed, you can close > it It shows resolved, thank you for asking--and the feedback.
Created attachment 161808 [details] 7zip file with the faulty font files Reopened the ticket: detected that the problem with Skia involve a particular variaiton of Fantasque Sans Mono
(In reply to Fábio Emilio Costa from comment #10) > Created attachment 161808 [details] > 7zip file with the faulty font files > > Reopened the ticket: detected that the problem with Skia involve a > particular variaiton of Fantasque Sans Mono no problem with fonts from attach in Version: 7.0.0.0.beta1+ (x64) Build ID: c46a704943be830d603ba0421a329ccb58b8b209 Потоков ЦП: 4; ОС: Windows 10.0 Build 18362; Отрисовка ИП: Skia/Rastr; VCL: win Locale: ru-RU (ru_RU); ИП: ru-RU Calc: threaded
I can confirm this bug occurs with another TTF font, Optima, as obtained from here: https://www.cufonfonts.com/download/rf/optima I had made a document using this font using LibreOffice V 6.xx (don't remember) and when I went to open it using V 7.0.4.2 the text was garbled. It was garbled in Draw and Write modules, as well as in the drop-down menu that appears when selecting fonts. Disabling Skia resolved the problem.
(In reply to David Demmer from comment #12) > I can confirm this bug occurs with another TTF font, Optima, as obtained > from here: > > https://www.cufonfonts.com/download/rf/optima > > I had made a document using this font using LibreOffice V 6.xx (don't > remember) and when I went to open it using V 7.0.4.2 the text was garbled. > It was garbled in Draw and Write modules, as well as in the drop-down menu > that appears when selecting fonts. > > Disabling Skia resolved the problem. Please open another ticket and post its ID here. Original is Resolved WFM.
(In reply to V Stuart Foote from comment #13) > Original is Resolved WFM. The bug report was reopened, please see comment 10.
I can confirm the issue with the linked Optima fonts (comment 12) installed to system on Windows builds. But only if all 4 of the fonts .TTF are installed. With just the Optima.TTF installed, canvas and UI is fine. Present with Skia rendering (Vulkan or raster only), no issue with default GDI rendering. Seems to be a broken font, but badly affects Skia rendering. Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: af64bc49d872d8a040d66387303def98eae5cd51 CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL
Created attachment 170160 [details] clip Opptima font files of comment 12 installed with Skia Vulka rendering clip shows mis-handling of the Optima font with Skia rendering enabled. Text is the standard 'dt' DummyText passage. Interestingly, if I <Ctrl>+A copy the mess, on paste into Notepad or Notepad++ the text of the 'dt' is correct showing UTF-8 format.
*** This bug has been marked as a duplicate of bug 137122 ***