Giter Site home page Giter Site logo

confusify's Introduction

Confusables

A collection of GlyphsApp scripts to »Confusify« any given font as well as sample fonts to download and use under their respective licences.

A confusable is a glyph that is so similar to another that it may be confused for it. ſ for f, Ꮟ for b or strung together as 5໐meтhiתg 1ıк℮ τհiՏ.

Confusify.py generates fonts that when typed automatically swap confusables for the original. All confusables generated are existing characters in the source font. In that sense it's a remix.

The original reference list of similar-to characters is downloadable from unicode.org.

Confusify.py

Where the action happens. The script analyses an open font for potential confusables against the abridged local list confusables-list-short.txt. If successful it will generate .calt contextual alternates for each as well as the necessary opentype classes and feature. You can then export the font as you see fit.

Conf-makelist.py was used to strip the source reference down from 600kb to 40kb. I then manually abridged the resulting file further to save on processing. The pre-abridged file confusables-sorted.txt contains lists for a wider range of scripts beyond latin should that interest you. It's worth nothing that you could roll-your-own confusables by editing the list by hand. I found some questionable choices inside the list but have chosen to interpret the data as I found it.

The larger the glyph set the more confusables and confused the text will be. In order to see the effect in action you must have contextual alternates enabled software. scripts.sil.org is a great place to find useable fonts under the Open Font License.

The boat just about floats. Please report all bugs, comments and feature requests via GitHub.

Thanks to Georg Seifert for a critical bux fix. I made more than liberal use of Rainer Erich Scheichelbauer's script Beowulferize.py to generate the opentype code.

License

Copyright 2019 Luke Prowse. Licensed under the Apache License, Version 2.0 (the "License"); you may not use the software provided here except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

See the License file included in this repository for further details.

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.