Sublime Forum

Missing some pixels in 8K display

#1

Reproducible in SL 4164.

I have a 8K display, SL4 incorrectly renders the strings by missing some vertical lines for characters like ‘m’, ‘d’, etc.

The rendering is correct in 2K and 4K displays.

Please take a look at the attached screenshot. Thanks.

Windows 11 23H2 22631.2506
Dell UP3218K, 7680x4320
Scale 350%
NVIDIA GTX 1660S

My font set:

"font_face": "Consolas",
"font_size": 9
0 Likes

#2

What platform are you on? What font are you using?

0 Likes

#3

I have updated the post, sorry for clicking “Create topic” by accident.

0 Likes

#4

I can’t reproduce this at 350% scaling. Do you have hardware acceleration turned on? If so does it happen if you turn it off?

0 Likes

#5

It happens when turning off the hardware acceleration. In my 8K display, it also happens when the scaling is 300%.

If the scaling is 200%, the editor window is fine, but the some pixels are still missing in the window caption bar. See the letter “l” in the screenshot.

My settings:

{
	"theme": "Adaptive.sublime-theme",
	"color_scheme": "Packages/User/BBEdit.tmTheme",
	"font_face": "Consolas",
	"font_size": 9,
	"caret_style": "blink",
	"caret_extra_top": 1,
	"caret_extra_bottom": 1,
	"caret_extra_width": 1,
	"font_options": [ "no_liga", "no_clig", "no_calt" ],
	"translate_tabs_to_spaces": true,
	"highlight_line": true,
	"create_window_at_startup": false,
	"draw_white_space": [ "selection", /*"enclosed",*/ "trailing"],
	"show_encoding": true,
	"scroll_past_end": 0.8,
	"always_show_minimap_viewport" : true,
	//"hardware_acceleration" : "opengl",
	"file_tab_style": "square",
	"highlight_modified_tabs": true,
}
0 Likes

#6

Please check this screeshot.

Line 276: “a” in “squaresize” has problem, “rcOrangeBar” doesn’t.
Line 277: “a” in “rcOrangeBar” has problem. “s” in “squaresize” has, but “a” not.
Line 279: “a” and “n” in “rcOrangeBar” have problem, “q” in “squaresize” has.
Line 281: “u” in the 2nd “squaresize” has problem, but the 1st is fine.

I can’t find a pattern.

0 Likes

#7

Does this also happen in build 4160 for you?

Here’s the download link: https://download.sublimetext.com/sublime_text_build_4160_x64_setup.exe

0 Likes

#8

It also happens in 4160. I believe this is a problem of a long history.

0 Likes

#9

Still unable to reproduce this. I’ve tried both Windows 10 & 11 at 200%, 250% and 300% with the settings you’ve provided:

image

0 Likes

#10

I did a build-by-build search to find which one brought the problem, the problem was introduced since build 4085 and became worse in recent builds.

As you can see in the screenshot, build 4084 works fine, but please notice the gaps between the letter a’s are not even: the first two a’s are closer than the other a’s.

In build 4085, one pixel was missing and in build 4165, two pixels are missing in each vertical line and making the letter badly rendered.

I hope this helps to dig out what goes wrong.

0 Likes

#11

Forgot to mention: the problem was worsen since build 4161.

Build 4160 is the same as 4085.

0 Likes