package ru.dbotthepony.kstarbound.client.freetype

enum class LoadFlag(val value: Long) {
	DEFAULT                      (0x0),
	NO_SCALE                     ( 1L shl 0 ),
	NO_HINTING                   ( 1L shl 1 ),
	RENDER                       ( 1L shl 2 ),
	NO_BITMAP                    ( 1L shl 3 ),
	VERTICAL_LAYOUT              ( 1L shl 4 ),
	FORCE_AUTOHINT               ( 1L shl 5 ),
	CROP_BITMAP                  ( 1L shl 6 ),
	PEDANTIC                     ( 1L shl 7 ),
	IGNORE_GLOBAL_ADVANCE_WIDTH  ( 1L shl 9 ),
	NO_RECURSE                   ( 1L shl 10 ),
	IGNORE_TRANSFORM             ( 1L shl 11 ),
	MONOCHROME                   ( 1L shl 12 ),
	LINEAR_DESIGN                ( 1L shl 13 ),
	NO_AUTOHINT                  ( 1L shl 15 ),

	/* Bits 16-19 are used by `FT_LOAD_TARGET_` */
	COLOR                        ( 1L shl 20 ),
	COMPUTE_METRICS              ( 1L shl 21 ),
	BITMAP_METRICS_ONLY          ( 1L shl 22 ),
}
