Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

How to change font size in unity editor?

Discussion in 'Editor & General Support' started by rockysam888, Aug 31, 2012.

  1. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,149
    Do you have a retina MBP? Then it is the case, or you're using an old version of Unity before they added retina support. Nothing about font sizes changed, in case you're still confused by that (and having the same font size was indeed the whole point). See my post above for an illustration.

    --Eric
     
  2. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    2,960
    That's what we are asking for - a way to make the fonts larger. They're ridiculously small to a lot of us. Even if it's working as intended, the intended way is unpleasantly tiny to many. So a huge wish list item is larger fonts in the Unity editor.
     
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,149
    Also what people were asking for was to use hdpi displays without everything becoming microscopic, so at least that was done.

    --Eric
     
  4. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    4,198
  5. Utopiacosmica

    Utopiacosmica

    Joined:
    Dec 17, 2016
    Posts:
    2
  6. Supergeek

    Supergeek

    Joined:
    Aug 13, 2010
    Posts:
    93
    Editor scripts have to be in an Editor directory. Then it should show up in the top program menu under a new heading, Font.

    I've been trying to find good fonts to use with this. Most of them are still too small.
     
  7. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,149
    Fonts don't really have any inherent size. Various design elements can make letters appear slightly larger or smaller compared to other fonts, but generally font and size are quite different things. I doubt there's any font that would be significantly more legible at the sizes used by Unity than the default font. In order to make any real difference there needs to be the ability to change size, not font.

    --Eric
     
  8. mowax74

    mowax74

    Joined:
    Mar 3, 2015
    Posts:
    31
    Any news on this? I got a 4k 32" display on Windows 7 (switching the next days to 10), and now the Unity Editor is not usable anymore.
    I'm also not willing to discuss, if in 2018 a 4k resolution is overkill. As everyone knows who using kind of these displays, the higher resolution feels so much better - on everything - but unity.
    But also in Unity it would have been more than useful: How can it be overkill, having the scene and game view side by side in a reasonable resolution each? If only the editor font could be scaled!

    I'm not saying this is a small thing to fix. But the problem now persists since so many years! And meanwhile it is not acceptable anymore that it is still not done and obviously has not the priority to fix that it needs to have! What should i do now? Change my screen resolution when i switch to unity, and change it back when i switch back to maya, photoshop or visual studio? They all have a scalable UI. It's like a joke.
     
  9. Supergeek

    Supergeek

    Joined:
    Aug 13, 2010
    Posts:
    93
    Force Antiliasing OFF for Unity in Nvidia or AMD display settings. That may help with font rendering issues on larger displays. It really helped for mine. I went from the rendering on the left to the one on the right.
     

    Attached Files:

  10. mowax74

    mowax74

    Joined:
    Mar 3, 2015
    Posts:
    31
    Ok, i calmed down. After i restarted my system everything looks ok now. The fonts are normal sized now in unity. They are unsharp, but that is not a big problem. Not that big, like fonts half of that size, like it was yesterday, even with 150% windows ui scaling.
    The UI scaling didn't update in unity, even not after i restated unity. After rebooting its ok now.
     
  11. NeatWolf

    NeatWolf

    Joined:
    Sep 27, 2013
    Posts:
    860
    +1 on this featuring at least scaling of the Project/Hierarchy Tabs fonts.

    I'm using 3rd party solution to visualize them, but even if there's row-size and indent scaling, there still has no text size scaling; which I believe it's an API limitation.

    I, as many, spend a lot of time in front of the Unity Editor, and I recently discovered that, well, scaling up just a bit the font size in most editors, visual studio included, puts less strain on the eyes. I could also work without glasses, my sight is only slightly (<=0.75) reduced, but I still believe this is an accessibility problem.

    Hierarchy Pro and Project Bookmarks already expand the line height and indentation. Could you please also expose the necessary APIs for scaling fonts?
     
    Supergeek likes this.
  12. mikeb_celtx

    mikeb_celtx

    Joined:
    Oct 19, 2016
    Posts:
    2
    Chipping in to ask for this feature as well. My eyesight has never been good, but I'm 40 now, and scaling UI text is no longer an optional feature for me.
     
  13. Death2Gnomes

    Death2Gnomes

    Joined:
    Jul 4, 2018
    Posts:
    1
    So its been 4 years now. I refuse to pay for pro until this is fix/added/changed.
     
  14. tmcthee

    tmcthee

    Joined:
    Mar 8, 2013
    Posts:
    64
    Hey all,

    It's not perfect, but Windows does have a native feature to help with this problem.
    1. Right click on your desktop and select "Display settings"
    2. Under "Scale and layout", change the scaling factor to suit your needs.
    3. Right click on the Unity app icon and select "properties".
    4. Select the "Compatibility" tab.
    5. Find the setting "Override high DPI scaling behaviour"
    6. By default this is checked and set to "Application".
    7. Either uncheck this or set it to "system" or "system enhanced"
    8. Unitys fonts should now scale up to match the "Scale and Layout" factor.

    unityFontfix.png
     
    eelledge, MGGDev and fearlesshyena like this.
  15. awmcclain

    awmcclain

    Joined:
    Dec 24, 2013
    Posts:
    12
    I'll throw in here as well -- c'mon. It's absurd. It's a Hard Problem, but you're an enterprise software company. Spend the resources, rework your GUI code, allow dynamic sizing.
     
    aizomme likes this.
  16. joaobsneto

    joaobsneto

    Joined:
    Dec 10, 2009
    Posts:
    146
    They did that, I hope they fixed the font size issue:
     
  17. CloudyC

    CloudyC

    Joined:
    Aug 1, 2018
    Posts:
    1
    :confused::mad::eek: Still wating

    legacy code monster, or unpaid, uncommentated and undocumented intern work or bachelor thesis candidate work :rolleyes: yeah, you gonna buy twice if you buy cheap
     
    Last edited: Aug 1, 2018
  18. fearlesshyena

    fearlesshyena

    Joined:
    Apr 19, 2014
    Posts:
    2
    Thanks a lot!!! This definitely helps
     
  19. myers831

    myers831

    Joined:
    Oct 15, 2018
    Posts:
    1
    Although its not possible in Unity, what i did was change my windows display setting and set "Change the size of text , apps, and other items" to 150%
     
  20. marcelo_augusto

    marcelo_augusto

    Joined:
    Nov 18, 2018
    Posts:
    1
    The original post dates 4 years back at least. What has changed in this matter?
     
  21. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    4,854
    Several things have changed - they have added support for high density displays, and they honor the UI scaling in windows.
    As for actual "modify the font on the fly" like Blender (the best option in my opinion), they are working on a new UI with alternate fonts, which you can already preview in the Beta section - but it doesn't yet have font scaling. It is however something they are currently actively working on.

    More info here:

    https://forum.unity.com/threads/new-editor-theme.564484
     
    ecv80, MGGDev and marcelo_augusto like this.
  22. komali2

    komali2

    Joined:
    Jul 12, 2019
    Posts:
    1
    I'm on a Thinkpad x1 Carbon running Ubuntu 18.04. The resolution is very high, which makes this a HiDPI screen.

    The font size is comically small in only one program on this machine, Unity Editor.

    I see that the engineers are aware that this needs fixing. That's good, because early in the thread were silly things about "breaking the UI by changing the font size," something that all other applications in the world have already "solved" by allowing users to shoot themselves in the foot by blowing up font size if they should so choose (and adding scrollbars where necessary to allow content to scroll to see it all).

    I'm an engineer too, and I was taught that ensuring UI elements were readable was important to do because some of my users will have poor eyesight, and I should do what I can to make my applications accessible to these users. A font slider is an easy way to do that without "ruining" my UI for all the other users. I give props to the Unity Editor engineering team for recognizing that as well - I suspect management is not allowing them to prioritize this important, accessible, feature.

    I'm looking forward to when Unity Editor will implement this common feature.

    In the meantime, if others are in my shoes, hopefully the friendly people at AskUbuntu will help us find a way to config Unity Editor "behind the scenes" to increase the font size: https://askubuntu.com/questions/115...-a-specific-application-in-ubuntu-18-04-runni
     
    Supergeek likes this.
  23. better_walk_away

    better_walk_away

    Joined:
    Jul 12, 2016
    Posts:
    126
    I really need to find a way to magnify the text of Unity Editor. I am typing Chinese in Editor, Chinese characters are generally very complex, the font size of Unity Editor is way too small, sometimes, it's very hard to see some of the Chinese characters.
     
  24. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    4,854
    If you are in windows, go to Display Settings, and change the dropdown that says "Change the size of text, apps and other items". 2019.3 alpha says it has custom UI scaling for the unity editor. But if you're wanting to use a production version of Unity, I think the display settings is your best option.
     
  25. eelledge

    eelledge

    Joined:
    May 25, 2015
    Posts:
    1
    This is a BIG improvement. Thank you
     
    tmcthee likes this.
  26. ImLife

    ImLife

    Joined:
    Aug 15, 2019
    Posts:
    3
    glad to se that this has been implemented in 2019... not
     
    Reedex and NeatWolf like this.
  27. fibulator777

    fibulator777

    Joined:
    Oct 31, 2019
    Posts:
    2
    Had No effect on Unity editor, and instead completely screwed up the size of Unity Hub button placement/scales.
    (and Yes, I'm sure I changed the Unity.exe *not* Unity Hub.exe)

    And Tiny black text on grey background will is excessively bad design decision. -_-
     
  28. Krellumdaed

    Krellumdaed

    Joined:
    Jun 24, 2015
    Posts:
    10
    Any news on adjustable font size?

    I would love it if the console at a minimum could have its font size changed.

    This is a feature that far too many tools overlook...