GithubHelp home page GithubHelp logo

sergio391 / fixzerohandles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mekkablue/fixzerohandles

0.0 2.0 0.0 188 KB

Glyphs filter for automatically fixing Illustrator's retracted BCPs.

License: Apache License 2.0

Python 97.29% Shell 2.71%

fixzerohandles's Introduction

FixZeroHandles.glyphsFilter

This is a plugin for the Glyphs font editor by Georg Seifert. It analyzes the path structure of selected layers and will rearrange path segments that contain completely retracted handles, a.k.a. ‘zero handles’. Zero handles typically appear in outlines imported from other vector apps, such as Adobe Illustrator. Zero handles are considered bad style, or even an error, and can cause a range of problems, especially when you are trying to convert your outlines to TrueType curves.

Fixing Zero Handles: Before and After.

Installation of this filter will add the menu item Filter > Fix Zero Handles. You can set a keyboard shortcut in System Preferences.

Installation

  1. Download the complete ZIP file and unpack it, or clone the repository.
  2. Double click the .glyphsFilter file. Confirm the dialog that appears in Glyphs.
  3. Restart Glyphs

Usage Instructions

  1. Open a glyph in Edit View, or select any number of glyphs in Font or Edit View.
  2. Choose Filter > Fix Zero Handles.

Alternatively, you can also use it as a custom parameter in an instance:

Property: Filter
Value: GlyphsFilterFixZeroHandles;

At the end of the parameter value, you can hang exclude: or include:, followed by a comma-separated list of glyph names. This will apply the filter only to the included glyphs, or the glyphs not excluded, respectively.

Requirements

The plugin needs Glyphs 1.4.3 or higher, running on OS X 10.7 or later. I can only test it in current OS versions, and I assume it will not work in versions of Mac OS X older than 10.7.

License

Copyright 2014 Rainer Erich Scheichelbauer (@mekkablue). Based on sample code by Georg Seifert (@schriftgestalt).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file 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.