Description: Problem with a Font Font: Chess Alpha Source (Freeware Font): http://www.enpassant.dk/chess/downl/alpha.zip Error description Several chess fonts are using ASCII 32 for printing the white squares of a chess diagram. I discovered that i get a problem with the font "Chess Alpha". The white squares are too small, they have the width of a normal blank character, but not the width of the black square and the other figurines. This problem occurs only with OpenOffice and LibreOffice. I tested with MS Word in (several versions), MS WordPad, SoftMaker FreeOffice, AbiWord, Scribus: no broblem with the white square there. Font: Chess Alpha Source (Freeware Font): http://www.enpassant.dk/chess/downl/alpha.zip Kind regards, Ekkehad May Steps to Reproduce: 1. Use Font "Chess Alpha" 2. Use space key (= white square) 3. Use "+" key (= black square) 4. Repeate 3. and 4. Actual Results: The chess diagrams are not displayed correctly. The white squares are too small. Expected Results: The white squares should have the same width as the black squares and the figurines. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:51.0) Gecko/20100101 Firefox/51.0
Created attachment 132986 [details] Picture shows the font problem
The font is really broken. It provides a symbol “cmap” subtable that does not have a mapping for space character. Since the font does not support the space character as far as we are concerned we use a fallback font for it, and it will most likely have a different width. I don’t know how other office applications are handling this, one possible explanation is that they are not doing any font fallback for fonts with symbol “cmap” subtable, which in turn will cause them to use the glyph for unsupported characters (glyph 0) which happens to be a white (empty) square in this font. This also why this font works in Scribus since it does not do any fallback for missing characters. I tried AbiWord but it gave me similar rendering as LibreOffice.
(In reply to Khaled Hosny from comment #2) > The font is really broken. It provides a symbol “cmap” subtable that does > not have a mapping for space character. Since the font does not support the > space character as far as we are concerned we use a fallback font for it, > and it will most likely have a different width. > > I don’t know how other office applications are handling this, one possible > explanation is that they are not doing any font fallback for fonts with > symbol “cmap” subtable, which in turn will cause them to use the glyph for > unsupported characters (glyph 0) which happens to be a white (empty) square > in this font. This also why this font works in Scribus since it does not do > any fallback for missing characters. I tried AbiWord but it gave me similar > rendering as LibreOffice. I tested the font "Chess Alpha" with the Software AbiWord 2.9.4, no problems there.
(In reply to Ekkehard May from comment #3) > I tested the font "Chess Alpha" with the Software AbiWord 2.9.4, no problems > there. I tested with AbiWord 3.0.2 on Linux.
Created attachment 132994 [details] Screenshot of AbiWord showing the same issue
Created attachment 132996 [details] Screenshot AbiWord 2.9.4 for Windowsm correct rendering
(In reply to Ekkehard May from comment #6) > Created attachment 132996 [details] > Screenshot AbiWord 2.9.4 for Windowsm correct rendering I assume AbiWord on Windows is using Uniscribe somehow, so it would be getting the same rendering as other Windows applications. It would be interesting to test Firefox/Chrome/InDesign etc. since these have their own layout engines.
I tested with InDesign 7.5 and there are no rendering problems. Now i checked the "Space" glyph in the font "Chess Alpha" with FontCreator. In the "Properties", Register "Mappings" i found this: Platforms: "Microsoft Symbol" Encoding format: "Segment mapping to delta values" And in the mapping table there is a long list of mappings for the glyph: Value Characte Name $F020 <$F020> $F02A <$F02A> ...etc. Another Chess font, "Chess Berlin" [from the same author] is rendered correctly by LibreOffice and by OpenOffice I checked this font with FontCreator, and the only difference i found is, that in the mapping table for the glyph "Space" there is only ONE mapping: Value Characte Name $F020 <$F020> Now i deleted all mappings in font "Chess Alpha", except the first mapping, and saved the font under a new name. After i deletes the original font and replaced it with the modified one, OpenOffice rendered the white square correctly, but LibreOffice did not. I'm confused.
Created attachment 133005 [details] Screenshot Indesign 7.5 correct rendering
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
A HarfBuzz issue, see https://github.com/harfbuzz/harfbuzz/issues/1527
I’m trying to revisit this issue, but I can not reproduce anymore, can anyone else reproduce?