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

Squished full-width character rendering #3311

Closed
Fingercomp opened this issue Jun 3, 2020 · 6 comments
Closed

Squished full-width character rendering #3311

Fingercomp opened this issue Jun 3, 2020 · 6 comments

Comments

@Fingercomp
Copy link
Contributor

The current (OC 1.7.5, MC 1.12.2) font renderer draws full-width characters weirdly. Here's an example:

OpenComputers's renderer

The issue becomes prominent if you compare this screenshot to another renderer:

An emulator's font renderer

As you can see, the characters are indeed thinner — they are squished horizontally (by 2 pixels, I believe).

The second screenshot was made using an OC emulator that implements its own font renderer. It has the same font.hex file as OpenComputers.

@payonel
Copy link
Member

payonel commented Jun 7, 2020

what is the 2nd one? ocemu or ocvm or what?

@Fingercomp
Copy link
Contributor Author

It's neither — I used a different (very WIP at the moment) emulator. But I've just tried pasting the "good morning" string into an OCEmu window, and this is what I've got:

OCEmu

In other words, it draws characters correctly, as shown on the second screenshot in the original post.

@payonel
Copy link
Member

payonel commented Jun 7, 2020

looks like something your game client is doing, not something we do
optifine?

here is a screen shot from the game:
image

@Fingercomp
Copy link
Contributor Author

No, I don't have OptiFine. I've also asked 3 other people (Windows, Linux; AMD, Nvidia, Intel) to check if they had this bug, and they did (and I've made sure they also don't have OptiFine).

We've found out that the bug vanishes if you set the GUI Scale option to "Large". Which makes sense since the screen GUI gets upscaled. However, at the "normal" GUI scale, the screen GUI size is exactly the same as the emulator's, and the emulators prove it is possible to draw the fonts correctly. So I insist it is an OC bug.

@skyem123
Copy link
Contributor

skyem123 commented Jun 8, 2020

I've noticed that OC sometimes get a bit funky when on any setting other than "normal".

@payonel
Copy link
Member

payonel commented May 11, 2021

won't fix

@payonel payonel closed this as completed May 11, 2021
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