Dota2-Gameplay icon indicating copy to clipboard operation
Dota2-Gameplay copied to clipboard

MacOS console font broken

Open czf4m7vbfh-pixel opened this issue 10 months ago • 3 comments

Description

This is what my console font looks like on MacOS, this is going on for ages. Tried reinstalling but didn't fix.

Image

Example Match ID (and possibly Timestamp)

No response

Screenshots

Image

czf4m7vbfh-pixel avatar Jan 31 '26 11:01 czf4m7vbfh-pixel

Same issue for me. Also, reported by another user on Reddit here: https://www.reddit.com/r/DotA2/comments/1g1nzgo/why_doest_the_console_font_on_mac_looks_like_this/

sesm avatar Feb 28 '26 12:02 sesm

Fix for this is to include standard macOS font directories in Panorama’s font configuration.

diff --git a/game/core/panorama/fonts/fonts.conf b/game/core/panorama/fonts/fonts.conf
--- a/game/core/panorama/fonts/fonts.conf
+++ b/game/core/panorama/fonts/fonts.conf
@@ -31,7 +31,11 @@
 	<dir>WINDOWSFONTDIR</dir>
+	<dir>/Library/Fonts</dir>
+	<dir>/System/Library/Fonts</dir>
 	<dir>~/.fonts</dir>
+	<dir>~/Library/Fonts</dir>
 	<dir>/usr/share/fonts</dir>
 	<dir>/usr/local/share/fonts</dir>
 	<dir prefix="xdg">fonts</dir>

suyanoyata avatar May 05 '26 08:05 suyanoyata

Fix: Broken / italic console font on macOS

I managed to fix this issue on macOS by adding the standard macOS font directories to Panorama's font configuration.

The problem appears to be that Dota 2's fonts.conf does not include the standard macOS font directories, which can cause incorrect font fallback and rendering (bold/italic or distorted console text).

Steps to fix

  1. Close Dota 2 completely.
  2. Navigate to your Dota 2 installation directory:

dota 2 beta/game/core/panorama/fonts/

  1. Open fonts.conf in a text editor.
  2. Find this line:
<dir>WINDOWSFONTDIR</dir>
  1. Add the following three entries immediately after it:
<dir>/Library/Fonts</dir>
<dir>/System/Library/Fonts</dir>
<dir>~/Library/Fonts</dir>

The resulting section should look like this:

<dir>WINDOWSFONTDIR</dir>
<dir>/Library/Fonts</dir>
<dir>/System/Library/Fonts</dir>
<dir>~/.fonts</dir>
<dir>~/Library/Fonts</dir>
<dir>/usr/share/fonts</dir>
  1. Save the file and launch Dota 2 again.

macOS environment tested

  • MacBook Air M2
  • Apple Silicon (arm64)
  • macOS 27.2

Result

The console font returned to normal immediately after restarting the game. No reinstall was required, and the rest of the Dota 2 interface remained unchanged.

Important: Make a backup of fonts.conf before editing it, so you can easily restore the original configuration if needed.

Hopefully this helps other Mac users experiencing the same issue!

averageencoreenjoer avatar Nov 11 '26 16:11 averageencoreenjoer