Giter Site home page Giter Site logo

openup or spread option about cloze HOT 2 OPEN

josef-friedrich avatar josef-friedrich commented on June 29, 2024
openup or spread option

from cloze.

Comments (2)

Josef-Friedrich avatar Josef-Friedrich commented on June 29, 2024

Indeed, a “spread” option would be a nice enhancement for this package. Could you help to implement it? Could you provide a pull request?

Any thoughts how to implement? My thoughts: Register the pre_linebreak_filter callback and add after each glyph a kern node.

from cloze.

FrankMittelbach avatar FrankMittelbach commented on June 29, 2024

Indeed, a “spread” option would be a nice enhancement for this package.
Can you help to implement it? Can you provide a pull request?

sorry, no time, too many other projects

Any thoughts how to implement? My thoughts: Register the
|pre_linebreak_filter| callback and add after each glyph a kern node.

that would give letter spacing (with its own ugliness) but yes that
could be an option.

I was originally thinking more of measuring the widths of the cloze,
calculate the spread width and then simply put half of that to the left
and right of the cloze if the text is typeset (or distributed across all
word spaces)

from cloze.

Related Issues (10)

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.