Giter Club home page Giter Club logo

Comments (2)

readroberts avatar readroberts commented on June 24, 2024

I am sure that the code can be removed. The autohint code has not had anything beyond point fixes since about 1992, so there is no one who can report original intent anymore. However, I looked at all DEBUG macros, and there is no difference between the effect of DEBUG=1 and DEBUG = 0. I think it is also pretty clear that there was an original branch with only the code that is still present, but which now commented out in the (DEBUG==0) branch. The next step was adding the code which is now in the DEBUG==1 branch. The final step was commenting out the original code in the (DEBUG==0) branch, and adding the same code as in the (DEBUG==1) branch. I speculate that the developer chose to keep the two branches and the commented out code in order to make it easier to revert to the original code if some problem showed up, but never bothered to do the final clean up. I suspect that source code control in 1986-1991 was pretty basic and it may not have been not easy to switch between versions.

from afdko.

miguelsousa avatar miguelsousa commented on June 24, 2024

I believe this has been fixed. The current version of cswrite.c doesn't have those lines.

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.