Bug 152447 - Small capitals format gives tiny numbers
Summary: Small capitals format gives tiny numbers
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-09 22:10 UTC by Penny
Modified: 2022-12-14 05:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Font Features dialog screenshot (39.67 KB, image/png)
2022-12-11 17:37 UTC, LeroyG
Details
File with title 4 showing small numbers (11.05 KB, application/vnd.oasis.opendocument.text)
2022-12-11 19:28 UTC, Penny
Details
Screenshot on Windows 10 (48.06 KB, image/png)
2022-12-12 21:28 UTC, LeroyG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Penny 2022-12-09 22:10:08 UTC
Description:
I have a title where lower-case letters become small capitals. However now when I add numbers to the title they are very tiny and I can find no way to make them normal size. If I go to edit style and click on "functionalities" it gives me choices including lowercase to small capitals, but if I choose that the numbers go tiny. This never happened before.

Steps to Reproduce:
1.Choose a title and edit style, choose police (it's French) and Fonctionnalités. 
2.Click on 'minuscules vers petites capitales'
3.click OK OK

Actual Results:
Any numbers in the title become tiny.

Expected Results:
The numbers should be normal


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version : 6.4.5.2 (x64)
Build ID : a726b36747cf2001e06b58ad5db1aa3a9a1872d6
Threads CPU : 4; OS : Windows 10.0 Build 19045; UI Render : par défaut; VCL: win; 
Locale : fr-FR (fr_FR); Langue IHM : fr-FR
Calc: CL
Comment 1 Penny 2022-12-09 22:29:28 UTC
When I ask for small capitals the police which was Arial changes to Arial:frac=1&smcp
Comment 2 m_a_riosv 2022-12-09 23:55:03 UTC
Please, can you attach a sample file.
Comment 3 LeroyG 2022-12-11 17:37:51 UTC
Created attachment 184095 [details]
Font Features dialog screenshot

(In reply to Penny from comment #0)
> choose police (it's French) and > Fonctionnalités. 
> 2.Click on 'minuscules vers petites capitales'
> 3.click OK OK

In English: Choose Font - Font Effects tab - Case: Small capitals


Try to open the Font tab, there press the button Features, and for Fraction style, select None (also can uncheck Lowercase to Small Capitals, since it was set in the Font Effects tab); OK.
Comment 4 Penny 2022-12-11 19:28:39 UTC
Created attachment 184098 [details]
File with title 4 showing small numbers

Does the attached file make the bug clearer?

It is one of my 'model' files, but I checked with a plain new file and exactly the same bug happened. BUT only when I changed the font to Arial, because with "Liberation sans" the features box was completely different, much simpler, with boxes to check for ligatures or crénage (means nothing to me).
Comment 5 Penny 2022-12-11 19:29:40 UTC
(In reply to m.a.riosv from comment #2)
> Please, can you attach a sample file.

Just attached one
Comment 6 Penny 2022-12-11 19:37:57 UTC
(In reply to LeroyG from comment #3)
> Created attachment 184095 [details]
> Font Features dialog screenshot
> 
> (In reply to Penny from comment #0)
> > choose police (it's French) and > Fonctionnalités. 
> > 2.Click on 'minuscules vers petites capitales'
> > 3.click OK OK
> 
> In English: Choose Font - Font Effects tab - Case: Small capitals
> 
> 
> Try to open the Font tab, there press the button Features, and for Fraction
> style, select None (also can uncheck Lowercase to Small Capitals, since it
> was set in the Font Effects tab); OK.

Dear Leroy,
I thought you'd cracked it but no. I have only two fractions options in the features button, diagonal or piled. There is no "none" option.
I just discovered when trying out your fix that indeed choosing small capitals in the Font Effect button works fine. What is strange that under the "Fonts" button, if I press features, change nothing and press OK the font changes from arial to "Arial:frac=1" and then when I press "apply" the numbers go small. In fact this happens even when I'm not in small capitals. Lesson: never touch the "features" button??
Comment 7 LeroyG 2022-12-12 18:12:04 UTC
I can't reproduce with:
Version: 6.4.7.2 (x86)
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; 
Locale: es-MX (es_MX); UI-Language: en-US
Calc: threaded

Maybe this Arial font is different; it have no fractions in Features.
I could delete the ":frac=1" in the paragraph style font name, and that don't changes anything.

Will try later with Windows 10.0.
Comment 8 LeroyG 2022-12-12 21:28:50 UTC
Created attachment 184120 [details]
Screenshot on Windows 10

On Windows 10.0.
Font Properties for Arial font show more options than on Windows 6.3 (aka 7).
Fraction style could be set to none.

It is possible that your file (or style) was created with a newer version of LibreOffice?

The LibreOffice 6.4 release End of Life was two years ago. Don't expect that anyone will fix it, if it was a 6.4 version issue. Maybe you must update to LibreOffice 7.3.7.

Oh! I forgot to thank you for sharing the sample file. It would have been impossible to test without it.

Version: 7.3.7.2 (x64) / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: es-MX (es_ES); UI: en-US
Calc: CL
Comment 9 Penny 2022-12-13 20:13:43 UTC
(In reply to LeroyG from comment #8)
> Created attachment 184120 [details]
> Screenshot on Windows 10
> 
> On Windows 10.0.
> Font Properties for Arial font show more options than on Windows 6.3 (aka 7).
> Fraction style could be set to none.
> 
> It is possible that your file (or style) was created with a newer version of
> LibreOffice?
> 
> The LibreOffice 6.4 release End of Life was two years ago. Don't expect that
> anyone will fix it, if it was a 6.4 version issue. Maybe you must update to
> LibreOffice 7.3.7.
> 
> Oh! I forgot to thank you for sharing the sample file. It would have been
> impossible to test without it.
> 
> Version: 7.3.7.2 (x64) / LibreOffice Community
> Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
> CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
> Locale: es-MX (es_ES); UI: en-US
> Calc: CL

Dear Leroy,
Oh dear, I failed to realise that my version of LibreOffice was so old. I shall update it immediately (when I find how to do it). I daresay that will iron out the bug.
Thanks so much for your help
Penny
Comment 11 Penny 2022-12-13 21:16:47 UTC
(In reply to m.a.riosv from comment #10)
> https://www.libreoffice.org/download/download-libreoffice/

Thank you! I've managed to update my version.
I checked and the "features" button does include the "none" option for fractions now.
So sorry to bother you with my incompetence.
Thank you for your help.
Best wishes
Penny