Bug 161757 - If Impress text box contains CTL, Asian and Western scripts, changing font or font size only affects Western text (comment 5)
Summary: If Impress text box contains CTL, Asian and Western scripts, changing font or...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Textbox
  Show dependency treegraph
 
Reported: 2024-06-24 06:57 UTC by Saw Kah Chiat
Modified: 2024-07-11 11:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
sample ODP (14.70 KB, application/vnd.oasis.opendocument.presentation)
2024-07-11 11:10 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Saw Kah Chiat 2024-06-24 06:57:57 UTC
Description:
As in steps to reproduce.

Steps to Reproduce:
Problem 1: Libre Impress cannot determine the text size
1. Type any Chinese word and English word in a text box like "淨水器/30140"
2. Highlight the words. Change font size a number like 44.
3. Hightlight the words again.
4. Right Panel, "Character" section, the font size is undefined, although I already make them to be at 44.

Problem 2: Libre Impress font size is haywire when typing mixing words like Mandarin and English.
1. Font size 80, Type Chinese words in text box like "安麗淨水器商機"
2. Then continue typing english word by pressing shift (to change mode to English), font sometimes haywire to 187.2.



Actual Results:
-

Expected Results:
Synchronized font size.


Reproducible: Always


User Profile Reset: No

Additional Info:
Please fix this ASAP.
Comment 1 Stéphane Guillou (stragu) 2024-07-10 13:07:44 UTC
Thanks for the report.
Version 7.6 has reached end of life, can you please test again in version 24.2?

I could not reproduced problem 1 in:

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 2 Saw Kah Chiat 2024-07-10 13:53:04 UTC
Now I understand Libre Office auto-shipped under Fedora 39 is so outdated. Will file a complain to Fedora on this.
Comment 3 QA Administrators 2024-07-11 03:15:00 UTC Comment hidden (obsolete)
Comment 4 Saw Kah Chiat 2024-07-11 07:15:57 UTC
Problem remains. Version 24.2.4.2
Libre Impress.

Slight change to description.
Click the textbox border and change the font. Roman characters will change, but not chinese characters altogether.
Comment 5 Stéphane Guillou (stragu) 2024-07-11 11:09:09 UTC
The "Version" field is for the earliest affected, setting back to previous number.
The "assigned" status is for when someone is working on fixing it.

Using these steps:
1. Open Impress (with CTL and "Asian" scripts support)
2. Insert English text in text box
3. Insert Chinese text in same text box
4. Insert Hindi text in same text box
4. Select text box
5. Use font dropdown or font size comboboxes (in Properties Sidebar deck or in Text Formatting toolbar)

Result: only affects the Western text.
However, using the Increase/Decrease Font Size buttons does affect all scripts.
Let's focus on this issue here (one issue per report).
(I also noticed that, when pasting the Chinese text, the font size is reduced for all text in the box.)

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ru-RU (en_AU.UTF-8); UI: en-US
Calc: threaded

Also reproduced in 4.1.0.4, when these comboboxes started being usable for a text box.
Comment 6 Stéphane Guillou (stragu) 2024-07-11 11:10:16 UTC
Created attachment 195232 [details]
sample ODP