Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelrsweet/ttf
TrueType/OpenType Font Library
https://github.com/michaelrsweet/ttf
Last synced: 4 months ago
JSON representation
TrueType/OpenType Font Library
- Host: GitHub
- URL: https://github.com/michaelrsweet/ttf
- Owner: michaelrsweet
- License: apache-2.0
- Created: 2021-06-12T01:34:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-09T19:33:36.000Z (4 months ago)
- Last Synced: 2024-10-13T08:44:12.197Z (4 months ago)
- Language: C
- Homepage: https://www.msweet.org/ttf/
- Size: 4.03 MB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-typography - ttf - TrueType/OpenType Font Library. (C)
README
TTF - TrueType/OpenType Font Library
====================================TTF is a simple C library for using TrueType and OpenType font files.
Requirements
------------You'll need a C compiler.
How to Incorporate in Your Project
----------------------------------Add the `ttf.c` and `ttf.h` files to your project. Include the `ttf.h`
header in any file that needs to read font files."Kicking the Tires"
-------------------The supplied makefile allows you to build the unit tests on Linux and macOS (at
least), which verify that all of the functions work as expected to read some
sample font files in the `testfiles` directory:make test
Resources
---------The "ttf.html" file contains some simple HTML documentation for the library.
Legal Stuff
-----------Copyright © 2018-2024 by Michael R Sweet.
TTF is licensed under the Apache License Version 2.0 with an exception to
allow linking against GPL2/LGPL2 software (like older versions of CUPS). See
the files "LICENSE" and "NOTICE" for more information.