-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Code editor font makes me cry (with Russian / Cyrillic text) #3465
Comments
@ainop SourceCodePro is loaded from disk by Brackets using However, it looks like SourceCodePro doesn't support Cyrillic characters yet: adobe-fonts/source-code-pro#48. Feel free to comment on that issue so the font team knows you're interested! In the meantime... there's no way in the Brackets UI to customize fonts yet. But if you're comfortable hacking the code a bit, you can edit www/styles/brackets_theme_default.less and change the |
Adding 'tracking' tag since adobe-fonts/source-code-pro#48 covers the root issue. Clarifying issue title. |
Should we consider adding Consolas as a fallback? If the Cyrillic glyphs aren't actually in Source Code Pro, maybe that would just work. |
Also, @ainop, we're very sorry we made you cry! |
We'd have to be careful about what order Consolas vs. the Asian-language fonts go in since we still want fallback to work there too... but it might be doable. (And of course we'd need to pick an equivalent new fallback option for Mac... was it Lucida Console that we used to use?). |
It looks like our Mac font fallback was |
Thanks a lot, guys! I'll patch my setup. |
Reviewed. Medium priority to me. Might nominate it next sprint. |
Waiting for a great font. |
Oh, my issue! =) |
Current solution: https://github.com/adobe/brackets/wiki/Customize-Your-Code-Font |
How about selecting the font based on user's language? Atleast as default fonts for user. |
after installing new sprint i don't know where I can change russian font now? |
@progreccor there is a great extension out there: https://github.com/tirithen/brackets-fonts, it provides a simple UI for changing fonts! ☕ PT Mono is pretty sweet. btw, there is russian community for Brackets: http://vk.com/bracketsio |
@progreccor #3465 (comment) (updated) @luzlol this extension does not support cyrillic (missing &subset=latin,cyrillic). Source: https://github.com/adobe/brackets/wiki/Customize-Your-Code-Font |
@romanov in fact it does, I've recorded a screencast for you =) http://www.youtube.com/watch?v=AOuBDLvoDgU |
Update: it looks like Cyrillic and Greek support are underway for both Source Code Pro and Source Sans Pro. Here are the relevant issues: adobe-fonts/source-code-pro#48, adobe-fonts/source-sans#6. It looks like Source Sans Pro is done and will be shipping in the next update; not sure about Source Code Pro, but as of a month ago it looks like it was on its way as well. |
(To clarify: Source Sans Pro is what we use in our UI; Source Code Pro is our editor font.) |
@njx |
"Navigate to .CodeMirror and change font-family to any font with normal cyrillic support" |
@baursak 4th match:
|
Thanks. - Will keep it for 0.42 :) - In the meantime I have substituted all the "SourceCodePro" related phrases to "Consolas,monospace" (7 times in total). - It still works OK with Russian. - Great editor! |
@baursak @romanov Modifying your source code locally is fragile, and you'll have to redo it every time you upgrade Brackets. The workaround listed at the top of this page is much preferred: https://github.com/adobe/brackets/wiki/Customize-Your-Code-Font. (I'll edit the description to make it easier to spot). @romanov Do you mind if I edit your post above to reduce the font size so it's not as prominent? We probably don't want to encourage people to use that approach too much. Also note: in the very near future (release 0.42 or 0.43), you should be able to change your code editor font as a setting directly within the Brackets UI, without any hacks needed. |
@peterflynn edited. Good news about the settings! Yes, the extension is better solution for now. |
#11301 With latest source code pro addresses this issue. |
@abose The latest ttf fonts displays the characters nicely. Updating the SS for both MAC and WIn |
Updated source code pro has support for Russian / Cyrillic text. Closing. |
Workaround: How to switch to a different code font
I have no 'SourceCodePro' and Russian text looks awfully in "MS ゴシック" and "MS Gothic" (which is default according to developer tools). Is there way to set custom font in editor view?
sprint 23 experimental build 0.23.0-6726 (master 6908b48), Windows7
The text was updated successfully, but these errors were encountered: