Bug 156618 - Greek lowercase letters from "Greek" Symbol set are insert italic too.
Summary: Greek lowercase letters from "Greek" Symbol set are insert italic too.
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
7.5.5.2 release
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
 
Reported: 2023-08-04 18:48 UTC by mohammadreza shahedi
Modified: 2023-08-12 09:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Video of the bug (3.52 MB, video/mp4)
2023-08-04 19:01 UTC, mohammadreza shahedi
Details
Sample file in LibreOffice Math (5.42 KB, application/vnd.oasis.opendocument.formula)
2023-08-04 19:01 UTC, mohammadreza shahedi
Details
Sample file in LibreOffice Writer (12.19 KB, application/vnd.oasis.opendocument.text)
2023-08-04 19:02 UTC, mohammadreza shahedi
Details
Picture of the bug in LibreOffice Writer (152.39 KB, image/png)
2023-08-04 19:02 UTC, mohammadreza shahedi
Details
Using "nitalic" markup (110.03 KB, image/png)
2023-08-08 07:17 UTC, mohammadreza shahedi
Details
Solution to the problem (6.90 MB, video/mp4)
2023-08-12 09:47 UTC, mohammadreza shahedi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mohammadreza shahedi 2023-08-04 18:48:31 UTC
Description:
Hello, Excuse me, I use Linux Ubuntu 18.04.6, and LibreOffice 7.5.5.2. When i insert a Symbol in LibreOffice Math from "Greek" set, Greek lowercase letters are insert italic, just like "iGreek". for example when i insert pi in Libreoffice Math (or Writer) pi in "Greek" isn't different from pi in "iGreek"!

I tried it in Safe mode, but it didn't work!

Of course, maybe it happened on my computer only.

Thank you.

Steps to Reproduce:
1. Go to "Tools>Symbols...>Greek Symbol set.
2. Then insert a lowercase letter (for example pi).
3. Go to "iGreek" Symbol set, and insert a lowercase (for example pi).

Actual Results:
You see there is no difference between them (lowercase letter from "Greek" and "iGreek")!

Expected Results:
lowercase letters (for example pi) from "Greek" Symbol set should be standard (not italic) and they from "iGreek" Symbol set should be italic.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: FormulaProperties
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 mohammadreza shahedi 2023-08-04 19:01:18 UTC
Created attachment 188780 [details]
Video of the bug
Comment 2 mohammadreza shahedi 2023-08-04 19:01:48 UTC
Created attachment 188781 [details]
Sample file in LibreOffice Math
Comment 3 mohammadreza shahedi 2023-08-04 19:02:04 UTC
Created attachment 188782 [details]
Sample file in LibreOffice Writer
Comment 4 mohammadreza shahedi 2023-08-04 19:02:54 UTC
Created attachment 188783 [details]
Picture of the bug in LibreOffice Writer
Comment 5 V Stuart Foote 2023-08-05 16:30:55 UTC
Trivial to adjust from sm defaults for symbols picked from the Symbols... dialog or via defined sm character constants.  

AdjustmentdDone via Advanced -> Expert Configuration and search for 'GreekCharStyle'.

The default value 2 (as adjusted for bug 52225 at 5.3 release) renders the defined StarMath greek symbol values in the sm formula module as italic for lowers and straight for uppers.

Option of setting '0' will apply no formatting--forcing use of 'italic' (and reliving need for 'nitalic' markup otherwise) in your sm formula. 

While option of setting '1' will force both uppers and lowers sm defined symbols into Italic.

There is a related issue of bug 65808 for symbols <Alt-X> converted and not picked from the sm Symbols... dialog but that is not the issue here.
Comment 6 mohammadreza shahedi 2023-08-08 07:15:37 UTC
Sorry, I did not understand correctly! When i go to "Tools > Options > LibreOffice > Advanced > Open Expert Configuration" and search for "GreekCharStyle", the default value is 2 (in Safe mode is 2 too.). it is correct or should it be changed?

Of course 'nitalic' markup works for me.
Comment 7 mohammadreza shahedi 2023-08-08 07:17:27 UTC
Created attachment 188839 [details]
Using "nitalic" markup
Comment 8 V Stuart Foote 2023-08-08 19:08:58 UTC
The default 'GreekCharStyle' symbol value of '2' is intentional and by design--Greek symbol uppers are normal, and ALL greek symbol "varaibles" are italic.

You have the option using Expert configuration to set a '0' so no formatting is applied (and manipulate with italic/nitalic as you choose). Or you can set a '1' so *both* Greek symbol uppers and lowers within the StarMath nodes are italic.
Comment 9 mohammadreza shahedi 2023-08-12 09:42:36 UTC
Thank you so much. When i changed "GreekCharStyle" value to "0", worked!
Of course, i think the "GreekCharStyle" default value shoud be "0", by the way thank you for helping me.
Comment 10 mohammadreza shahedi 2023-08-12 09:47:56 UTC
Created attachment 188944 [details]
Solution to the problem