<commit_before>package ttf

//#cgo windows LDFLAGS: -lSDL2 -lSDL2_ttf
//#cgo darwin LDFLAGS: -framework SDL2 -framework SDL2_ttf
//#cgo linux freebsd pkg-config: sdl2
//#cgo linux freebsd LDFLAGS: -lSDL2_ttf
//#include <stdlib.h>
//#if defined(__APPLE__)
//#include <SDL2_ttf/SDL_ttf.h>
//#else
//#include <SDL2/SDL_ttf.h>
//#endif
//void Do_TTF_SetError(const char *str) {
//    TTF_SetError(str);
//}
import "C"
import "github.com/veandco/go-sdl2/sdl"
import "unsafe"
import "errors"

//Font Hinting Types
const (
	HINTING_NORMAL = int(C.TTF_HINTING_NORMAL)
	HINTING_LIGHT  = int(C.TTF_HINTING_LIGHT)
	HINTING_MONO   = int(C.TTF_HINTING_MONO)
	HINTING_NONE   = int(C.TTF_HINTING_NONE)
)

//Font Style Types
const (
	STYLE_NORMAL        = 0
	STYLE_BOLD          = 0x01
	STYLE_ITALIC        = 0x02
	STYLE_UNDERLINE     = 0x04
	STYLE_STRIKETHROUGH = 0x08<commit_msg>Fixed CFLAG and LDFLAG refs for OSX Macports install of SDL2_ttf<commit_after>package ttf

//#cgo darwin CFLAGS: -I/opt/local/include/
//#cgo windows LDFLAGS: -lSDL2 -lSDL2_ttf
//#cgo darwin LDFLAGS: -L/opt/local/lib/ -lSDL2 -lSDL2_ttf
//#cgo linux freebsd pkg-config: sdl2
//#cgo linux freebsd LDFLAGS: -lSDL2_ttf
//#include <stdlib.h>
//#include <SDL2/SDL_ttf.h>
//void Do_TTF_SetError(const char *str) {
//    TTF_SetError(str);
//}
import "C"
import "github.com/veandco/go-sdl2/sdl"
import "unsafe"
import "errors"

//Font Hinting Types
const (
	HINTING_NORMAL = int(C.TTF_HINTING_NORMAL)
	HINTING_LIGHT  = int(C.TTF_HINTING_LIGHT)
	HINTING_MONO   = int(C.TTF_HINTING_MONO)
	HINTING_NONE   = int(C.TTF_HINTING_NONE)
)

//Font Style Types
const (
	STYLE_NORMAL        = 0
	STYLE_BOLD          = 0x01
	STYLE_ITALIC        = 0x02
	STYLE_UNDERLINE     = 0x04
	STYLE_STRIKETHROUGH = 0x08
{'fraction_non_alphanumeric': 0.12450028555111364, 'fraction_numerical': 0.025128498001142203, 'mean_word_length': 3.634920634920635, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2596752', 'n_tokens_mistral': 853, 'n_tokens_neox': 784, 'n_words': 152}