I installed my favorite programming editor font - Inconsolata - on my Macbook Pro, but I can't seem to get it working in Android Studio. I've confirmed that the font works correctly on eclipse, so it is definitely installed correctly.
In the Android Studio options, it just shows a bunch of strange boxed A characters. If I select the font, my entire editor becomes boxed A characters.
Anyone know how to make this font work in Android Studio?
答案 0 :(得分:5)
答案 1 :(得分:0)
在Android Studio编辑器中更改字体的最简单方法如下:
第1步:转到目录C:\ Program Files \ Android \ Android Studio \ jre \ jre \ lib \ fonts
第2步:粘贴扩展名为.ttf的字体,即自定义字体的(True Type字体)文件。
第3步:打开Android Studio,然后通过“文件”菜单中的设置/常规/字体设置字体。但是,请确保您必须重新打开Android Studio(如果已打开)。