示例#1
0
func buildMonospace() ([]byte, error) {
	return buildFont(C.CTFontCreateUIFontForLanguage(C.kCTFontUserFixedPitchFontType, 0, nil)), nil
}
示例#2
0
func buildDefault() ([]byte, error) {
	return buildFont(C.CTFontCreateUIFontForLanguage(C.kCTFontSystemFontType, 0, nil)), nil
}