fantasque-sans icon indicating copy to clipboard operation
fantasque-sans copied to clipboard

Some mathematical characters

Open KarolS opened this issue 10 years ago • 9 comments

Examples:

  • vulgar fractions: mostly ⅛⅜⅝⅞, but ⅐⅑⅒⅓⅔⅖⅗⅘⅙⅚ would be nice too
  • “not equal” sign U+2260 ≠

KarolS avatar Jul 29 '14 00:07 KarolS

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.

belluzj avatar Aug 22 '14 13:08 belluzj

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.

KarolS avatar Aug 22 '14 17:08 KarolS

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!

kirach avatar Nov 13 '14 18:11 kirach

@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.

belluzj avatar Nov 13 '14 19:11 belluzj

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

tannhuber avatar May 12 '15 08:05 tannhuber

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 avatar Feb 12 '16 10:02 MovGP0

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

MovGP0 avatar Feb 12 '16 11:02 MovGP0

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!

ClearlyClaire avatar Jan 23 '18 13:01 ClearlyClaire

@belluzj

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

When writing mathematical software, we use most of them.

MovGP0 avatar Jan 23 '18 13:01 MovGP0