Commit Graph

26 Commits

Author SHA1 Message Date
Brian J. Burg 2b306ea65a Convert to use CGFont binding. 2012-11-16 15:18:47 -08:00
Brian J. Burg ea18d1d473 Implement AbstractCFType::type_id(). Switch to use CFTypeRef::downcast(). 2012-11-16 14:30:17 -08:00
Brian J. Burg a3f597bbbc Move CTFont static methods outside of trait/impl. 2012-11-16 11:20:32 -08:00
Brian J. Burg 598187ce5b Rewrite the Core Foundation wrapper system. 2012-11-16 10:58:22 -08:00
Brian J. Burg 4914947bb5 Support enumeration of faces per font family. Add workarounds for bug in Apple's CTFontCollectionCreateMatchingFontDescriptors. 2012-11-14 14:34:15 -08:00
Brian J. Burg 4c38ba65d4 Add constructor for making CTFonts by (postscript) name. 2012-11-12 19:21:47 -08:00
Brian J. Burg dab5176896 Add API for getting font table data from CTFonts. 2012-11-12 14:07:17 -08:00
Brian J. Burg 7a42dc503a Add binding for CTFontCreateCopyWithAttributes; expose via wrapper with clone_with_font_size() 2012-11-12 11:04:46 -08:00
Brian J. Burg 9c398db2b0 Make CTFontCollection.get_descriptors() pure. 2012-11-09 17:43:13 -08:00
Brian J. Burg 0b37b31edb Debug the rest of font traits. 2012-11-09 15:12:20 -08:00
Brian J. Burg 3447665bc6 Add accessors for CTFont names; start debugging symbolic traits; fix duplicate to_CGFont method used by rust-azure. 2012-11-09 11:04:24 -08:00
Patrick Walton 7a82d824c5 Botched merge 2012-11-08 19:59:31 -08:00
Patrick Walton 833fed1d93 Add a binding to CTFontCopyGraphicsFont 2012-11-08 19:32:54 -08:00
Brian J. Burg 6fde783391 Add some more bindings for CTFont, especially for getting out font names. 2012-11-08 19:13:32 -08:00
Brian J. Burg 29baa9c4e1 Add CTFont bindings that we already use. 2012-11-08 18:29:52 -08:00
Brian J. Burg aa6fb82a73 Flesh out some more name-attribute getters in CTFontDescriptor. 2012-11-08 16:21:56 -08:00
Brian J. Burg c1450887c2 Add font_path(), and debug_descriptor() 2012-11-08 15:23:01 -08:00
Brian J. Burg 03050d5d81 Add CTFontCollection::get_descriptocrs, and bind CTFontCollectionGetTypeID. 2012-11-08 09:42:58 -08:00
Brian J. Burg a12d1d023d Implement CTFontDescriptor::family_name(). 2012-11-08 09:22:48 -08:00
Brian J. Burg c2a49dab0b make clean should remove the test binary. 2012-11-08 09:22:09 -08:00
Brian J. Burg 9119482c91 Update for CF bindings changes. 2012-11-02 18:42:12 -07:00
Brian J. Burg 7de2f045b2 Add CTFontCollection::new() 2012-11-02 17:19:23 -07:00
Brian J. Burg d3f19703e9 Add a ton of stubs and bindings. Add CTFont wrapper type. Add CTFontCollection and CTFontDescriptor. 2012-11-02 16:22:10 -07:00
Brian J. Burg 2d142a2baf Start adding bindings for CTFontDescriptor and CTFontManager. 2012-11-01 19:43:04 -07:00
Brian J. Burg 21ad07b922 Fix compilation errors. 2012-10-19 14:22:46 -07:00
Brian J. Burg 616c216871 Initial commit. 2012-10-19 14:01:14 -07:00