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

Change fonts in the interactive window #5256

Closed
xq114 opened this issue Apr 15, 2019 · 7 comments
Closed

Change fonts in the interactive window #5256

xq114 opened this issue Apr 15, 2019 · 7 comments
Labels
feature-request Request for new features or functionality important Issue identified as high-priority

Comments

@xq114
Copy link

xq114 commented Apr 15, 2019

Environment data

  • VS Code version: 1.33.1
  • Extension version (available under the Extensions sidebar): 2019.3.6558 (8 April 2019)
  • OS and version: Windows 10 v1809
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.1 Anaconda
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda

Expected behaviour

The font in the code cell seems good, but in the output cell it's really ugly. I wish it could be changed by myself, or set to default Consolas.

Actual behaviour

image

@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Apr 15, 2019
@wj-c
Copy link

wj-c commented Apr 15, 2019

indeed should be prettier, it's a huge part of productivity

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Apr 15, 2019
@greazer greazer added the important Issue identified as high-priority label Apr 18, 2019
@ghost
Copy link

ghost commented May 24, 2019

And here is another reason why being able to change fonts/font-size in Python Interactive Window is so important.

When using some other languages (such as Chinese) in vs code on a 100% scaling (or lower) display, text rendering is intolerably bad.

bad text rendering on a 100% scaling display in Python Interactive Window

As you can see, the hinting is gone, and Header 5 & 6 is just too small to be good to read.

In contrast, the same code & preview on a 200% scaling display looks like this:

great text rendering on a 200% scaling display in Python Interactive Window

Which is a lot better.

While this is the same problem in vs code markdown preview for Chinese character, users can have a work-around by changing the markdown preview font by inserting "markdown.preview.fontFamily": "\"Sarasa UI SC\"" in settings.json, but I can't do this anymore in Python Interactive Window for there is no option to change fonts for it.

The font I use to improve text-rendering for Chinese character on 100% scaling display or lower is Sarasa Gothic.

Great appreciation for your work & if this can be fixed, vs code + Python Interactive can be one step closer to The Perfect Data Science Tool in my mind.

@greazer greazer added bug Issue identified by VS Code Team member as probable bug feature-request Request for new features or functionality and removed bug Issue identified by VS Code Team member as probable bug labels Aug 9, 2019
@greazer greazer changed the title Change fonts in jupyter botebook view Change fonts in jupyter notebook view Aug 9, 2019
@guihigashi
Copy link

I've noticed the input cells and window(type code here) are not using the editor font family and size, i've changed the defaults to Fira Code 12 and it seems to be rendering Consolas. The output cells are using another monospaced font.

source file:
image

python interactive:
image

PS: Like @KasperLXK, i think this setup can be the perfect tool.

@Thinking2018
Copy link

I wander no how can I change the font size in python interactive window.
The default fontsize for python interacitve window seems too small to me.
Changing fontsize in the editor seems not work in python interactive window.

QQ截图20190923193326

@gramster gramster modified the milestone: DS Bucket Oct 23, 2019
@gramster gramster removed this from the DS Bucket milestone Oct 30, 2019
@spencerwooo
Copy link

Any progress?

@greazer greazer changed the title Change fonts in jupyter notebook view Change fonts in the interactive window Jul 27, 2020
@greazer
Copy link
Member

greazer commented Jul 27, 2020

This issue fell through our cracks somehow without us responding. Sorry! Looking at it now, it's a good suggestion and one we will consider. It's actually a dupe of 4042, but since there's more upvotes, I'm going to keep this one and add it to our list of known Interactive Window improvements .

@karthiknadig
Copy link
Member

Closing this since this is transferred over to the jupyter extension.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality important Issue identified as high-priority
Projects
None yet
Development

No branches or pull requests

9 participants