Description: When we open a file in LibreOffice Writer 6.4.7.2, it uses the "Win Ascent" parameter of a font, rather than "Typo Ascender". This chops off diacritics in our font. Sanskrit2020.otf https://sourceforge.net/projects/advaita-sharada-font/files/Devanagari/ When we export as pdf, it saves correctly, the diacritics are visible. See also "Activity log for bug 55469: Different line spacing across platforms". This issue is not present in Microsoft Word 2019. Using "Add space before paragraph" the text with diacritics is clearly rendered. Steps to Reproduce: 1.select font Sanskrit2020 2.insert unicode character $0905 3.insert unicode character $A8E2 Actual Results: character $A8E2 is chopped off as seen in attached jpg. Expected Results: character $A8E2 should be clearly visible, as seen in attached pdf. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: The character $A8E2 should be clearly visible above the character $0905.
Created attachment 167350 [details] Diacritics above a character are chopped off - Typo Ascender / Font Metrics
Created attachment 167351 [details] diacritics above a character are chopped off - Type Ascender / Font Metrics
Created attachment 167352 [details] Diacritics above a character are chopped off - Typo Ascender / Font Metrics
Would it be possible you attach the font here? Indeed, it doesn't download with or without using direct link or other mirrors.
Created attachment 167426 [details] screenshot I gave a try with LO Debian package 7.0.3 with gen rendering (to be nearer of Windows), I don't reproduce this. Perhaps it can be reproduced only on Windows? Could you give a try to 7.0.3?
Ok great. That means LibreOffice for Windows needs to be improved. Please note that when we export to pdf, it prints correctly in pdf. But in LibreOffice Writer the diacritics are chopped off. Please also see that such a bug has been reported earlier and is unresolved. https://bugs.documentfoundation.org/show_bug.cgi?id=42000 I cannot confirm Debian right now, will need to find a computer to install that.
(In reply to Ashwini from comment #6) > Ok great. That means LibreOffice for Windows needs to be improved. > ... Could you give a try 7.0.3 on Windows? I mean, perhaps it's already fixed?
Created attachment 167451 [details] Screenshot with 7.0.2 on Windows 10 (In reply to Julien Nabet from comment #5) > I gave a try with LO Debian package 7.0.3 with gen rendering (to be nearer > of Windows), I don't reproduce this. I also had problem downloading the font, and couldn't test until now. I can reproduce with 6.4.7 on Windows 10, but with 7.0.2 it seems to have been fixed. See attached screenshot. Version: 7.0.2.2 (x64) Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994 CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: zh-CN (zh_CN); 界面: zh-CN Calc: threaded So @Ashwini please indeed test 7.0.3 on your Windows system.
We finally got a pc to install LibreOffice 7.0.3.1 Our Observations. 1. The Typo Ascender is fixed, and the diacritics are no longer chopped off. However 2. The geometric shape dotted circle keeps showing up. That means the diacritic no longer attaches to the base glyph when we do a) Insert Special Character. b) For a few special characters that are directly present on the standard keyboard, the diacritic attaches to the base glyph. 3. In 6.4.7.2 the geometric shape is not shown, and the diacritic attaches to the base glyph, with chopped character. 4. Please give a good thought to it as this is not a fix at all. 5. Language SA Sanskrit(India).
Created attachment 168039 [details] Version 7.0.3.1 has serious drawbacks compared to 6.4.7.2 We finally got a pc to install LibreOffice 7.0.3.1 Our Observations 1. Typo Ascender is fixed, and the diacritics are no longer chopped off. However 2. The diacritic no longer attaches to the base glyph. The geometric shape dotted circle is always seen. 3. For some diacritics already present on the keyboard, it attaches, but most of our diacritics are typed using INSERT SPECIAL Character, and then it does not attach at all. This means we can no longer use LibreOffice 7.0.3.1 to type Sanskrit documents. (Version 6.4.7.2 is still being used to type Sanskrit for documents where certain diacritics are not needed). 4. Language SA Sanskrit(India).
(In reply to Ashwini from comment #10) > Created attachment 168039 [details] > Version 7.0.3.1 has serious drawbacks compared to 6.4.7.2 Again, please provide sample document in addition to screenshot if you want QA people who don't use Sanskrit to help you on this bug. As you can see, my screenshot with 7.0.2 has none of the problems you mentioned.
Created attachment 168040 [details] geometric shape dotted circle shows up on inserting special characters Attached Sample Document. Thank You.
[Automated Action] NeedInfo-To-Unconfirmed
(In reply to Ashwini from comment #12) > Created attachment 168040 [details] > geometric shape dotted circle shows up on inserting special characters Yes, I can confirm that when opened in 7.0.4 RC1 the diacritic marks are separated, with the dotted circle, instead on the glyph it's supposed to attach to. However, when opened in 6.4.7, it's exactly the same. So to me, who has no experience on Sanskrit in particular or any CTL language in general (so take my opinion for whatever it's worth), this looks like an issue about how LO handles the input of Sanskrit characters, instead of the original issue about font rendering. This issue also doesn't seem to have anything to do with font metrics. My suggestion, therefore, is reporting the new issue as a new bug, and provide detailed steps to reproduce (preferrably steps can be done on systems without Sanskrit support installed). Meanwhile this bug can be resolved as WORKSFORME as it's fixed in 7.0.3.
You say that in your system, diacritics do not attach in 7.0.3 and neither in 6.4.7? Please confirm. At our end 6.4.7 is being used to write Sanskrit and works fine because the diacritics get attached.
(In reply to Ashwini from comment #15) > You say that in your system, diacritics do not attach in 7.0.3 and neither > in 6.4.7? Please confirm. Well, I said *when attachment 168040 [details] is opened in 6.4.7* on my system, diacritics are not attached. I don't have any way to input Sanskrit from keyboard on my system.
OK. Thank You. Please feel free to use the IME Sanskrit keyboard from https://sourceforge.net/projects/advaita-sharada-font/files/Devanagari/
Just downloaded the Sanskrit2020.otf font from SourceForge. The "Use Typo Metrics" setting in the font is Off. So on Windows it would be using the WinAscent setting. But that does not really matter because you have both Typo Ascender and Win Ascent set to the same setting, 2200. And 2200 runs right through the middle of $a8e2. So what we see is to be expected with those settings in the font. Regarding the diacritic display issues, I had no problem entering the characters using Unicode and they displayed as expected. That issue may be with the keyboard.
Hello Ashwini, a new major release of LibreOffice is available since this bug was reported. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Could you please also consider comment 18? Thank you. => NEEDINFO
Created attachment 178339 [details] geometric shape dotted circle shows up on inserting special characters
Hello Dieter, Many Thanks for your mail regarding new version of Libre Office. We downloaded the latest version Libre Office 7.3.3, The bug 138277 [Diacritics above a character are chopped off - Typo Ascender / Font Metrics] is resolved. Thank You very much for the hard work. ------------------------------ The bug 138277 [geometric shape dotted circle shows up on inserting special characters] remains unresolved. When the diacritic Mark is already present on keyboard, then it attaches correctly to the Base Glyph. However, if we do INSERT - SPECIAL CHARACTER, then it does not attach to the Base Glyph. This bug persists. Please see attached. Note: Libre Office Version 6.4.7.2 works fine and diacritics gets correctly attached on Inserting Special Characters. (However we are unable to use Version 6.4.7.2 since the Diacritics above a character are chopped off. That has been resolved in Version 7.3.3). ------------------------------ So if somehow you could see 6.4.7.2 and update that in 7.3.3, then perhaps both bugs can be resolved. Thank You.
(In reply to Ashwini from comment #21) > We downloaded the latest version Libre Office 7.3.3, > The bug 138277 [Diacritics above a character are chopped off - Typo Ascender > / Font Metrics] is resolved. Thank You very much for the hard work. Thank you for retesting => RESOLVED WORKSFORME