Coder Social home page Coder Social logo

Fill bucket problems about typerig HOT 4 CLOSED

kateliev avatar kateliev commented on July 17, 2024
Fill bucket problems

from typerig.

Comments (4)

tphinney avatar tphinney commented on July 17, 2024

Yes, using the Fill tool turns on a "fill" filter that enables what I call "fancy fill effects." Using scissors tool can also trigger a fill filter.

In a single-master font, this can be nice. But it is not compatible with variations.

To manually turn off the filter, do Element > Remove Filter.

from typerig.

twardoch avatar twardoch commented on July 17, 2024

Fill is compatible with variations as long as the dynamically flattened results match. When you use fill, the dynamically flattened results have overlaps removed — so if you use Fill in one master but you don’t use Fill in another (but you have overlaps there), then they don’t match. But if you use Fill well in all masters, the results match. In FLVI, with any filter (like smart corners, Fill, Glue), master matching and interpolation are done after flattening, i.e. on the final outlines.

from typerig.

tphinney avatar tphinney commented on July 17, 2024

OK, so the filter is compatible with variations IF it is used in all masters, AND the results are compatible in all masters. But in many cases, if the results were compatible in all masters, I probably wouldn't have needed the fill in the first place.

Does the compatibility flag check for this issue?

from typerig.

twardoch avatar twardoch commented on July 17, 2024

You don't need to use the filter in all masters. It just matters that the final contours match.

If a filter is used, the final contours are the flattened outlines (with overlaps removed).

If no filter is used, then it's just the normal contours you see. If those contours have overlaps, then the masters won't match because the master with a filter has (from the matching pov) no overlaps while the master that has no filter has overlaps.

If there is a filter, the contours for matching are obtained dynamically and there is no guarantee that the sequence of contours or nodes match with a simple layer, since you don't have control over the order of the final contours and nodes in a layer that uses a filter.

In that case, turning one or both options in Font Info > Variations may help to get from red (no match) to yellow (loose match i.e. those options are resorting stuff to make the match).

It's hard to tell anything more with setting a specific example.

from typerig.

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.