Bug 166457 - Bad text render in Calc sheet tabs when using Persian digits
Summary: Bad text render in Calc sheet tabs when using Persian digits
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-04 17:58 UTC by ahangarha
Modified: 2025-12-25 17:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot from sheet title bar in Calc, rendering squares when Persian digits used (3.69 KB, image/png)
2025-05-04 17:59 UTC, ahangarha
Details
Screenshot of Persian digits between sheet name (11.29 KB, image/jpeg)
2025-05-04 18:19 UTC, افشین
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ahangarha 2025-05-04 17:58:22 UTC
Description:
In Calc when the sheet name has Persian digits (like ۱۴۰۴ for 1404) some squares get rendered. There is no issue if I use Latin digits.

Steps to Reproduce:
1. Create a new sheet with a name like "اردیبهشت ۱۴۰۴".

Actual Results:
Several squares get rendered in the name placeholder

Expected Results:
I should be able to only see the title I entered


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.3
Calc: threaded
Comment 1 ahangarha 2025-05-04 17:59:42 UTC
Created attachment 200649 [details]
Screenshot from sheet title bar in Calc, rendering squares when Persian digits used
Comment 2 افشین 2025-05-04 18:17:05 UTC
I couldn't reproduce this issue.
Comment 3 افشین 2025-05-04 18:17:54 UTC
(In reply to افشین from comment #2)
> I couldn't reproduce this issue.

Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: fa-IR (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:25.2.2-0ubuntu0.24.04.1~lo1
Calc: threaded
Comment 4 افشین 2025-05-04 18:19:27 UTC
Created attachment 200651 [details]
Screenshot of Persian digits between sheet name
Comment 5 ahangarha 2025-05-06 14:24:12 UTC
Thanks for your input.

I installed v25 and still I have the same issue.

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 raal 2025-05-06 14:28:36 UTC
No repro with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 32c7035824e50429c4ffeb43d0bdf306ba8874e9
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 7 Buovjaga 2025-12-17 11:32:50 UTC
I reproduce this in my Arch Linux and down to the oldest versions, but I suppose it is some issue in my system. On the other hand, I guess I should have the proper fonts to display the text. Let's ask Hossein what he thinks.
Comment 8 Hossein 2025-12-17 12:15:39 UTC
(In reply to Buovjaga from comment #7)
> I reproduce this in my Arch Linux and down to the oldest versions, but I
> suppose it is some issue in my system. On the other hand, I guess I should
> have the proper fonts to display the text. Let's ask Hossein what he thinks.
Seems to me a font issue, in which a font used in UI lacks certain glyphs.

@ahangarha:
1. Can you try another font for the UI, and test again? For example, ms core fonts:
https://packages.ubuntu.com/noble/ttf-mscorefonts-installer
You should be able to change that in GNOME configuration.

2. Could you please share a blank file that contains those tab names?

3. Can you try changing the sheet(s) left-to-right (instead of right-to-left) and see if the problem is still reproducible? You can do that by right clicking on the sheet name and unchecking the "Sheet Right-To-Left".