Giter VIP home page Giter VIP logo

truety's Introduction

Truety

A small TrueType font rendering library.

Features

  • Hinting
    • The bytecode interpreter (hinter) is designed to match the results produced by FreeType's V40 Interpreter (with backward compatibility enabled).
  • Small and easy to use
    • Consists of a single header file and a single source file.
    • No dependencies (besides the C standard library).
    • Should compile with any C11 compiler.
  • Supports TrueType (.ttf) files and OpenType (.otf) files that contain TrueType outlines.

Limitations

  • Some things are not fully implemented yet
    • Only ~75% of bytecode instructions have been implemented so far.
    • Not all supported encoding formats provided by the cmap table are handled yet.
    • The vmtx table is not currently used even if it is present.
  • There is limited error checking:
    • This library does not adequately validate the integrity of font files. For this reason, it should only be used with trusted font files.
  • Unicode is the only supported character encoding.

Acknowledgements

FreeType and stb_truetype are two other font rendering libraries that served as great references while creating Truety.

truety's People

Contributors

samb11011 avatar

Stargazers

Thomas Leary avatar dani avatar  avatar Jan Ringoš avatar Matt Bush avatar Erdem Ersoy avatar Bocke avatar Michael (misc147) avatar Samuel Gomes avatar May the source be with you avatar Keith Chambers avatar

Watchers

 avatar

Forkers

dosworld

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.