The following bug is related to Hebrew text on LibreOffice 22.214.171.124. it was reproduced on Windows and Linux.
I could not reproduce the problem on MS-Office or with LO-Impress with the same font.
The text is not justified.
Steps to Reproduce:
1. start new document
2. write some Hebrew sentence using the David CLM font (which is the default font on Windows)
3. bold some random word
4. notice that some intra-word spacing on some surrounding words have changed
5. try to bold some other word, other spaces would change...
David CLM font. It can’t be reproduced with English font or with MS-Office with the same font.
some intra-word spacing on some surrounding words have changed
no change of intra-word spacing of any other words
User Profile Reset: No
I'm attaching to pictures, before with a random word bold/not bold
Created attachment 144962 [details]
Created attachment 144963 [details]
Created attachment 144964 [details]
What happens with other Culmus fonts? Other non-Culmus fonts? At different zoom levels?
Different zoom levels - on some zoom levels the bug persists, on others the bold word expands and all the following words move, which I guess is acceptable.
Other fonts: Checking on Windows: I didn't install any specific fonts, just the ones that come with the default installation.
I'm not sure how can I tell which font is from Culmus as I can't find most of them (http://culmus.sourceforge.net/culmus.pdf) I can't find.
For instance, There is a font named Miriam, which doesn't reproduce the problem, and a font named מרים (Hebrew for Miriam) which does reproduce.
The bold word במסמך is 3% narrower than the regular one. It looks like the change in width due to emboldening moves the successive glyphs by a fraction of a pixel, thus making some glyphs move a pixel and others just stay in place.
This is probably a limitation of the renderer which would take some effort to resolve.
Some higher-end TrueType fonts employ subpixel instructing technique to overcome this issue at small font sizes (i.e. where glyph height doesn't exceed 12-15 pixels). This technique requires a huge amount of work on the affected font, and you would probably buy a retina display long before I get to do it.
So, this problem started to happen after David CLM was embedded into LibreOffice in https://cgit.freedesktop.org/libreoffice/core/commit/?id=4099b7628405e0ad16844eb59a916aa56ffa76ad.
Before that, the spacing didn't change.
@Heiko, is it a problem in the font or in LibreOffice ?
* David CLM
* David Libre
* Frank Ruehl CLM
* Frank Ruhl Hofshi
but not with
* Miriam CLM
* Miriam Libre
* Miriam Mono CLM
* Nachlieli CLM
Pretty sure that's an issue of harfbuzz. Khaled, you are the expert here.
No idea what would be going here, but might be rounding errors duo to lack of subpixel glyph positioning.
Dear Idan Miara,
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!
Bug still manifests with David CLM font and:
Version: 126.96.36.199 / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Linux 5.9; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
but note that it depends on the zoom factor! When I zoom in a lot, the intra-word spacing does not seem to change. (I'm not sure whether that's a new phenomenon or not).
I wonder if someone sees this with Arabic fonts as well.