Brackets: Font size of Brackets on high-DPI Linux/Ubuntu is too small

Created on 7 Jun 2014  ·  38Comments  ·  Source: adobe/brackets

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.

Linux only medium priority

Most helpful comment

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

All 38 comments

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

@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.

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

sd

发自我的小米手机

Peter Flynn [email protected]编写

@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.

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

https://github.com/atom/atom/issues/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 [email protected] 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.

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

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

@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

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

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

screenshot from 2014-11-06 23 45 20

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

@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).

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.

@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 :-)

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?

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;

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

This need to be fixed...

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

image

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

@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!

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...

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 :+1:

Any update on this? Xubuntu user. Direly needed.

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

@mug896, u r the savior

@mug896 is indeed the savior. Praise him!

@mug896 I owe you a coffee!

@mug896 Thanks

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

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 https://github.com/mgspross/brackets-hidpi-support/issues/1

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

@zaggino brackets-electron works fine! thanks!

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

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.

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

Release 1.11 build 1.11.0-17524 (release 86b5e2d4e)
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

Still having font rendering issues on a thinkpad x250.
Resolution: 1920x1080 at 12.5"
Ubuntu 18.04

You might want to consider switching to VS Code, because Adobe just simply doesn't have the ability to fix problems reported by its users. This even goes for their expensive commercial software, so what'd you expect for a free program that's basically been dying for some 2 or 3 years?

On top of that, Adobe couldn't care less about Linux, which is again and again proven by all of their other (commercial) software that runs on everything, except Linux.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

10polarbears picture 10polarbears  ·  3Comments

Hi,
KSSS10 picture KSSS10  ·  3Comments

naphipps picture naphipps  ·  4Comments

ghost picture ghost  ·  3Comments

zaggino picture zaggino  ·  4Comments