Giter Site home page Giter Site logo

[BUG] Fonts not bundled with release about exo HOT 5 CLOSED

deref avatar deref commented on May 11, 2024
[BUG] Fonts not bundled with release

from exo.

Comments (5)

brandonbloom avatar brandonbloom commented on May 11, 2024 1

My main issue was the ligatures. I wasn't aware of the toggle. Thanks for pointing that out.

We can use this font, but according to the license we must provide notice:

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

We'd have to put a license in to a NOTICE.md file in the root of the repository, as well as provide some way to access it in the GUI as well. For example, see chrome://terms/or about:license in Firefox.

from exo.

brandonbloom avatar brandonbloom commented on May 11, 2024 1

That's fine too. It also requires a NOTICE entry.

from exo.

brandonbloom avatar brandonbloom commented on May 11, 2024

So I was about to take this off your plate & went looking to see what font we're using. Looks like Fira Code, but that's one of those weird fonts with fancy ligatures. I think folks have pretty strong preferences both in favor and against these ligatures. I don't think we should use Fira Code by default because of this.

@jwmza Can you pick a different font please?

My advice would be to select one from https://fonts.google.com/

  1. Double check the license. It should be "Open Font License" (which I think is all of them on Google Fonts, but not 100% sure)
  2. Select multiple styles (bold, italic, etc) as needed. See the little window/+ icon thing in the top-right corner to bring the right panel out as like a shopping cart.
  3. At the bottom of that shopping cart thing, click "Download all", and just put those in the ./gui/public directory and css @import or whatever like any other embedded image.
  4. Then open a PR :) and I'll help you double-check. It's probably going to be 1-5MiB of stuff, so we don't want to include that in the repo unless we're confident it's right, b/c that version will be in ever clone forever :)

from exo.

jrysana avatar jrysana commented on May 11, 2024

@brandonbloom there's a CSS toggle for ligatures on/off - Fira Code is a really good code font, license here: https://github.com/tonsky/FiraCode/blob/master/LICENSE

I think we should use Fira Code and default ligatures off with an optional switch potentially added later. Is there a reason other than ligatures you'd be against it?

from exo.

jrysana avatar jrysana commented on May 11, 2024

Sounds good, I'll get these bundled.

Presumably we are all good with "Inter" as the sans serif font of choice @brandonbloom ?
https://rsms.me/inter/ https://github.com/rsms/inter/blob/master/LICENSE.txt

from exo.

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.