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

Font size in bytecode tab is too small #4

Closed
kjarosh opened this issue Jul 10, 2015 · 9 comments
Closed

Font size in bytecode tab is too small #4

kjarosh opened this issue Jul 10, 2015 · 9 comments

Comments

@kjarosh
Copy link
Contributor

kjarosh commented Jul 10, 2015

screenshot_2

As above, font size is so small that text is not readable (on screen with high pixel density such as mine). Maybe change default font size or add an option to adjust it yourself?

@ingokegel
Copy link
Owner

Can you add

System.err.println("baseFont.getSize() = " + baseFont.getSize());
System.err.println("new JTextArea().getSize() = " + new JTextArea().getFont().getSize());

after ByteCodeDisplay:69 and send me the output?

@kjarosh
Copy link
Contributor Author

kjarosh commented Jul 13, 2015

Sure:

baseFont.getSize() = 9
new JTextArea().getSize() = 9

@ingokegel
Copy link
Owner

I don't have a Windows HiDPI system at the moment. I will get one soon and then I will fix it.

@gschukin
Copy link

I'm facing same issue on non HiDPI system.

@ingokegel
Copy link
Owner

Bytecode display now uses a JTextPane instead of a custom component that draws TextLayouts

@gschukin
Copy link

On master I'm still facing this issue
image

@ingokegel
Copy link
Owner

Thank you, the screen shot was helpful. Please try again with the latest commit.

@ingokegel ingokegel reopened this May 17, 2016
@gschukin
Copy link

Much better. There is still a little issue with line numbers on the left. But main display is fine
image

Thank you

@ingokegel
Copy link
Owner

Thank you. The line numbers are intentionally smaller.

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

No branches or pull requests

3 participants