Giter VIP home page Giter VIP logo

haskell-opentype's People

Contributors

kuribas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

robrix

haskell-opentype's Issues

Build failure with ghc 8.8

ghc 8.8 & its corresponding base have finally finished extracting fail from Monad, which has resulted in a build failure:

Opentype/Fileformat/Name.hs:87:24: error:
    • No instance for (MonadFail (Either String))
        arising from a use of ‘fail’
    • In the second argument of ‘($)’, namely
        ‘fail "Unsupported name table format."’
      In a stmt of a 'do' block:
        when (version > 0) $ fail "Unsupported name table format."
      In the expression:
        do version <- index16 bs 0
           when (version > 0) $ fail "Unsupported name table format."
           len <- index16 bs 1
           storage <- index16 bs 2
           ....
   |
87 |   when (version > 0) $ fail "Unsupported name table format."
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Failure loading Bitstream Vera

Attempting to load the open source font Bitstream Vera fails with the following error:

user error: string storage bounds exceeded

I believe the problem is that the offset test incorrectly fails because the length of the bytestring for a nametable is greater than 2^16, and thus when it’s converted to Word16, it wraps around to a smaller value.

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.