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

Standardised editor setting for screenshots #26

Open
coolya opened this issue Oct 3, 2021 · 0 comments
Open

Standardised editor setting for screenshots #26

coolya opened this issue Oct 3, 2021 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed ide IDE plugin related

Comments

@coolya
Copy link
Member

coolya commented Oct 3, 2021

Right now screenshots are taken with the editor settings of the user. Which means font, font size, etc can vary depending on which user is uploading the gist.
Ideally we want to use the same settings on the client side to generate the screenshot to ensure a consistent look at the website. Extremely large or small font sizes can make it hard to read the screenshots at the website. Especially large fonts can easily render the preview feature on the front page useless because we might only see one or two lines of the gist.

The images are produced in ide-plugin/src/main/kotlin/cloud/skadi/gist/mps/plugin/EditorAsImage.kt

@coolya coolya added good first issue Good for newcomers help wanted Extra attention is needed ide IDE plugin related labels Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed ide IDE plugin related
Projects
None yet
Development

No branches or pull requests

1 participant