Bug 148149 - Impossibilité d'encoder correctement exposant 6
Summary: Impossibilité d'encoder correctement exposant 6
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-23 11:11 UTC by Yannick DUPAGNE
Modified: 2022-03-24 18:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Texte LibreOffice (8.77 KB, application/vnd.oasis.opendocument.text)
2022-03-24 13:00 UTC, Yannick DUPAGNE
Details
PDF created by LibreOfice (15.54 KB, application/pdf)
2022-03-24 13:01 UTC, Yannick DUPAGNE
Details
Screen copy (6.35 KB, image/png)
2022-03-24 13:02 UTC, Yannick DUPAGNE
Details
test pdf (15.18 KB, application/pdf)
2022-03-24 14:08 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yannick DUPAGNE 2022-03-23 11:11:19 UTC
Lorsque je veux encoder un exposant sous LibreOffice (dans Writer, Calc, Impress...), je n'ai aucune difficulté pour aucun nombre sauf pour 6. Pour qu'il y ait un affichage après la saisie ^6 il faut le faire suivre de la saisie ^9 sur la même ligne. Ce problème ne se posait pas avec LibreOffice 7.1.8, je le trouve sous 7.2.6 (il existait déjà sous 7.2.5 mais je ne l'avais pas remarqué) et avec la police Liberation Serif (celle par défaut).
Ce problème ne se présente pas avec la police Ubuntu.
Comment 1 Julien Nabet 2022-03-23 20:06:35 UTC
Just for the record, I don't reproduce this on pc Debian x86-64 with LO Debian package 7.3.1.3.

On which Linux distrib with which version?
Do you use Gnome, KDE, XFCE, other?

Just for the test, could you give a try at https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile ?
Comment 2 Yannick DUPAGNE 2022-03-24 13:00:36 UTC
Created attachment 179075 [details]
Texte LibreOffice

Original text in LibreOffice
Comment 3 Yannick DUPAGNE 2022-03-24 13:01:38 UTC
Created attachment 179076 [details]
PDF created by LibreOfice

PDF created from the previous text
Comment 4 Yannick DUPAGNE 2022-03-24 13:02:40 UTC
Created attachment 179077 [details]
Screen copy

What appears on my screen LO 7.2.6
Comment 5 Yannick DUPAGNE 2022-03-24 13:04:08 UTC
Thank you for your answer. I'll try to write in English, but it's quite difficult for me. I hope you'll understand me.

My system is as described below:
System:    Kernel: 5.4.0-105-generic x86_64 bits: 64 compiler: gcc v: 9.4.0
           Desktop: Cinnamon 5.0.7 wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma
           base: Ubuntu 20.04 focal 

LibreOffice version is 7.2.6.2. I've 2 PC, and it's exactly the same problem on the 2 ones.

As you've suggested, on one PC I've deleted my user profile and I've removed LibreOffice in order to reinstall it. There is no change.

On the other PC, I've deleted LibreOffice 7.2.6 and I've installed 7.3.1. I've meeted the same difficulty. But with 7.1.8, there were no problems.

You can see it on the file I've attached. On the first line, I've used 'Liberation Serif' font, on the second line 'Ubuntu' font, on the third one 'Liberation Serif' font. But on this line, when I wrote 2^9 then the correct exponent 6 appears.

On Windows, the .odt file I've written is correctly interpreted. But on my Linux Mint, the screen and the .pdf file are wrong. It's a real problem for me because I'm writing books for my teaching of mathematics.

Thank you,
Comment 6 Julien Nabet 2022-03-24 14:08:11 UTC
Created attachment 179083 [details]
test pdf

I gave a try on pc Debian x86-64 with LO Debian package 7.3.1.3 and exported into pdf, I don't reproduce this (see attachment).
Comment 7 Julien Nabet 2022-03-24 14:11:07 UTC
It seems fonts related but I don't know where's the problem precisely.
Comment 8 Yannick DUPAGNE 2022-03-24 18:27:00 UTC
Thank you.
I found the problem. My PC has 2 different fonts named Liberation : the first one in 'Liberation' directory (version 1.07.4) and the second one in 'Liberation2' directory (version 2.1.0). I don't know why. The character exponent 6 (hexadecimal U+2076) is not part of the Liberation Regular set in 'Liberation2' directory. So I've deleted this directory and now the problem is resolved. LibreOffice now takes Liberation font only in the first directory.

Many thanks for your help.
Comment 9 Julien Nabet 2022-03-24 18:47:31 UTC
Great!
Let's rather put this one to WFM since there's no specific fix.