Skip to content
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

Different monospace fonts in different environments #23725

Open
sitadrost opened this issue Feb 14, 2025 · 2 comments
Open

Different monospace fonts in different environments #23725

sitadrost opened this issue Feb 14, 2025 · 2 comments

Comments

@sitadrost
Copy link

sitadrost commented Feb 14, 2025

I'm using Spyder under Mamba, on Ubuntu 24.04, and have different environments. This week I updated to Spyder 6.0.4 in two of these environments, and noticed that the font had changed in one of them (see screenshots below). As far as I can see under Tools - Preferences - Appearance, both versions use Ubuntu Mono 11 pt, and both have the box "Use the system default interface font" checked. The only difference I've found so far is that in one environment I'm using Python 3.12.8 (top screenshot), and in the other 3.12.6 (bottom screenshot). I don't know, I wouldn't expect that to make a difference for the font that Spyder uses, but I can't find any obvious other differences either (see also version info below).

Is there any way that I can change the Spyder font in the Python 3.12.8 environment back to the font I have in the Python 3.12.6 environment?

Image
Image

Environment 1 (top screenshot):

  • Spyder version: 6.0.4 (conda)
  • Python version: 3.12.8 64-bit
  • Qt version: 5.15.8
  • PyQt5 version: 5.15.9
  • Operating System: Linux-6.8.0-53-generic-x86_64-with-glibc2.39

Environment 2 (bottom screenshot):

  • Spyder version: 6.0.4 (conda)
  • Python version: 3.12.6 64-bit
  • Qt version: 5.15.8
  • PyQt5 version: 5.15.9
  • Operating System: Linux-6.8.0-53-generic-x86_64-with-glibc2.39

EDIT: Looking at the screenshots, I noticed that also the IPython versions differ: 8.32.0 vs. 8.27.0. Not sure if that makes a difference.

@dalthviz
Copy link
Member

Hi @sitadrost thank you for the report! Seems like the font size preference is not being applied over your Python 3.12.8 env for the IPython Console? A couple of ideas to check;

  • What happens if you change over the preferences the monospace font size preference and apply the changes? Does the IPython Console font size change or it stays the same?

  • Could it be possible for you to downgrade IPython in your Python 3.12.8 env from 8.32.0 to 8.27.0?

Let us know if you have new info in order to better understand this after trying the above!

@sitadrost
Copy link
Author

Hi @dalthviz , thanks for your response!

  • Sorry, I forgot to mention that in my original report, but yes, I can change fonts and font sizes just fine; it's just that Ubuntu Mono 11 pt looks different in this version than in all previous versions I've had.
  • I've just downgraded IPython from 8.32.0 to 8.27.0, but this didn't have any effect on the fonts used in the GUI.

Is there any further information that I can provide, which might be helpful to understand what's going on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants