| Summary: | Font preview in Characters dialog uses the wrong font for common characters | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | خالد حسني <khaled> |
| Component: | LibreOffice | Assignee: | خالد حسني <khaled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.6.0 target:7.5.0.0.beta2 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 43808, 108734, 108736 | ||
| Attachments: |
Screenhost showing the difference between document text and preview
Test document Test document using bundled fonts + more testcases |
||
|
Description
خالد حسني
2022-12-15 22:08:34 UTC
Created attachment 184164 [details]
Test document
Khaled Hosny committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/718af940435ae9d2ac90374e5880ecb38e96252c tdf#152533: Improve script handling in font preview It will be available in 7.6.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. (In reply to خالد حسني from comment #0) > Created attachment 184163 [details] > Screenhost showing the difference between document text and preview To try to characterize the problem: The 1 is rendered using the Western-language-group font glyph in the preview, and using the RTL-CTL-language-group font glyph in the document. This may not be super-clear from the screenshot to people who are not familiar with the numerals of Amiri and Reem Kufi (especially since not everyone has Reem Kufi on their system...) This naturally also happens with Hebrew. Plus - it doesn't matter that the digit is at the end of the line, so it's not a matter of a direction-neutral character with its ambiguity, i.e. it's not a שלום. vs .שלום flipping issue. I'll attach a document using only bundled font and a couple of examples in Hebrew as well. Thanks for the fix, Khaled :-) Created attachment 184175 [details]
Test document using bundled fonts + more testcases
(In reply to Eyal Rozenberg from comment #3) > (especially since not everyone has Reem Kufi on their system...) Both fonts are bundled. Khaled Hosny committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/3e7e5dad9d8442a74a5d51dddca655b6073d0ff2 tdf#152533: Improve script handling in font preview It will be available in 7.5.0.0.beta2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |