Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/englerj/odin-freetype
Odin bindings for FreeType
https://github.com/englerj/odin-freetype
Last synced: 18 days ago
JSON representation
Odin bindings for FreeType
- Host: GitHub
- URL: https://github.com/englerj/odin-freetype
- Owner: englerj
- License: mit
- Created: 2021-10-08T00:37:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-02T12:17:26.000Z (6 months ago)
- Last Synced: 2024-06-02T13:36:16.270Z (6 months ago)
- Language: Odin
- Size: 1.65 MB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-odin - Freetype - freetype/blob/main/LICENSE) | Graphics, Text, Gamedev (Bindings / Vendor)
README
# odin-freetype
[Odin](https://github.com/odin-lang/Odin) bindings for [FreeType](https://www.freetype.org/index.html).Freetype Version: 2.13.2
_**Note:** This is a work in progress. If additional bindings are required, please feel free to submit an issue or a pull request._
## Installation
Clone this repository to Odin's shared collection, preferably into a directory named 'freetype'.```bash
cd Odin/shared
git clone https://github.com/englerj/odin-freetype.git freetype
```## Usage
Import the package.
```c
import "shared:freetype"
```## Demo
On Windows, you can run the demo under the `demo` folder. The demo renders a series of characters from a font and displays them in the window. You can adjust the size of the font using the arrow keys.
```bash
cd demo
odin run .\
```