Bug 152737 - Font preview in Characters dialog uses the wrong font for first Complex character
Summary: Font preview in Characters dialog uses the wrong font for first Complex chara...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: ⁨خالد حسني⁩
URL:
Whiteboard: target:7.6.0 target:7.5.0.2
Keywords: bibisected, regression
Depends on:
Blocks: RTL-CTL Character-Dialog Font-Preview
  Show dependency treegraph
 
Reported: 2022-12-30 16:40 UTC by ⁨خالد حسني⁩
Modified: 2023-03-14 11:23 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the wrong font and position (18.60 KB, image/png)
2022-12-30 16:40 UTC, ⁨خالد حسني⁩
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ⁨خالد حسني⁩ 2022-12-30 16:40:06 UTC
Created attachment 184398 [details]
Screenshot showing the wrong font and position

The first Complex character uses the wrong font (and consequently) has the wrong position.
Comment 1 ⁨خالد حسني⁩ 2022-12-30 16:42:58 UTC
Regression from 718af940435ae9d2ac90374e5880ecb38e96252c
Comment 2 ⁨خالد حسني⁩ 2022-12-30 16:56:21 UTC
This affects styles preview as well, a regression from bfecacb2487ba9470600e6f64056d9b1816ee96b
Comment 3 Commit Notification 2022-12-30 18:36:21 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/95f0dc2dc74401a097105fcfe745aba3e571d9c4

tdf#152737: Fix off-by-one errors

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.
Comment 4 Commit Notification 2022-12-30 21:36:39 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/85f161ac76a07bcd1dd2080e4bda8f11a600262d

tdf#152737: Fix off-by-one errors

It will be available in 7.5.0.2.

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.