-
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IR spectrum window: incorrectly formatted x-axis label #1954
Comments
Thanks for opening your first issue here! Please try to include example files and screenshots if possible. If you're looking for support, please post on our forum: https://discuss.avogadro.cc/ |
How did you install Avogadro? From a package? From source? I'd be curious to know what version of VTK is being used, thanks. |
I downloaded and used the AppImage from the GitHub releases page. |
I went through the code, because I was pretty sure I did all of that with Unicode. What is your language / localization? e.g., |
These are my locale settings (taken from
Not sure if this might be relevant, but I use the following fonts:
|
I'm really really confused. That string is not in the app or translations / localizations anymore. It should be using Unicode as I indicated above. I'll check and make sure the builds are using the latest localizations... |
I can confirm that the I'll also note that, like @stanpapa, my default sans-serif is Inter. The font used for the axis labels is not Inter though, in either localization. Clearly there's also a translation error as well since "Operations" should be "Options", I'll fix that if I remember. |
Yes, for some reason some of the fonts (via VTK) don't seem to have the superscript - symbol. Not quite sure what to do for that. Personally? I'd love to find a better chart library, but in any case, this seems to mostly be that the translations aren't up-to-date in the build. |
The translations of "Options", the x-axis label, the y-axis label, and the menu entry were all fixed by @andibing 7 months ago according to Weblate. So there's clearly something funky happened with the translations. It's not just in the AppImage either, they're wrong in the Flatpak too. |
Avogadro version:
Desktop version:
ORCA version:
6
Describe the bug
The x-axis label in the IR spectrum is incorrectly formatted, namely the HTML for the superscript is still showing. It is displayed as
To Reproduce
Steps to reproduce the behavior:
Expected behavior
HTML should be processed, so the label is displayed as "Wavenumber (cm-1)"
Screenshots
Additional context
ORCA input to reproduce
Relevant section of the output:
The text was updated successfully, but these errors were encountered: