diff options
author | Joe Wilm <joe@jwilm.com> | 2016-02-21 15:20:03 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-02-21 15:20:03 -0800 |
commit | 2a7dc1deb825f9f1db6de8b50656ef420ff41a44 (patch) | |
tree | e7206c9a4187232bccee88ee7cfa5e1d14ecbad4 /src/main.rs | |
parent | 621776cd94890936b24f3abb8b7ec1f36dad9150 (diff) | |
download | r-alacritty-2a7dc1deb825f9f1db6de8b50656ef420ff41a44.tar.gz r-alacritty-2a7dc1deb825f9f1db6de8b50656ef420ff41a44.tar.bz2 r-alacritty-2a7dc1deb825f9f1db6de8b50656ef420ff41a44.zip |
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!).
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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!"); } |