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 of Brackets on high-DPI Linux/Ubuntu is too small #8059

Closed
kylind opened this issue Jun 7, 2014 · 36 comments

Comments

Projects
None yet
@kylind
Copy link

commented Jun 7, 2014

My brackets 0.40.0-13109 looks so small, I can't even see the menu. if this is a ubuntu itself issue, can you tell me where I can set up. thanks very much.

selection_004

this image is zoom in a little bit. the actual UI is really small.

@evanp

This comment has been minimized.

Copy link

commented Jun 12, 2014

I have the same problem. Is there a preference to set the font size for the menu or files list? It's alllmost unusable.

@peterflynn

This comment has been minimized.

Copy link
Member

commented Jun 12, 2014

@kylind @evanp Are you on high-DPI displays? From the size of the title bar text in the screenshot, it would appear so. Unfortunately, Brackets doesn't support high DPI yet on Linux -- we're waiting on a CEF update to fix this. Hopefully that will happen in the near future (possibly the second release from now, 0.42).

This is already tracked on our feature backlog here: High DPI support on Windows/Linux. So I'll close this if it turns out that's the issue, to avoid tracking the same thing in two places.

@kylind

This comment has been minimized.

Copy link
Author

commented Jun 13, 2014

Yes, my resolution is 2560x1440 (thinkpad x1), I look forward to this issue can be fixed ASAP. I really like bracket. thanks.

@kylind

This comment has been minimized.

Copy link
Author

commented Jun 13, 2014

sd

发自我的小米手机

Peter Flynn notifications@github.com编写:

@kylind @evanp Are you on high-DPI displays? From the size of the title bar text in the screenshot, it would appear so. Unfortunately, Brackets doesn't support high DPI yet on Linux -- we're waiting on a CEF update to fix this. Hopefully that will happen in the near future (possibly the second release from now, 0.42).

This is already tracked on our feature backlog here: High DPI support on Windows/Linux. So I'll close this if it turns out that's the issue, to avoid tracking the same thing in two places.


Reply to this email directly or view it on GitHub.

@evanp

This comment has been minimized.

Copy link

commented Jun 13, 2014

Just to let you know: I had a similar problem with atom.io. There's a workaround here:

atom/atom#2530

I don't know enough about Brackets config to know if there's a similar trick.

Sent from my iPhone

On Jun 12, 2014, at 16:25, Peter Flynn notifications@github.com wrote:

@kylind @evanp Are you on high-DPI displays? From the size of the title bar text in the screenshot, it would appear so. Unfortunately, Brackets doesn't support high DPI yet on Linux -- we're waiting on a CEF update to fix this. Hopefully that will happen in the near future (possibly the second release from now, 0.42).

This is already tracked on our feature backlog here: High DPI support on Windows/Linux. So I'll close this if it turns out that's the issue, to avoid tracking the same thing in two places.


Reply to this email directly or view it on GitHub.

@peterflynn peterflynn changed the title the font size of Brackets in Ubuntu 14.04 is so small Font size of Brackets on high-DPI Linux/Ubuntu is too small Jul 7, 2014

@peterflynn

This comment has been minimized.

Copy link
Member

commented Jul 7, 2014

Clarified title (was: "the font size of Brackets in Ubuntu 14.04 is so small")

@peterflynn

This comment has been minimized.

Copy link
Member

commented Aug 22, 2014

Actually, I think we can close this, as it's already tracked in two other places:

@peterflynn peterflynn closed this Aug 22, 2014

@peterflynn

This comment has been minimized.

Copy link
Member

commented Aug 22, 2014

@evanp You can use a similar hack to tweak the Brackets UI. The instructions here explain how to customize any CSS style in Brackets: https://github.com/adobe/brackets/wiki/Customize-Your-Code-Font#approach-a-write-an-extension

@evanp

This comment has been minimized.

Copy link

commented Oct 8, 2014

@peterflynn that's only fixing the code font, not the font for the menus and code tree.

@nourddinebakour

This comment has been minimized.

Copy link

commented Nov 6, 2014

This is Brackets 1 Ubuntu after fix menu font size

screenshot from 2014-11-06 23 34 10
screenshot from 2014-11-06 01 57 08

@nourddinebakour

This comment has been minimized.

Copy link

commented Nov 6, 2014

screenshot from 2014-11-06 23 45 20

@thany

This comment has been minimized.

Copy link

commented Dec 29, 2014

Same problem on Windows.

Set the infamous "large fonts" setting and the UI font-sizes are ripped out of proportions with the rest of the system. Applications are supposed to scale up/down from the default, not set their own sizes in physical pixels.

Even browsers do this correctly, and since Brackets is essentially wrapped around a webkit container, fixing this should be as easy as using ems/rems for everything, and drop every instance of pixel-based positioning/sizing everywhere.

And here's a screenshot:
capture

@peterflynn

This comment has been minimized.

Copy link
Member

commented Jan 3, 2015

@thany Yes, we know. Work is in progress -- see High DPI support on Windows and Linux on Brackets on the backlog and this note in the 1.1 release notes:

Windows High DPI support: To enable, right-click the app icon and select "Disable display scaling on high DPI settings" in the Compatibility tab. (The window controls in the upper right do not rescale yet, however).

@thany

This comment has been minimized.

Copy link

commented Jan 5, 2015

