MacOS console font broken
Description
This is what my console font looks like on MacOS, this is going on for ages. Tried reinstalling but didn't fix.
Example Match ID (and possibly Timestamp)
No response
Screenshots
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/
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>
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
- Close Dota 2 completely.
- Navigate to your Dota 2 installation directory:
dota 2 beta/game/core/panorama/fonts/
- Open
fonts.confin a text editor. - Find this line:
<dir>WINDOWSFONTDIR</dir>
- 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>
- 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!