How to increase the font size of method trace view in Android Studio?

I figure out they just hardcoded font size to 8. So there is only a very weird solution with patching Android Studio jar files.

Steps:

  1. Find /Applications/Android Studio.app/Contents/plugins/android/lib/sdk-tools.jar
  2. Copy it somewhere else(do not forget to make a backup in case something goes wrong).
  3. Unzip it and pick com/android/tools/perflib/vmtrace/viz/CallHierarchyRenderer.class
  4. Take any hex editor and replace byte sequence 0504 4100 with 0504 4180 (actually, you replace 8 in class constant pool with 24)
  5. Pack modified class back jar uf sdk-tools.jar com/android/tools/perflib/vmtrace/viz/CallHierarchyRenderer.class
  6. Copy patched sdk-tools.jar back to its original location

Before Before

After After