The thing on the Compatibility tab changes nothing in my case... I think what it's supposed to do is act as if my screen is back at 96dpi. So essentially disabling all scaling. But Brackets isn't scaling to begin with, so I'm not awfully surprized as to why this option changes nothing.

Btw, I'm still at 1.0 because of a regression bug that's breaking Brackets usage for me.

@peterflynn

This comment has been minimized.

Copy link
Member

commented Jan 5, 2015

@thany Right, 1.0 does not have this feature. You should only expect to see it working (with the Compatibility tab change) in 1.1 -- hence that message being in the release notes for 1.1 :-)

@1beb

This comment has been minimized.

Copy link

commented May 13, 2015

Would someone be kind enough to provide more explicit instructions on how to increase the scale of the UI elements?

@nourddinebakour Looks like you've made some progress on this front. Care to share your code/package?

@1beb

This comment has been minimized.

Copy link

commented May 13, 2015

Figured it out, and pushed extension for those rare Surface Pro 3 users who've installed Linux.. like myself. https://github.com/1beb/ui-too-small bumps everything to 20px;

@matrs

This comment has been minimized.

Copy link

commented May 18, 2015

thanks for your plugin man, i changed it to 18px and now i have a usable UI. Let me point something out. You don't need a surface pro or something fancy like that to have a small font issue in linux. There are plenty of, just to mention my case, 27"@2560x1440 displays around.
This is my UI with 18px fonts , which looks good now, but look at the small setting and split screen icons, which aren't resized by changing the font size, those are very small .

bracket-font-18

@mariogrip

This comment has been minimized.

Copy link

commented Sep 9, 2015

This need to be fixed...

This is how it looks for me on a 4k laptop screen...

image

@abose

This comment has been minimized.

Copy link
Contributor

commented Sep 10, 2015

I dont think our linux cef version supports hidpi.
@nethip could fill in more details about cef 2171

@nethip

This comment has been minimized.

Copy link
Contributor

commented Sep 10, 2015

@mariogrip Yes @abose is right. We are not HiDPI aware on Linux yet as we are still running the older version of CEF, which is not HiDPI aware(along with the old code in our appshell which again is not high DPI aware on Linux). We ran into serious problems trying to update CEF inside Brackets. Unfortunately, we do not have bandwidth to take up the CEF upgradation on Linux. We appreciate any help we could get in this area. Thanks!

@thany

This comment has been minimized.

Copy link

commented Sep 10, 2015

You'd think it'd be as simple as to stop declaring everything in pixels, and start using rems. I've seen a boatload of pixel declarations for font-sizes and other dimensions in brackets' css files, but then again if CEF states that 1rem is always equal to 16px regardless of pixel density, rems won't help either...

@abose

This comment has been minimized.

Copy link
Contributor

commented Sep 10, 2015

Brackets is hidpi aware on windows and mac systems since release 1.2, largely thanks to CEF support for hidpi and our use of svg assets. As it works pretty well on hidpi mac/win, the only issue left in linux would be to bring ceflatest shell to linux. So things should work well with just that 👍

@99Percent

This comment has been minimized.

Copy link

commented Jan 6, 2016

Any update on this? Xubuntu user. Direly needed.

@mug896

This comment has been minimized.

Copy link

commented Feb 10, 2016

File -> Extention Manager -> search for "UI too small"

@horatiohe

This comment has been minimized.

Copy link

commented Apr 25, 2016

@mug896, u r the savior

@AptFox

This comment has been minimized.

Copy link

commented May 13, 2016

@mug896 is indeed the savior. Praise him!

@JuliaKoe

This comment has been minimized.

Copy link

commented Aug 24, 2016

@mug896 I owe you a coffee!

@ShanikaEdiriweera

This comment has been minimized.

Copy link

commented Sep 3, 2016

@mug896 Thanks

@ShanikaEdiriweera

This comment has been minimized.

Copy link

commented Sep 3, 2016

@mug896 It worked but the UI is not much responsive. Gets stuck all the time

@adimanav

This comment has been minimized.

Copy link

commented Sep 13, 2016

File -> Extension Manager. Search for HiDPI and install "Brackets HiDPI Support". Everything works fine, except one can't move the cursor in the editor with a mouse click. issue mgspross/brackets-hidpi-support#1

@zaggino

This comment has been minimized.

Copy link
Contributor

commented Sep 13, 2016

@adimanav Since this is marked as Linux only, can you try with brackets-electron? https://github.com/zaggino/brackets-electron/releases

@adimanav

This comment has been minimized.

Copy link

commented Sep 13, 2016

@zaggino brackets-electron works fine! thanks!

@Kazhunter

This comment has been minimized.

Copy link

commented Oct 3, 2016

remove family font and change size of font freely
screenshot from 2016-10-03 08-34-44

@Globegitter

This comment has been minimized.

Copy link

commented May 10, 2017

Still unusable for me on a linux 4K screen. brackets-electron 1.10.2 works much better out of the box, apart from the fact that it seems to start up a bit slower.

@Djcoper

This comment has been minimized.

Copy link

commented Oct 12, 2017

I like Brackets but am unable to use it with my hi-dpi display.

Release 1.11 build 1.11.0-17524 (release 86b5e2d)
build timestamp: Wed Sep 20 2017 10:21:22 GMT+0000

OS: Elementary OS 0.4.1 Loki STABLE

HARDWARE : Dell Inspiron 13-5378
screenshot from 2017-10-12 22-32-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.