Giter Club home page Giter Club logo

Comments (3)

readroberts avatar readroberts commented on July 22, 2024

This is due to a bug in the 'tx' program, which does not use these fields from the UFO fontinfo.plist file. Easy to fix: uforead.c:setFontDictKey() needs two more if-else cases. Will fix this when I next get back to working on the FDK, in a few weeks. The only work-around is to patch these values in the final OTF, wit a tool like ttx.

from afdko.

readroberts avatar readroberts commented on July 22, 2024

On looking to this, I think it not appropriate to change current behavior. The real issue is that 'tx' operates on only Type1/Type 2 related information. It is not a OpenType reader/writer: it is a Type1/Type2/CFF font reader/writer. It happens to work with OpenType fonts as input, but reads only the table, and can output only info from the CFF table. The UFO font format contains a lot of meta data which is outside the set of data contained in a Type1/Type2 font - and is in fact, a superset of the OpenType data. I coudl certainly add support to carry through the fields openTypeOS2StrikeoutSize/ openTypeOS2StrikeoutPosition from a UFO font as input, but that really doesn't make sense all by itself - if we take 'tx' down this path, it should pass through all the meta data for both UFO and OTF, whcih is really outside its scope

from afdko.

typemytype avatar typemytype commented on July 22, 2024

thanks for clarifying

from afdko.

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.