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

[CLOSED] Fonts of titlebar menu items aren't rendering properly in Ubuntu. #8745

Open
core-ai-bot opened this issue Aug 30, 2021 · 15 comments
Open

Comments

@core-ai-bot
Copy link
Member

Issue by nmabhinandan
Thursday Nov 06, 2014 at 12:20 GMT
Originally opened as adobe/brackets#9828


The menu items of the title bar menu aren't rendering properly in Ubuntu OS. They look kinda dull and thin.
screenshot from 2014-11-06 17 38 12

It looks better by adding font-weight: 400 to the anchor links of the menu. (The 'File' and 'Edit' items are modified using developer tools)
screenshot from 2014-11-06 17 42 58

@core-ai-bot
Copy link
Member Author

Comment by Mark-Simulacrum
Thursday Nov 06, 2014 at 12:58 GMT


I've noticed this as well, but it is only (at least for me) an issue with styling in dark themes. I'm on Ubuntu 64bit 14.04. I've written a temporary extension which fixes this issue, and published it onto the registry under "Bolder Menu Font".

@core-ai-bot
Copy link
Member Author

Comment by nmabhinandan
Thursday Jan 29, 2015 at 07:29 GMT


👍 Nice fix.

@core-ai-bot
Copy link
Member Author

Comment by FriendOfFatBeagle
Sunday May 24, 2015 at 20:19 GMT


I installed Brackets on Linux Mint 17.1, Cinnamon
It is a variant of Ubuntu 14.xx.
I installed Mark's extension. Nothing happens, even after restarting app..
Suggestions?

@core-ai-bot
Copy link
Member Author

Comment by busykai
Sunday May 24, 2015 at 21:30 GMT


@FriendOfFatBeagle, firstly, you do not need to install extension any longer as it is fixed in the core. The way it has been fix is illustrated by the screenshots in this comment. Are you seeing something different than "after" screenshot?

@Mark-Simulacrum, by the way, if your extension does not do anything extra than your PR #9829, may be it is worth removing the extension from the registry.

@core-ai-bot
Copy link
Member Author

Comment by Mark-Simulacrum
Sunday May 24, 2015 at 22:14 GMT


@busykai Removed the extension from the registry, it didn't do anything more than the PR did.

@core-ai-bot
Copy link
Member Author

Comment by FriendOfFatBeagle
Monday May 25, 2015 at 00:00 GMT


"firstly, you do not need to install extension any longer as it is fixed in the core. The way it has been fix is illustrated by the screenshots in this comment. Are you seeing something different than "after" screenshot?"

@busykai: I reinstall Brackets. Didnot add any extension except for "Themes for Brackets". Still the same problem.
If this is fixed in the core, why do I still have microscopic size fonts for UI menu and left pane?
I did not see any difference between the before and after screenshots you mentioned.

I could zoom in and out for the text inside the editor, but UI menu and left pane text is like 5 points.
Really really small.

Here is a screen shot from my display, but note that I have enlarged the editor's text and only capture a small screen area. But the menu text and left pane texts are ACTUALLY really small.
You have to click on the image to see it in another tab to show its actual size.

screenshot from 2015-05-24 17 59 12

@core-ai-bot
Copy link
Member Author

Comment by busykai
Monday May 25, 2015 at 01:50 GMT


@FriendOfFatBeagle, thanks for the screenshot and the explanation. What you're describing is different from the original issue. As far as I can tell, everything's working as designed: you can resize the editor font, but you cannot resize/scale fonts in other elements. The original issue was that the menu fonts were rendering too thin. I guess what you're saying is:

  1. the fonts used in the menu and in the file tree are too small;
  2. there's no feature to make them bigger.

I need a Linux machine to actually install and try. From the screenshot you're providing, it's not clear how much scaled is the editor as opposed to its normal size. Comparing it to the actual size of fonts on my Mac, they seem about the same size. It's not to say it could be a problematic for some. The motivation for this design choice, if I'm not mistaken, was that it's what's within the editor that actually matters, menus and file tree should not stand on its way (i.e. occupy too much space or have bright colors).

