# Fonts in VS Code

**URL:** https://discourse.julialang.org/t/fonts-in-vs-code/59312
**Category:** VS Code
**Created:** [April 15, 2021, 2:06am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312 "2021-04-15T02:06:01Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![amrods](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amrods/32/2543_2.png) [@amrods](https://discourse.julialang.org/u/amrods)
#### Post date: [April 15, 2021, 2:06am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/1 "2021-04-15T02:06:02Z")

</div>

I started using Visual Studio Code in Windows. I noticed that the “hat” (the [circumflex](https://en.wikipedia.org/wiki/Circumflex) mark) is not placed on top of Greek letters, but on the side. It is properly placed for Latin letters. Does anyone know how to fix that?

---

<div class="post-metadata">

### Author: ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)
#### Post date: [April 15, 2021, 2:42am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/2 "2021-04-15T02:42:15Z")

</div>

What font are you using. I use Cascadia code from MS and all unicode chracters seems to work great.

---

<div class="post-metadata">

### Author: ![amrods](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amrods/32/2543_2.png) [@amrods](https://discourse.julialang.org/u/amrods)
#### Post date: [April 15, 2021, 2:45am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/3 "2021-04-15T02:45:22Z")

</div>

`Consolas, 'Courier New', monospace`. I’ll try Cascadia.

Edit: Nope, still the same problem.

---

<div class="post-metadata">

### Author: ![amrods](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amrods/32/2543_2.png) [@amrods](https://discourse.julialang.org/u/amrods)
#### Post date: [April 15, 2021, 2:49am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/4 "2021-04-15T02:49:32Z")

</div>

I fixed it by using JuliaMono.

---

<div class="post-metadata">

### Author: ![ckhead](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@ckhead](https://discourse.julialang.org/u/ckhead)
#### Post date: [April 26, 2022, 5:13pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/5 "2022-04-26T17:13:01Z")

</div>

I had been using Fira Code because it seemed to be highly recommended, but found that \chi was almost indistinguishable from X. My model has both so this was a problem for following the code. JuliaMono seems much better for Greek letters.

---

<div class="post-metadata">

### Author: ![tapyu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tapyu/32/37182_2.png) [@tapyu](https://discourse.julialang.org/u/tapyu)
#### Post date: [August 28, 2022, 1:43am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/6 "2022-08-28T01:43:35Z")

</div>

JuliaMono does not show the `:bulb: ` character. Does anybody have an alternative?

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [August 28, 2022, 1:51am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/7 "2022-08-28T01:51:26Z")

</div>

Sure, write `bulb`.

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [August 28, 2022, 1:53am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/8 "2022-08-28T01:53:16Z")

</div>

Renewed appeal to Julia users: stick to the least common denominator, ASCII characters, please.  
Not everyone will have your setup, with fancy fonts and such, and some characters can be and will be confused or misinterpreted (or, indeed, invisible).

---

<div class="post-metadata">

### Author: ![tapyu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tapyu/32/37182_2.png) [@tapyu](https://discourse.julialang.org/u/tapyu)
#### Post date: [August 28, 2022, 1:53am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/9 "2022-08-28T01:53:51Z")

</div>

I got it

 ![image](https://global.discourse-cdn.com/julialang/original/3X/a/d/adf5616d949df508405840a81b4c0719f1ceffc8.png)

---

<div class="post-metadata">

### Author: ![tapyu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tapyu/32/37182_2.png) [@tapyu](https://discourse.julialang.org/u/tapyu)
#### Post date: [August 28, 2022, 1:59am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/10 "2022-08-28T01:59:00Z")

</div>

> [@PetrKryslUCSD](#):
>
> stick to the least common denominator, ASCII characters please. Not everyone will have your setup

Nice, But this code is just mine. I not going to share it. So I am not concern about other setups…

---

<div class="post-metadata">

### Author: ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)
#### Post date: [August 28, 2022, 2:05am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/11 "2022-08-28T02:05:31Z")

</div>

> [@PetrKryslUCSD](#):
>
> Not everyone will have your setup

You can’t blame Julia developers for someone else having a misconfigured development environment.

Installing fonts isn’t such a big issue, except when trying to develop Julia on some ancient machine of the kind which can’t even run Julia…

> [@PetrKryslUCSD](#):
>
> ASCII characters, please

Way too restrictive. Consider that UTF-8 was already invented and in use about thirty years ago. Perhaps some parts of Unicode should be stylistically off-limits, but you’ve got to be more reasonable.

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [August 28, 2022, 5:43am UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/12 "2022-08-28T05:43:11Z")

</div>

The coloured characters are provided by an “emoji font”, not the main font like Fira Code or JuliaMono. It will be something like “Apple Color Emoji”, “Segoe UI Emoji”, or “Noto Color Emoji”, depending on the OS. I don’t why they wouldn’t appear, though.

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [August 28, 2022, 2:52pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/13 "2022-08-28T14:52:33Z")

</div>

This isn’t about misconfigured environments. Just check how many times  
there have been threads about fonts and the appearance of code in this forum.

Why don’t you do a little test: give your code to 10 of your friends. If any one of them  
cannot read every single character of your code, it is probably making too optimistic assumptions about  
using unusual characters.

---

<div class="post-metadata">

### Author: ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)
#### Post date: [August 28, 2022, 4:05pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/14 "2022-08-28T16:05:18Z")

</div>

Not necessarily. You could also be assuming that some of them won’t be able to read every character, and be fine with that.

---

<div class="post-metadata">

### Author: ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)
#### Post date: [August 28, 2022, 4:26pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/15 "2022-08-28T16:26:58Z")

</div>

What’s stopping the friend from installing the necessary fonts? I don’t know about Windows, Mac and others; but on Archlinux (and other Linux distros) mantaining font packages isn’t something I (as an user) have to worry about at all.

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [August 28, 2022, 4:37pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/16 "2022-08-28T16:37:53Z")

</div>

Petr’s ongoing crusade to stop people using Unicode in Julia is quite laudable, in a way - but I think it’s a losing battle, since - _de gustibus non est disputandum_. 😀

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [August 28, 2022, 5:30pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/17 "2022-08-28T17:30:41Z")

</div>

I am hopeful that people will realize the loss of portability and increased cognitive burden due to their use of all sorts of “cute” symbols once the novelty has worn off. 🙂

---

<div class="post-metadata">

### Author: ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)
#### Post date: [August 28, 2022, 5:54pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/18 "2022-08-28T17:54:31Z")

</div>

Better notation leads to _decreased_ cognitive burden.

Unicode is not a cute novelty, but a genuine improvement.

(Perhaps it is easier to see it as just a novelty if your language and your personal name has no ‘cute foreign’ symbols.)

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [August 28, 2022, 5:56pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/19 "2022-08-28T17:56:08Z")

</div>

If I had an umlaut in my name, I still wouldn’t think it wise to foist it on other people.  
But to really address your point, consider the speakers of Mandarin. Imagine  
how portable their source code would be if they insisted on writing in chinese characters.  
I am learning Chinese, but there is no way I could understand code that uses the characters.  
Similarly, if I insisted on giving variables Czech names (including all the diacritical symbols),  
I might make it possibly convenient for Czech speakers, but I would have severely limited the legibility of the code to everybody else.

---

<div class="post-metadata">

### Author: ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)
#### Post date: [August 28, 2022, 6:52pm UTC](https://discourse.julialang.org/t/fonts-in-vs-code/59312/20 "2022-08-28T18:52:10Z")

</div>

You are missing that you can use unicode strategically to improve legibility. Like replacing `sin_theta` with `sinθ`. It improves legibility dramatically, especially in complicated expressions.

Those whose setups do not support Greek characters will just have to muddle through. Sorry.

[Next page](https://discourse.julialang.org/t/fonts-in-vs-code/59312.md?page=2)
