Open TriforceOfKirby opened 9 years ago
I am not sure you can use OS-level commands to resolve the fonts used by Brackets. Brackets itself is not a native Linux app, it's a web app running inside a version of Chromium. I don't think fc-match is even reliable. I am running with Inconsolata Medium as my system font and fs-match monospace returns DejaVuMono. In Brackets I put I put Inconsolata before the Source Code Pro and all is good.
Well in Google Chrome's font settings, I am able to pick "Monospace"(as well as "Sans" and "Serif") from the list of fonts and it will use my system's monospace font(in my case Roboto Mono). The same is true for a number of other applications.
So would it be possible to perhaps change the font settings of the Chromium browser that Brackets runs in?
DejaVuMono was the default monospace font on my system as well; I changed it to Roboto Mono using a config file located in ~/.config/fontconfig/fonts.conf
.
I changed my font settings to be simply "monospace" expecting that it would use my system's monospace font. If I run
fc-match monospace
in the terminal, it returnsRobotoMono-Regular.ttf: "Roboto Mono" "Regular"
. This font is distinguishable by having a slashed 0; however, Brackets has a dotted 0 with this setting, indicating that it's using a different font. Changing the font to "'Roboto Mono', monospace" works as expected.Info: Brackets Version: Release 1.3 experimental build 1.3.0-16022 (release cd0a6aae5) Operating System: Ubuntu 15.04 64-bit