belluzj / fantasque-sans

A font family with a great monospaced variant for programmers.
http://openfontlibrary.org/en/font/fantasque-sans-mono
SIL Open Font License 1.1
7.05k stars 155 forks source link

Some mathematical characters #36

Open KarolS opened 10 years ago

KarolS commented 10 years ago

Examples:

belluzj commented 10 years ago

The math signs section in UTF-8 is so big, I have no idea where to start, and what characters are really used by coders, so I will add characters on demand, such as the not equal sign that I just added. If you find yourself using other characters, please let me know and I will add them.

As for fractions, I suppose I won't get good-looking fractions if I don't spend some time designing good-looking sub and sup numbers. The current fractions for 1/4, 1/2 and 3/4 use a scaled-down version of the normal numbers, which I believe is not really leggible and appears much lighter than the rest of the font. So fractions will come when later, with good looking small numbers.

KarolS commented 10 years ago

I requested fractions or eight because they were the only characters I could type on standard Polish keyboard layout on Ubuntu 12.04 which were not available (I don't remember typing them on any other purpose than testing though), and I suggested the not-equals sign simply as one of most common mathematical operators.

kirach commented 10 years ago

Hi @belluzj! Thank you so much for your font - it's my favourite font:) I wanted to create a separate issue but then I found this one and decided to write mo thoughts here. About special math\programming characters. Please, take a look at this project: https://github.com/tonsky/FiraCode (and also https://github.com/i-tu/Hasklig). It's a fork of Fira font with all the special characters which are so useful for programmers. May be it will be helpful for you and you will find some ideas. Peace!

belluzj commented 10 years ago

@kiRach Thanks for the kind words :) However ligatures are not in my plans for this font, sorry. I don't use Haskell and I wouldn't understand how to make those well (and it's tiring to ask other people for reviews of glyphs I don't know well - about that, it looks like you are Russian, so you may have interesting comments to make on the Cyrillic characters I'm adding), plus I find that monospaced code with all its quirks has a charm that those ligatures take away.

About the original issue, I made some small numbers and updated the ugly scaled-down fractions that were already present (will commit soon when I advance on Cyrillic), but I did not add the new ones that @KarolS requested. Maybe later.

tannhuber commented 9 years ago

Ligatures are also used by pdftotext. My favourite file manager uses pdftotext for a quick file preview.

MovGP0 commented 8 years ago

i would not start with fractions. base operators like root, scalar product dot, cross product, sums, integrals, nabla and delta, existencequantor and allquantor, set operators and inequalities, logic operators, and scalable paranthesis/brackets are most important.

MovGP0 commented 8 years ago

the Neo2 keyboard layout sums up most important greek and math symbols. might be handy to take a look at it.

ClearlyClaire commented 6 years ago

Hi! Thanks for your hard work and for the nice font! Unfortunately, it lacks a few glyphs to properly render my code. Those glyphs are ∀, ∃, ∧ and ∨. It would be really nice if those were included!

MovGP0 commented 6 years ago

@belluzj

I have no idea … what characters are really used by coders

When writing mathematical software, we use most of them.