Giter Site home page Giter Site logo

Comments (4)

stephanemagnenat avatar stephanemagnenat commented on June 23, 2024 1

Maybe compile a simple FreeType program that reads in the files and prints the kerning values?

The program ttfdump might help with that. I just run across a similar problem. I guess the problem might be that the font only have GPOS table and not the kern table (it's the case with Roboto for example). It seems that Freetype does not support the GPOS table. A work around is to open the font in fontforge and re-export it with kern table. I hope it helps!

from msdf-atlas-gen.

Chlumsky avatar Chlumsky commented on June 23, 2024

Are you sure the font actually has kerning pairs? If the FT call returns zero but shouldn't, then maybe you need to submit the issue to FreeType developers.

from msdf-atlas-gen.

gurki avatar gurki commented on June 23, 2024

Thanks for the quick reply! I've tried several fonts with kerning (e.g. Source Sans Pro) and verified the font converting it using other tools. Seems like a "doesn't work on my machine"-thing then I suppose. I'll reach out to the FreeType devs and will update this issue when there's a resolution. Cheers.

from msdf-atlas-gen.

jnhyatt avatar jnhyatt commented on June 23, 2024

FreeType doesn't support every time of kerning. Maybe compile a simple FreeType program that reads in the files and prints the kerning values?

from msdf-atlas-gen.

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.