Did you try to use the OS accessibility features to accomplish the task? For example, I can use "Zoom" on Mac to magnify the window if I cannot see the text.

@core-ai-bot
Copy link
Member Author

Comment by FriendOfFatBeagle
Monday May 25, 2015 at 02:08 GMT


I guess what you're saying is:
the fonts used in the menu and in the file tree are too small;
there's no feature to make them bigger.
@busykai:
Yes, that is correct conclusion.

I have yet to find a good magnifier for Linux Mint.
The GUI font is tiny, like 5 point or less on my 17.5" display laptop.
If you open up OpenOffice or libreOffice, compare 5 or 6 points vs 12 points font texts and see the difference, so you get an idea of the problem.....

Comparing it to the actual size of fonts on my Mac, they seem about the same size.
When I ran Brackets on Win 7 for the same dual boot laptop, the GUI fonts were of proper size.
But I want to work in Linux, and want to detach myself from Windows, as much as possible.
So this problem is specific to Linux Mint or may be also other Debian variants.

@core-ai-bot
Copy link
Member Author

Comment by busykai
Monday May 25, 2015 at 02:32 GMT


@FriendOfFatBeagle, thanks. I see the magnitude of the problem now. Could you please file a separate issue and provide a screenshot with 1) a default Brackets theme (dark or light) and 2) without any editor magnification? It would probably be helpful if you included part of the desktop (anything that includes text rendered by the system) so that whoever will be evaluating the issue later will be able to judge how tiny the fonts are (in comparison).

@core-ai-bot
Copy link
Member Author

Comment by busykai
Monday May 25, 2015 at 02:52 GMT


@Mark-Simulacrum, thank you! It will help to avoid confusion.

@core-ai-bot
Copy link
Member Author

Comment by FriendOfFatBeagle
Monday May 25, 2015 at 03:08 GMT


@busykai:
Here is the filed problem report:
adobe/brackets#11161

Let me know if it needs more clarifications ....
Thanks.

@core-ai-bot
Copy link
Member Author

Comment by FriendOfFatBeagle
Wednesday Jun 10, 2015 at 14:46 GMT


@busykai or anyone:
I did not know why someone closed by problem report here:
adobe/brackets#11161

Since I am using Linux, my problem should be common amongst Linux users.
Surely there is a solution already.
I tried Atom editor, and it has similar problem since it is a web/browser technology based editor.
It was solved using this plugin: https://atom.io/packages/hidpi
It has an explanation on why UI font is not working in Linux like it should in Mac.
Excerpts:
Atom HiDPI / Retina
Atom Hidpi scales Atom's interface based on the current monitor's resolution. Currently on Linux Atom does not scale based on DPI, so this package is necessary to make Atom readable on monitors with high resolutions / DPIs. This package should not be necessary for OSX because it automatically scales. I have not tested Atom on Windows so I do not know how it behaves.

May be someone can look at hidpi plugin code to fix similar problem on Brackets
I did not know enough of Brackets to do any good at the moment.
Please advice.

@core-ai-bot
Copy link
Member Author

Comment by MarcelGerber
Friday Jun 12, 2015 at 19:55 GMT


@FriendOfFatBeagle Could you just quickly try this:

  1. Go to Debug > Show developer tools
  2. Switch over to the Console tab
  3. Enter brackets.app.setZoomLevel(2) and hit return

(You'll probably get the best results by uninstalling your other appearance-changing extensions previously)

Is this workable for you?

@core-ai-bot
Copy link
Member Author

Comment by MarcelGerber
Friday Jun 12, 2015 at 20:20 GMT


Oh, I see now. As you're on Linux, you probably don't have that command yet. Too bad.

@core-ai-bot
Copy link
Member Author

Comment by FriendOfFatBeagle
Friday Jun 12, 2015 at 20:36 GMT


Yes, correct.
In Dev Tools Console:
brackets.app.setZoomLevel(2)
TypeError: Object # has no method 'setZoomLevel'

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

1 participant