Skip to content

A rust library for shaping, placing, and rasterizing text primarily for Basalt.

License

Notifications You must be signed in to change notification settings

AustinJ235/ilmenite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Many features are incomplete. This crate is a WIP!

A rust library for shaping, placing, and rasterizing text primarily for Basalt.

let ilmenite = Ilmenite::new();

ilmenite.add_font(ImtFont::from_file(
	"MyFont",
	ImtWeight::Normal, 
	ImtRasterOps::default(),
	device,
	queue,
	"MyFont.ttf"
).unwrap());

let glyphs = ilmenite.glyphs_for_text(
	"MyFont",
	ImtWeight::Normal,
	12.0,
	None,
	"Hello World!"
).unwrap();

About

A rust library for shaping, placing, and rasterizing text primarily for Basalt.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages