Giter VIP home page Giter VIP logo

Comments (14)

kevinSuttle avatar kevinSuttle commented on May 29, 2024 1

Cool. I'll take a look.

from codeface.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

I like that idea. Have a suggestion about how best to do so? Simple flag next to typeface name?

from codeface.

 avatar commented on May 29, 2024

Maybe group them together in the list, and/or include the ligatures in the font specimen? Might be tricky since they all don't have the same ligatures. However, maybe examples like the ones above could be usedβ€”ones that represent common programming character groupings.

Fira Code does a ton of that. https://github.com/tonsky/FiraCode
https://github.com/tonsky/FiraCode/blob/master/distr/specimen.html

screen shot 2017-07-21 at 2 25 46 pm

from codeface.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

Interested in contributing to this effort? We can definitely update the specimen across fonts to demonstrate examples of commonly used ligatures across all of the fonts. Problem is, I don't know if our rendering approach will print the ligatures in the images. If successful, would be a way for those who like ligatures to compare appearance / alignment issues across all fonts in the collection.

from codeface.

 avatar commented on May 29, 2024

Yeah for sure. What do you need?

from codeface.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

Will check the specimen over the weekend. My thought would be to add a single line of commonly used ligature combinations as the final line of the specimen. Perhaps you could PR in the ligature glyph combinations that are the most commonly used/most important for comparison of fonts as that line in the specimen?

from codeface.

kevinSuttle avatar kevinSuttle commented on May 29, 2024

Sounds good!

from codeface.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

Here is our main README page text specimen file that we use to build the specimen images.

https://github.com/chrissimpkins/codeface/blob/master/samplecode/test-pattern.txt

Want to PR in one line in that file with what you view as most commonly used glyph combinations that are re-formatted as source code ligatures? We can try to re-generate all of the images with our script and see if it accounts for the ligatures features code in the fonts that include it. If not, we may be stuck for specimen display and an alternative would be a badge(?) next to the name of fonts that include ligatures.

from codeface.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

I suppose the goal here would be to demonstrate breadth of support for ligatures that are used across programming languages rather than a purely language specific use situation if possible.

from codeface.

kevinSuttle avatar kevinSuttle commented on May 29, 2024

So, the "in one line" could prove an issue.
Check out all the ligatures here:

https://github.com/tonsky/FiraCode/blob/master/showcases/all_ligatures.png

I got to:

-> --> ==> -> => <=< <=> >>- >>= <~> ~= != === !== && || >=<= <|| </> <!-- www && ?? !! i++ #### *** 0xFF := #! ;; 

and decided I should check with you first.

from codeface.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

showcase of ligatures isn't primary objective of the gallery, just a snapshot that shows commonly used ones would be my thought. let's stick with one line of what you feel are the best examples of broadly used ligatures.

from codeface.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

Merged! Includes badges for fonts that have ligature support. Thanks for contributing this @kevinSuttle! You have been added to our contributors list and dubbed 'The Ligature'.

πŸ‘

from codeface.

 avatar commented on May 29, 2024

Wow thanks, Chris! Super happy to be a part. Thanks for opening this up.

- Kevin "The Ligature" Suttle

from codeface.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

πŸ˜‰ thanks for your help to make it better!

from codeface.

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.