Bug 2281392 - Missing characters in some locales (e.g. Czech locale cs_CZ.utf8)
Summary: Missing characters in some locales (e.g. Czech locale cs_CZ.utf8)
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: prusa-slicer
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-18 11:29 UTC by Jaroslav Škarvada
Modified: 2026-04-21 08:40 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-16 17:08:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Missing characters in the tip box. (142.83 KB, image/png)
2024-05-18 11:41 UTC, Jaroslav Škarvada
no flags Details
Quick and dirty downstream fix (955 bytes, patch)
2024-05-20 00:16 UTC, Jaroslav Škarvada
no flags Details | Diff
Quick and dirty downstream fix (982 bytes, patch)
2024-05-20 00:41 UTC, Jaroslav Škarvada
no flags Details | Diff
Missing characters in the UI (26.57 KB, image/png)
2026-04-15 23:10 UTC, Jaroslav Škarvada
no flags Details
Properly displayed Polish national characters after patching app. (61.73 KB, image/png)
2026-04-21 08:32 UTC, Marcin Juszkiewicz
no flags Details

Description Jaroslav Škarvada 2024-05-18 11:29:51 UTC
Most of the texts are missing several characters.

Reproducible: Always

Steps to Reproduce:
1. set locale to cs_CZ.utf8
2. prusa-slicer
3. Observe UI
Actual Results:  
Most of the texts are missing several characters (see attached screenshot)

Expected Results:  
All texts are OK

Comment 1 Jaroslav Škarvada 2024-05-18 11:33:34 UTC
It seems it's all tooltips and tips, i.e. the overlay boxes, maybe other things as well. Missing are Czech letters like "čžšě...", probably non UTF font is used for rendering.

Comment 2 Jaroslav Škarvada 2024-05-18 11:34:24 UTC
I guess the same problem will be with other locales that have non ASCII characters.

Comment 3 Jaroslav Škarvada 2024-05-18 11:35:59 UTC
Created attachment 2033834 [details]
Missing characters in the tip box.

Comment 4 Jaroslav Škarvada 2024-05-18 11:41:09 UTC
Created attachment 2033835 [details]
Missing characters in the tip box.

Comment 5 Jaroslav Škarvada 2024-05-18 11:45:12 UTC
The same problem hit with the measurement dialog and probably all other "overlay" dialogs/boxes are affected.

Comment 6 Jan Pazdziora (Red Hat) 2024-05-18 13:25:57 UTC
I confirm the issue on prusa-slicer-2.7.4-1.fc40.x86_64 with

$ LC_ALL=cs_CZ.utf8 prusa-slicer

Jaroslav, would you remember if with previous versions the same dialogs were fine? IOW, is this a regression?

Comment 7 Miro Hrončok 2024-05-18 14:55:10 UTC
This has been a problem for a very long time.

I can confirm this happens at least in prusa-slicer-2.5.2-2.fc39.x86_64

Comment 8 Jaroslav Škarvada 2024-05-19 19:29:30 UTC
I don't know when they introduced it, I haven't used this slicer much. I guess in tips/tooltips this was very minor problem, but now when they are adding more useful overlay dialogs (like the measurement tool in 2.6) it's more annoying.

Comment 9 Jaroslav Škarvada 2024-05-20 00:16:59 UTC
Created attachment 2034031 [details]
Quick and dirty downstream fix

It seems you are not bundling the google font "NotoSans-Regular.ttf" into "/usr/share/PrusaSlicer/fonts". Attached is quick and dirty downstream fix that uses system font. You will also need to add the following into spec:

Requires: google-noto-sans-fonts

Comment 10 Jaroslav Škarvada 2024-05-20 00:23:57 UTC
And for the CJK font also:

Requires: google-noto-sans-cjk-fonts

Comment 11 Jaroslav Škarvada 2024-05-20 00:28:48 UTC
For the CJK fonts the path is:
/usr/share/fonts/google-noto-sans-cjk-fonts/

I will alter the patch.

Comment 12 Jaroslav Škarvada 2024-05-20 00:41:42 UTC
Created attachment 2034034 [details]
Quick and dirty downstream fix

Also add to spec:

Requires: google-noto-sans-fonts
Requires: google-noto-sans-cjk-fonts

Maybe you could use "Recommends:".

Maybe you could omit the explicit CJK fonts dep, it's additional cca. 81 MB with probably no use for non APAC users and APAC users would probably already have it.

Comment 13 Jaroslav Škarvada 2024-05-20 00:48:27 UTC
Changing version to f39, because the patch is the same and it's also affected. But I will be OK with the rawhide only fix.

Comment 14 Jaroslav Škarvada 2024-05-20 01:05:43 UTC
You could also create font symlinks from /usr/share/PrusaSlicer/fonts to system fonts.

Comment 15 Miro Hrončok 2024-08-07 12:34:48 UTC
This does "fix" the problem for me:

sudo ln -s /usr/share/fonts/google-noto /usr/share/PrusaSlicer/fonts
sudo dnf install google-noto-sans-fonts

We could package that symbolic link. The only problem is we might hit https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/ in case the fonts will ever be bundled.

I belive we should link the actual files.

Comment 16 Aoife Moloney 2024-11-13 12:30:49 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 17 Adam Williamson 2025-12-02 01:15:09 UTC
This message is a reminder that Fedora Linux 41 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 41 on 2025-12-15.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '41'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 41 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 18 Samyak Jain (RedHat) 2025-12-16 17:08:09 UTC
Fedora Linux 41 entered end-of-life (EOL) status on 2025-12-15.

Fedora Linux 41 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 19 Jaroslav Škarvada 2026-04-15 23:04:27 UTC
Reopened, it's still problem on F43 and the fix is simple. Personally, I don't care about the CJK so just the font for the EU is OK for me :).

Comment 20 Jaroslav Škarvada 2026-04-15 23:09:39 UTC
The question marks instead of the characters aren't good. It's not only the tooltips, it's everywhere in the UI (e.g. the measurement dialog). Instructions how to fix are in comment 9 and others.

Comment 21 Jaroslav Škarvada 2026-04-15 23:10:25 UTC
Created attachment 2137240 [details]
Missing characters in the UI

Comment 22 Marcin Juszkiewicz 2026-04-21 07:28:07 UTC
Thanks for report. Same problem is with Polish characters.

And it is clearly packaging issues as the same Prusa Slicer running on MacOS does not have that problem.

Comment 23 Marcin Juszkiewicz 2026-04-21 08:32:21 UTC
Created attachment 2137776 [details]
Properly displayed Polish national characters after patching app.

Thanks folks!

Refreshed patch, rebuilt package and it works!

Will send PR to the package.

Comment 24 Marcin Juszkiewicz 2026-04-21 08:40:53 UTC
PR to prusa-slicer package: https://src.fedoraproject.org/rpms/prusa-slicer/pull-request/67


Note You need to log in before you can comment on or make changes to this bug.