Bug 149889 - Formula box in Calc can not correctly recognize the width of characters (Persian)
Summary: Formula box in Calc can not correctly recognize the width of characters (Pers...
Status: RESOLVED DUPLICATE of bug 103492
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Arabic-and-Farsi RTL-Textbox
  Show dependency treegraph
 
Reported: 2022-07-07 08:55 UTC by افشین
Modified: 2024-08-04 22:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
correctly recognize the alphabets widt (52.53 KB, image/png)
2022-07-07 08:58 UTC, افشین
Details

Note You need to log in before you can comment on or make changes to this bug.
Description افشین 2022-07-07 08:55:56 UTC
Description:
Hello. 

Formula box in Calc can not correctly recognize the alphabets width. It use wrong width for some Persian alphabets and this caused to overlap long Persian alphabets like "ت" and "ی". (This problem does not cause when a monospaced font set on the system)

Actual Results:
can not correctly recognize the alphabets width.

Expected Results:
correctly recognize the alphabets width.


Reproducible: Always


User Profile Reset: No



Additional Info:
Not.
Comment 1 افشین 2022-07-07 08:58:27 UTC
Created attachment 181147 [details]
correctly recognize the alphabets widt
Comment 2 افشین 2022-07-07 12:00:59 UTC
For example:

=IF(A3>1000,"درست","نادرست")
Comment 3 Rafael Lima 2022-07-07 20:13:37 UTC
Repro with

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: d2dfc0c4286057f5d8dda178817de3503c3a7d29
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded

I copied the formula from Comment #2 and pasted it into cell A1 in LO Calc. The quotation marks are all misaligned.
Comment 4 افشین 2022-08-29 15:52:46 UTC
@خالد حسني

Hello. 
Would you please reproduce this bug?
Comment 5 ⁨خالد حسني⁩ 2022-08-29 16:34:21 UTC
Can’t reproduce on master, please test with the latest daily build.
Comment 6 ⁨خالد حسني⁩ 2022-08-29 19:59:06 UTC

*** This bug has been marked as a duplicate of bug 150544 ***
Comment 7 ⁨خالد حسني⁩ 2022-08-29 20:00:12 UTC

*** This bug has been marked as a duplicate of bug 103492 ***