Code Monkey home page Code Monkey logo

Comments (3)

arrowtype avatar arrowtype commented on June 2, 2024

Hey @matj1, are you literally using the unicode characters for these double arrows (⇐ ⇑ ⇒ ⇓), or are you using code ligatures? Out of curiosity, which language are you programming in?

Just to check, this isn’t solved by the recent PR to the rec code config project, is it? arrowtype/recursive-code-config#25

from recursive.

matj1 avatar matj1 commented on June 2, 2024

I am using literal Unicode arrows. The font is Recursive Sans Linear Static, so it is unrelated to the configurator. Rather, this issue made me discover the configurator.

The language is Scala. The example was made to show different Unicode arrows and how their styles don't match. I found the issue in different code.

Later, I found out that Unicode arrows are deprecated in Scala, but I use them in a personal project, so I use them anyway.

from recursive.

arrowtype avatar arrowtype commented on June 2, 2024

Okay, thanks for the follow-up, that is very helpful.

To be honest, it takes a large amount of time (multiple hours) to add a single glyph to Recursive, because it actually requires drawing that glyph 12–24 times (depending whether it is similar or different along the MONO axis. Double arrows would be quicker to add than a more complex glyph (something with more curves, like an fleuron or something), but they would still take quite a bit of time. So, unless I am commissioned to do so, I can’t generally invest that time into a free project. I am open for commissions, but this kind of project mostly comes from companies, rather than individuals.

If you do want to use Recursive in your project, but also have support for double arrows, I recommend finding a fallback font that matches the spacing and general sizing of Recursive. Because Recursive doesn’t have those glyphs, it will allow the fallback font to appear, and this can look pretty good. Fonts that can work pretty well are IBM Plex Mono (great for e.g. Cyrillic) and Source Code Pro (which includes double arrows). Both of these have similar monospace widths and similar overall sizing / “vertical” metrics like x-height and cap height.

Hope that helps!

from recursive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.