From 2a7dc1deb825f9f1db6de8b50656ef420ff41a44 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sun, 21 Feb 2016 15:20:03 -0800 Subject: Add function for listing font names on linux This function isn't exactly useful, but it's working ffi with the fontconfig library. Woo! Next step will be returning some objects with more information (like font path so we can start rendering glyphs!). --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index e7a11a96..66be9b34 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,9 @@ +extern crate fontconfig; +extern crate freetype; +extern crate libc; + +mod list_fonts; + fn main() { println!("Hello, world!"); } -- cgit