The normal font-weight in Sublime Text was always bold.
Now it is really thin and i cant work with that. Can I change it back to what it was before ?
I have not changed anything, it just changed after i rebooted my macbook.
Thanks, Mottenmann
Bold Text. Use double asterisks to show text as bold, or strong.
If you want to change the font size then simply follow. Preferences-> Default File preferences. After find Font properties like font Courier New 12 we (recommend to use CTRL+F) then change size of it. Click save and instantly you can see the changes.
font-weight can also fail to work if the font you are using does not have those weights in existence – you will often hit this when embedding custom fonts. In those cases the browser will likely round the number to the closest weight that it does have available. For example, if I embed the following font...
Same thing happened to me. Sublime Text 2 suddenly changed to having a super thin font on my Mac.
Add
Mac:
"font_options":["no_round"],
PC:
"font_options":["bold"],
to
A simpler approach would be to simply add the weight name to the font_face
(ie for medium use "Medium", for light use "Light", etc)
Before:
{
"font_face": "Source Code Pro",
"font_size": 16.0,
}
After:
{
"font_face": "Source Code Pro Light",
"font_size": 16.0,
}
The font "Source Code" comes in ExtraLight, Light, Medium, Regular, etc. And if you want use the Light version, appending the font-weight along with the font_face will work.
p.s. try Source Code Pro or Inconsolata. They are the best coding fonts till date.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With