Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Huge fonts on HiDPI displays #3826

Description

@jellybob

I've just installed Atom from a git checkout on Ubuntu 12.10, and the attached screenshot is what I see (I've shrunk the editor font size). I'm assuming that fonts aren't really meant to be that large.

huge-fonts

Activity

  1. jbt commented on Oct 15, 2014

    @jbt

    I'm seeing this too - I'm guessing it has something to do with the recent bump to atom-shell 0.18 and detecting hidpi when it shouldn't? Also mine seems to have lost the main menubar at the same time. (Edit I've reported the menubar thing as a separate issue over on atom-shell)

  2. benderunit commented on Oct 16, 2014

    @benderunit

    Starting atom with setting this flag --force-device-scale-factor=1 helped for me.

  3. self-assigned this
    on Oct 17, 2014
  4. added
    linux
    on Oct 17, 2014
  5. qstrahl commented on Oct 17, 2014

    @qstrahl

    Also experiencing this issue. Also fixed by --force-device-scale-factor=1.

  6. nylki commented on Oct 17, 2014

    @nylki

    Interestingly, and contrasting to how gnome handles hidpi support (in gnome you can only set scaling to 1 or 2) you can use any scaling you want. I tried it with 1.8, 1.6, 1.4, 1.2 etc.
    Atom renders accordingly. I suggest putting the option to let the user change this in atoms preferences.
    With some changes in your stylesheet this could turn out to be a proper hidpi support.
    To have other elements, like the treeview scaled, I use this local stylesheet on my 170dpi screen.

    The following screenshots were made from atom run with different scale factors.

    atom --force-device-scale-factor=1.4
    atom140percent
    atom --force-device-scale-factor=1.6
    atom160percent
    atom --force-device-scale-factor=1.8
    atom180percent

    One problem I have noticed though are menus. The menu entries are too narrow for the bigger text.

  7. smox commented on Oct 20, 2014

    @smox

    Same issue here, also fixed with --force-device-scale-factor=1
    But first time, the only way to start atom with this parameters I was forced to use sudo.
    I changed the ownership recursive from the .atom folder to my user. Now it is working without sudo.

    I use Ubuntu 14.04, I hope it helps! If you have any questions, pls feel free to ask!

    gz,
    michael

  8. torpedro commented on Oct 20, 2014

    @torpedro

    Also experiencing the same issue. I'm on Linux Mint (Ubuntu based) with 1920x1080. --force-device-scale-factor=1 resolves the issue when running from the command line. I think in chromium you can manually set and persist this flag under chrome://flags. Maybe you can access those flags from atom?

  9. vitalykorolev commented on Oct 20, 2014

    @vitalykorolev

    Same here.. Ubuntu 14.04 with 1920x1080 screen and the flag resolves the issue.
    The bug wasn't in 0.136 and is still in 0.138

  10. jravetch commented on Oct 21, 2014

    @jravetch

    Ubuntu 14.04 with 0.138. I see the huge fonts too when running from the Launcher. Using the flag from the cli does work.

  11. bsphere commented on Oct 21, 2014

    @bsphere

    same here with Ubuntu 14.04 and 0.138

  12. GreatWizard commented on Oct 21, 2014

    @GreatWizard

    I have the same problem with Ubuntu 14.04 and atom 0.138.

  13. jravetch commented on Oct 21, 2014

    @jravetch

    @zcbenz How do I upgrade atom-shell?

  14. 20 remaining items

  15. Zireael07 commented on Jun 9, 2015

    @Zireael07

    Chrome 43 as I heard had some bugs of its own?

  16. batjko commented on Jun 9, 2015

    @batjko
    Contributor

    Yes, 42 is already breaking a few things apparently, which is why upgrading to it for Atom is somewhat delayed.
    They are thinking of maybe going straight to 43, once the incompatibilities have been sorted out.

  17. changed the title [-]Huge fonts on initial install[/-] [+]Huge fonts on HiDPI displays[/+] on Jun 28, 2015
  18. blasterbug commented on Jul 7, 2015

    @blasterbug

    Same problem on debian sid with openbox, whatever I used atom --force-device-scale-factor=1.4 or --force-device-scale-factor=0.4...
    2015-07-07-22-50-22

  19. fibasile commented on Jul 9, 2015

    @fibasile

    I'm using an HiDpi monitor but set at half the resolution (1920x1080), had this problem too. Solved it with gsettings set org.gnome.desktop.interface scaling-factor 1

  20. liaowang11 commented on Jul 9, 2015

    @liaowang11

    Solution from @fibasile works like a charm. Thanks.

  21. blasterbug commented on Jul 9, 2015

    @blasterbug

    OK, fix perfectly the problem.

  22. mylanconnolly commented on Jul 22, 2015

    @mylanconnolly

    Just to clarify for people who may not be aware, the solution @fibasile is proposing is a workaround that disables Gnome's HiDPI setting (instead, rendering at native resolution). At that point, Atom does look as-expected only because HiDPI is no longer in use.

    If you are okay with working at native resolution, you might want to do that anyway for the increased real estate, however it doesn't really solve the root cause. It is a good suggestion in the meantime, though.

  23. naftulikay commented on Jul 23, 2015

    @naftulikay

    The solution proposed by @fibasile doesn't correct my problem. My problem is that Atom should be scaling up to 2x on my HiDPI display (on Linux), and it isn't, regardless of whether I pass --force-device-scale-factor 2 or any other number.

    The value of org.gnome.desktop.interface scaling-factor is the special value 0, which means that scaling should be done per monitor. I don't have any external monitors connected presently, but everything else including Google Chrome works properly. Please see these screenshots to see the problem, Atom should be scaling up like everything else, but isn't:


    Windows on the left are scaling properly, with Atom on the right not scaling properly. Please see the closed #8035 for my exact setup.

  24. JacobHenner commented on Sep 11, 2015

    @JacobHenner

    The menus are still way too large in 1.0.11, GNOME, Arch Linux.

  25. varemenos commented on Sep 11, 2015

    @varemenos

    @JacobHenner afaik, this is not live yet, you will have to build it yourself from the source or wait for the release that uses Electron v0.30.6

  26. margaritis commented on Dec 6, 2015

    @margaritis

    El Capitan 10.11.1, Ultrawide (2560 x 1080)

    screen shot 2015-12-06 at 13 07 32

  27. lock commented on Jan 18, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  28. locked as resolved and limited conversation to collaborators on Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

blockedbuglinux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions