Sublime Forum

Sublime Text 2 and Lion HiDPI, possible?

#5

There is hardware that can take advantage of it. Here’s a comparison of what ST looks like on my HiDP display (the crisp font is iTerm):

https://img.skitch.com/20120406-pbtg5hmku8pdduuspky1p4ihd3.png

This forum is cropping the image, so you can see the full image at (https://img.skitch.com/20120406-pbtg5hmku8pdduuspky1p4ihd3.png)

0 Likes

#6

I’m aware it can be enabled if you tweak the right settings in OS X, but that’s not the same thing as high resolution monitors being in common use. When apple announce the hardware, I’ll start working on it.

0 Likes

#7

Just to save you some time: When you start implementing HiDPI support, the first step you’ll need to take is to add an NSPrincipalClass entry to your app’s Info.plist, otherwise HiDPI won’t be enabled for your application. I don’t think this is documented anywhere, and I’ve spent quite some time tracking it down when I started looking at the HiDPI implementation for an app I work on.

When I add that entry to Sublime Text 2’s Info.plist (and rename the app bundle to clear some caches), at least the title bar is HiDPI. The rest of the window is not, though.

0 Likes

#8

I guess this post has become a lot more relevant since yesterday, yeey! :smiley:

Looking forward to using a Retina Macbook Pro for my development work. But I’ll hold off on buying it for a few more weeks, let’s hope Jon gets around to adding support for it in the near future.

0 Likes

#9

I got this problem exactly like the first post’s images, but I do not turned on the “HiDPI mode”,
I am using a Mac mini (OS X Lion) with a 23" LCD (1920 * 1080 resolution), its very horrifying looking at those font. I hope Jon can help with this issue. Really really thx.

0 Likes

#10

I also use the HiDPI mode on an “unsupported system” - MacBook Air hooked up to an external Monitor in my office.
Therefore I second the an implementation of the HiDPI Fonts and Icons!

0 Likes

#11

I can confirm that using the new retina MB Pro, Sublime Text 2 is less than desirable (when all the other text on the screen is crisp, the blurry text of sublime actually gives me a bit of a headache when trying to read it).

0 Likes

#12

I’ll just add my confirmation – SublimeText 2 (along with a billion other apps, it seems) doesn’t render text correctly on the new Retina MBP.

Cheers,
Dave

0 Likes

#13

+1: HiDPI support is definitely a very important feature - looks terrible on the new Retina MBP at the moment.

0 Likes

#14

+1 retina user here

0 Likes

#15

Sorry, but now that ChocolatApp has it, it’s probably something that others are looking for.

0 Likes

#16

I’ve got a retina MacBook Pro on the way, so I’m definitely hoping something will be done. I imagine it might be difficult to update the theme(s) though, so I assume it’s going to take some time to decide how to handle it (e.g., scale up non-HDPI images, look for images of the same name with an @2x suffix, etc.).

0 Likes

#17

Tested ST2 on a retina macbook and can confirm the text looks horrible. Looking forward to seeing this fixed (the text rendering fix should be a no-brainer at least :).

0 Likes

#18

+1 - just cracked open a retina MBP and Sublime was one of the first programs to try and get running. Would love to see the retina support added for text. Can live with the icons.

0 Likes

#19

Out of curiosity to those who’ve already got a retina MBP, how does it look if you switch the screen resolution over to scaled 1920x1200?

0 Likes

#20

Font rendering looks pretty terrible on the Retina MBP. I can live with the theme images being a little under res for now (although resolution independent theming would be fantastic!). However, it really makes Sublime unusable as a text editor until the font rendering can appear unpixelated.

0 Likes

#21

It’s extremely difficult to notice any artifacts from the resampling unless you’ve got your nose pressed up against the screen. Super readable and crisp (for apps that support HiDPI).

0 Likes

#22

This is now a part of Nightly build. No theme supports it yet though?

0 Likes

#23

Bwahahahahaha. Yeah, no, at least one theme supports it.

0 Likes

#24

[quote=“Nilium”]

Bwahahahahaha. Yeah, no, at least one theme supports it.[/quote]

It does now. Cheeky hint there :wink:

0 Likes