Search Unity

Monospace console font?

Discussion in 'Editor & General Support' started by Wokarol, Jul 9, 2019.

  1. Wokarol

    Wokarol

    Joined:
    Aug 1, 2017
    Posts:
    34
    I can't belive that Unity doesn't use monospace font for console. I would really need it for debugging.
     
  2. steinbitglis

    steinbitglis

    Joined:
    Sep 22, 2011
    Posts:
    254
    Me neither
     
    DanStreaman likes this.
  3. Baydogan

    Baydogan

    Joined:
    Mar 22, 2018
    Posts:
    54
    +1
     
    DanStreaman and forteller like this.
  4. Sulbon

    Sulbon

    Joined:
    Aug 20, 2013
    Posts:
    7
    monospace, yes!
     
    DanStreaman likes this.
  5. forteller

    forteller

    Joined:
    Jun 15, 2019
    Posts:
    55
    +1
    This functionality would be really nice for debugging purposes. I often use the console to visualize (generally mesh/texture oriented) algorithms in their early phases, but this isn't really possible in the unity console without mono space.
     
    eskivor and DanStreaman like this.
  6. rgameiro

    rgameiro

    Joined:
    Aug 13, 2018
    Posts:
    1
    +1
     
    eskivor and DanStreaman like this.
  7. DuckyMcClin

    DuckyMcClin

    Joined:
    Nov 26, 2016
    Posts:
    1
    +1
    I would very much like the console to use a monospace font. This would make certain debugging tasks much easier!
     
    eskivor and DanStreaman like this.
  8. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    611
    @UnityMaru could you get this to the eyes of the relevant team, pretty please? :)
     
    DanStreaman likes this.
  9. DanjelRicci

    DanjelRicci

    Joined:
    Mar 8, 2010
    Posts:
    310
    Just discovered this. Definitely +1!
     
  10. Vharz

    Vharz

    Joined:
    Jul 28, 2012
    Posts:
    25
    +1
     
    DanStreaman likes this.
  11. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    As a (terrible) work around if you don't need to click the lines in the console, you can use tail/grep on the editor log. Tail and grep can be added to Windows as well. By default your terminal or command prompt should already be using a monospace font.
     
    AnderX003 and DanStreaman like this.
  12. mbrodersen

    mbrodersen

    Joined:
    Jul 10, 2013
    Posts:
    4
    monospace would be REALLY useful right now
     
    DanStreaman likes this.
  13. DanStreaman

    DanStreaman

    Joined:
    Aug 15, 2018
    Posts:
    3
    +1
    Please allow configuring at least the Console font. Even a simple checkbox to use a pre-determined monospace font would work.
     
    eskivor and Joe-Censored like this.
  14. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Yeah, default System font is probably fine, or whatever a command prompt uses.
     
    Ziplock9000 likes this.
  15. Ziplock9000

    Ziplock9000

    Joined:
    Jan 26, 2016
    Posts:
    360
    The use of monospace fonts in programming, especially in debugging has been a de-facto standard for decades. Why it's still not an option after many years is bewildering to be honest.
     
  16. Kiefy

    Kiefy

    Joined:
    Dec 11, 2016
    Posts:
    8
    If you really really want it, Editor Console Pro lets you use any font in your assets dir.

     
    dyguests and JasonC_ like this.
  17. steinbitglis

    steinbitglis

    Joined:
    Sep 22, 2011
    Posts:
    254
    Putting a custom font in every project is on the edge of desperate I think.
    If it can't be standard, it should be a global setting. A monospace check box, not a custom font.
    And it should support a wide variety of unicode characters.
     
  18. Kiefy

    Kiefy

    Joined:
    Dec 11, 2016
    Posts:
    8
    Of-course, I'd prefer a built-in feature, but let's be honest here. You can either wait for hell to freeze over, or do it yourself / buy an asset. It's worth knowing your options.



    Though, it doesn't do any better when it comes to unicode emoji.

     
    Last edited: May 27, 2021
    FaffyWaffles and JasonC_ like this.
  19. JasonC_

    JasonC_

    Joined:
    Oct 27, 2019
    Posts:
    66
    Haha, so dramatic.

    It's not *that* bad; just drag and drop; and it won't end up in the build if you don't use it.

    I mean, cumbersome - yes, should be a built in option - absolutely, "edge of desperate" though... :rolleyes::D
     
    Kiefie likes this.
  20. PigletPants

    PigletPants

    Joined:
    Sep 19, 2019
    Posts:
    23
  21. Arithmetica

    Arithmetica

    Joined:
    Feb 11, 2019
    Posts:
    44
  22. artkam

    artkam

    Joined:
    Feb 23, 2020
    Posts:
    1
  23. Ziplock9000

    Ziplock9000

    Joined:
    Jan 26, 2016
    Posts:
    360
    How do you set a custom font for the console? or are you talking about that paid asset?
     
  24. steinbitglis

    steinbitglis

    Joined:
    Sep 22, 2011
    Posts:
    254
  25. villevli

    villevli

    Joined:
    Jan 19, 2016
    Posts:
    89
    Apparently Unity 2021.2 has an option to use monospace font.
    From changelog https://unity3d.com/unity/whats-new/2021.2.0
     
    zanouk, alexxUID, Moonjump and 3 others like this.
  26. ExNinja

    ExNinja

    Joined:
    Dec 4, 2013
    Posts:
    30
    There IS a workaround to this in versions prior to 2021.2.

    I found this from mgear's post from 2021: Use custom editor fonts.

    It is possible to modify the font for all of Unity and change it to a monospaced font:


    The process involves editing Unity's fontsettings.txt file. Instructions are in the linked post for Windows. On macOS, the instructions are:

    1. In your Finder, open /Applications/Unity/Hub/Editor/[2020.3.x]/ (replacing [2020.3.x] with your version number.
    2. Right-click on Unity.app and select Show Package Contents.
    3. Inside the Unity.app package, open Contents/Resources/fontsettings.txt
    4. You can edit the first line of the fontsettings.txt file by adding the font of your choice before "Inter". There does not seem to be a way to add additional font options.
    Here are two examples:
    English|Inter-Regular=Monaco, Inter, Hiragino Kaku Gothic Pro, Hiragino Sans GB

    – This replaces Inter with the built-in monospaced macOS font Monaco
    English|Inter-Regular=M+ 1m Bold, Inter, Hiragino Kaku Gothic Pro, Hiragino Sans GB

    – This replaces Inter with the bold version of the excellent monospaced font M+ 1m

    M+ 1m can be found at https://github.com/coz-m/MPLUS_FONTS and read about at https://mplusfonts.github.io/ .
     
    nixalott, dyguests and AnderX003 like this.
  27. FaffyWaffles

    FaffyWaffles

    Joined:
    Apr 10, 2020
    Posts:
    45
  28. josephjboyden

    josephjboyden

    Joined:
    Sep 12, 2015
    Posts:
    1