Closed hkongm closed 10 years ago
Ah, this is funny you are bringing this up. I was working with one fellah and he had added the ability to set the line height. We ran into problems where brackets will set line heights in pixels causing font sizes to get out of sync when they are set in Themes. Currently, line height is at 1.3em default. Let me think about this for a minute. I am leaning towards adding the setting back in, but keeping it detached from Brackets line height pixel settings.
Hey @hkongm, one our fine contributors has just added a field to set the line height. https://github.com/MiguelCastillo/Brackets-Themes/pull/49 Let me know if this would work for ya.
It's done. thanks.
English: Hi!!! It's true, its so easy, its like configure a text in web, i writed these settings in brackets.min.css, the zoom is quite ugly and hard to read, in order to resolve it, I set two styles properties: font-weight: 100!important; and line-height:1.6, this makes clear and easy to read!!!!
Español: Hola, el zoom de Brackets es muy malo, para resolverlo edité el archivo brackets.min.css, y edité .CodeMirror en la carpeta www/styles con los siguientes estilos, la clave es el peso de la fuente font-weight: 100!important;:
.CodeMirror {
line-height:1.6;
font-family:"SourceCodePro-Medium","MS ゴシック","MS Gothic",monospace;//like sublime text
font-weight: 100!important; //this make the text clear and easy to read!
}
These are the results:
This is easier to read than the brackets zoom default:
@jesuscmd Yup, I saw that in the Brackets post. I will post back in that thread. BTW, it would be easier if you had referenced this issue in the other thread instead of copying the content of the message. That helps because you can navigate between both conversations by clicking on a link :)
Resolve the problem :
1 - go to : AppData\Roaming\Brackets\extensions\user\FolderExtention
2 - Go to newtondark.css for example for me.
3 - add this line :
.CodeMirror { line-height: 1.6; }
4 - Be happy !
There is setting in new version, that's awesome! But the line height is weird when I change the default font-size in setting. How do I change the line-height? Or you can set both of font-size and line-height in font. Like font:18px/1.5em arial Thanks.