| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
KB.Text.Shape.FFI.Enums
Synopsis
- pattern BLOB_VERSION_CURRENT :: BlobVersion
- pattern BLOB_VERSION_INITIAL :: BlobVersion
- pattern BLOB_VERSION_INVALID :: BlobVersion
- pattern DIRECTION_DONT_KNOW :: Direction
- pattern DIRECTION_LTR :: Direction
- pattern DIRECTION_RTL :: Direction
- pattern FONT_INFO_STRING_ID_COPYRIGHT :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_COUNT :: Int
- pattern FONT_INFO_STRING_ID_DESIGNER :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_FAMILY :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_FULL_NAME :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_MANUFACTURER :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_NONE :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_POSTSCRIPT_NAME :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_SUBFAMILY :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_TRADEMARK :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_TYPOGRAPHIC_FAMILY :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_TYPOGRAPHIC_SUBFAMILY :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_UID :: FontInfoStringId
- pattern FONT_INFO_STRING_ID_VERSION :: FontInfoStringId
- pattern FONT_WEIGHT_BLACK :: FontWeight
- pattern FONT_WEIGHT_BOLD :: FontWeight
- pattern FONT_WEIGHT_EXTRA_BOLD :: FontWeight
- pattern FONT_WEIGHT_EXTRA_LIGHT :: FontWeight
- pattern FONT_WEIGHT_LIGHT :: FontWeight
- pattern FONT_WEIGHT_MEDIUM :: FontWeight
- pattern FONT_WEIGHT_NORMAL :: FontWeight
- pattern FONT_WEIGHT_SEMI_BOLD :: FontWeight
- pattern FONT_WEIGHT_THIN :: FontWeight
- pattern FONT_WEIGHT_UNKNOWN :: FontWeight
- pattern FONT_WIDTH_CONDENSED :: FontWidth
- pattern FONT_WIDTH_EXPANDED :: FontWidth
- pattern FONT_WIDTH_EXTRA_CONDENSED :: FontWidth
- pattern FONT_WIDTH_EXTRA_EXPANDED :: FontWidth
- pattern FONT_WIDTH_NORMAL :: FontWidth
- pattern FONT_WIDTH_SEMI_CONDENSED :: FontWidth
- pattern FONT_WIDTH_SEMI_EXPANDED :: FontWidth
- pattern FONT_WIDTH_ULTRA_CONDENSED :: FontWidth
- pattern FONT_WIDTH_ULTRA_EXPANDED :: FontWidth
- pattern FONT_WIDTH_UNKNOWN :: FontWidth
- pattern JAPANESE_LINE_BREAK_STYLE_LOOSE :: JapaneseLineBreakStyle
- pattern JAPANESE_LINE_BREAK_STYLE_NORMAL :: JapaneseLineBreakStyle
- pattern JAPANESE_LINE_BREAK_STYLE_STRICT :: JapaneseLineBreakStyle
- pattern JOINING_FEATURE_FIN2 :: UnicodeJoiningFeature
- pattern JOINING_FEATURE_FIN3 :: UnicodeJoiningFeature
- pattern JOINING_FEATURE_FINA :: UnicodeJoiningFeature
- pattern JOINING_FEATURE_INIT :: UnicodeJoiningFeature
- pattern JOINING_FEATURE_ISOL :: UnicodeJoiningFeature
- pattern JOINING_FEATURE_MED2 :: UnicodeJoiningFeature
- pattern JOINING_FEATURE_MEDI :: UnicodeJoiningFeature
- pattern LOAD_FONT_ERROR_COULD_NOT_OPEN_FILE :: LoadFontError
- pattern LOAD_FONT_ERROR_INVALID_FONT :: LoadFontError
- pattern LOAD_FONT_ERROR_NEED_TO_CREATE_BLOB :: LoadFontError
- pattern LOAD_FONT_ERROR_NONE :: LoadFontError
- pattern LOAD_FONT_ERROR_OUT_OF_MEMORY :: LoadFontError
- pattern LOAD_FONT_ERROR_READ_ERROR :: LoadFontError
- pattern SHAPE_ERROR_GAVE_TEXT_BEFORE_CALLING_BEGIN :: ShapeError
- pattern SHAPE_ERROR_INVALID_FONT :: ShapeError
- pattern SHAPE_ERROR_NONE :: ShapeError
- pattern SHAPE_ERROR_OUT_OF_MEMORY :: ShapeError
- pattern TEXT_FORMAT_NONE :: TextFormat
- pattern TEXT_FORMAT_UTF32 :: TextFormat
- pattern TEXT_FORMAT_UTF8 :: TextFormat
- pattern UNICODE_JOINING_TYPE_DUAL :: UnicodeJoiningType
- pattern UNICODE_JOINING_TYPE_FORCE :: UnicodeJoiningType
- pattern UNICODE_JOINING_TYPE_LEFT :: UnicodeJoiningType
- pattern UNICODE_JOINING_TYPE_NONE :: UnicodeJoiningType
- pattern UNICODE_JOINING_TYPE_RIGHT :: UnicodeJoiningType
- pattern UNICODE_JOINING_TYPE_TRANSPARENT :: UnicodeJoiningType
- pattern USER_ID_GENERATION_MODE_CODEPOINT_INDEX :: UserIdGenerationMode
- pattern USER_ID_GENERATION_MODE_SOURCE_INDEX :: UserIdGenerationMode
- pattern VERSION_1_X :: Version
- pattern VERSION_2_0 :: Version
- pattern VERSION_CURRENT :: Version
- newtype BlobVersion = BlobVersion Word32
- newtype Direction = Direction Word32
- newtype FontInfoStringId = FontInfoStringId Int
- newtype FontWeight = FontWeight Word32
- newtype FontWidth = FontWidth Word32
- newtype JapaneseLineBreakStyle = JapaneseLineBreakStyle Word8
- newtype LoadFontError = LoadFontError Word32
- newtype ShapeError = ShapeError Word32
- newtype TextFormat = TextFormat Word32
- newtype UnicodeJoiningFeature = UnicodeJoiningFeature Word8
- newtype UnicodeJoiningType = UnicodeJoiningType Word8
- newtype UserIdGenerationMode = UserIdGenerationMode Word32
- newtype Version = Version Word32
- module KB.Text.Shape.FFI.Enums.FeatureTag
- module KB.Text.Shape.FFI.Enums.Language
- module KB.Text.Shape.FFI.Enums.Script
Documentation
pattern BLOB_VERSION_CURRENT :: BlobVersion Source #
pattern BLOB_VERSION_INITIAL :: BlobVersion Source #
pattern BLOB_VERSION_INVALID :: BlobVersion Source #
pattern DIRECTION_DONT_KNOW :: Direction Source #
pattern DIRECTION_LTR :: Direction Source #
pattern DIRECTION_RTL :: Direction Source #
pattern FONT_INFO_STRING_ID_COPYRIGHT :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_COUNT :: Int Source #
pattern FONT_INFO_STRING_ID_DESIGNER :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_FAMILY :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_FULL_NAME :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_MANUFACTURER :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_NONE :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_SUBFAMILY :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_TRADEMARK :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_UID :: FontInfoStringId Source #
pattern FONT_INFO_STRING_ID_VERSION :: FontInfoStringId Source #
pattern FONT_WEIGHT_BLACK :: FontWeight Source #
pattern FONT_WEIGHT_BOLD :: FontWeight Source #
pattern FONT_WEIGHT_EXTRA_BOLD :: FontWeight Source #
pattern FONT_WEIGHT_EXTRA_LIGHT :: FontWeight Source #
pattern FONT_WEIGHT_LIGHT :: FontWeight Source #
pattern FONT_WEIGHT_MEDIUM :: FontWeight Source #
pattern FONT_WEIGHT_NORMAL :: FontWeight Source #
pattern FONT_WEIGHT_SEMI_BOLD :: FontWeight Source #
pattern FONT_WEIGHT_THIN :: FontWeight Source #
pattern FONT_WEIGHT_UNKNOWN :: FontWeight Source #
pattern FONT_WIDTH_CONDENSED :: FontWidth Source #
pattern FONT_WIDTH_EXPANDED :: FontWidth Source #
pattern FONT_WIDTH_EXTRA_CONDENSED :: FontWidth Source #
pattern FONT_WIDTH_EXTRA_EXPANDED :: FontWidth Source #
pattern FONT_WIDTH_NORMAL :: FontWidth Source #
pattern FONT_WIDTH_SEMI_CONDENSED :: FontWidth Source #
pattern FONT_WIDTH_SEMI_EXPANDED :: FontWidth Source #
pattern FONT_WIDTH_ULTRA_CONDENSED :: FontWidth Source #
pattern FONT_WIDTH_ULTRA_EXPANDED :: FontWidth Source #
pattern FONT_WIDTH_UNKNOWN :: FontWidth Source #
pattern JAPANESE_LINE_BREAK_STYLE_LOOSE :: JapaneseLineBreakStyle Source #
Loose style is used for newspapers, and (I assume) any other narrow column format.
pattern JAPANESE_LINE_BREAK_STYLE_NORMAL :: JapaneseLineBreakStyle Source #
Normal style is used for books and documents.
pattern JAPANESE_LINE_BREAK_STYLE_STRICT :: JapaneseLineBreakStyle Source #
The Unicode standard does not define what strict style is used for. Supposedly, it is used for anything that does not fall into the other two categories of text.
pattern JOINING_FEATURE_FIN2 :: UnicodeJoiningFeature Source #
pattern JOINING_FEATURE_FIN3 :: UnicodeJoiningFeature Source #
pattern JOINING_FEATURE_FINA :: UnicodeJoiningFeature Source #
pattern JOINING_FEATURE_INIT :: UnicodeJoiningFeature Source #
pattern JOINING_FEATURE_ISOL :: UnicodeJoiningFeature Source #
pattern JOINING_FEATURE_MED2 :: UnicodeJoiningFeature Source #
pattern JOINING_FEATURE_MEDI :: UnicodeJoiningFeature Source #
pattern LOAD_FONT_ERROR_COULD_NOT_OPEN_FILE :: LoadFontError Source #
pattern LOAD_FONT_ERROR_INVALID_FONT :: LoadFontError Source #
pattern LOAD_FONT_ERROR_NEED_TO_CREATE_BLOB :: LoadFontError Source #
pattern LOAD_FONT_ERROR_NONE :: LoadFontError Source #
pattern LOAD_FONT_ERROR_OUT_OF_MEMORY :: LoadFontError Source #
pattern LOAD_FONT_ERROR_READ_ERROR :: LoadFontError Source #
pattern SHAPE_ERROR_INVALID_FONT :: ShapeError Source #
pattern SHAPE_ERROR_NONE :: ShapeError Source #
pattern SHAPE_ERROR_OUT_OF_MEMORY :: ShapeError Source #
pattern TEXT_FORMAT_NONE :: TextFormat Source #
pattern TEXT_FORMAT_UTF32 :: TextFormat Source #
pattern TEXT_FORMAT_UTF8 :: TextFormat Source #
pattern UNICODE_JOINING_TYPE_DUAL :: UnicodeJoiningType Source #
pattern UNICODE_JOINING_TYPE_FORCE :: UnicodeJoiningType Source #
pattern UNICODE_JOINING_TYPE_LEFT :: UnicodeJoiningType Source #
pattern UNICODE_JOINING_TYPE_NONE :: UnicodeJoiningType Source #
pattern UNICODE_JOINING_TYPE_RIGHT :: UnicodeJoiningType Source #
pattern VERSION_1_X :: Version Source #
pattern VERSION_2_0 :: Version Source #
pattern VERSION_CURRENT :: Version Source #
newtype BlobVersion Source #
Constructors
| BlobVersion Word32 |
Instances
Instances
| Storable Direction Source # | |
Defined in KB.Text.Shape.FFI.Enums | |
| Show Direction Source # | |
| Eq Direction Source # | |
| Ord Direction Source # | |
newtype FontInfoStringId Source #
Constructors
| FontInfoStringId Int |
Instances
| Show FontInfoStringId Source # | |
Defined in KB.Text.Shape.FFI.Enums Methods showsPrec :: Int -> FontInfoStringId -> ShowS # show :: FontInfoStringId -> String # showList :: [FontInfoStringId] -> ShowS # | |
| Eq FontInfoStringId Source # | |
Defined in KB.Text.Shape.FFI.Enums Methods (==) :: FontInfoStringId -> FontInfoStringId -> Bool # (/=) :: FontInfoStringId -> FontInfoStringId -> Bool # | |
| Ord FontInfoStringId Source # | |
Defined in KB.Text.Shape.FFI.Enums Methods compare :: FontInfoStringId -> FontInfoStringId -> Ordering # (<) :: FontInfoStringId -> FontInfoStringId -> Bool # (<=) :: FontInfoStringId -> FontInfoStringId -> Bool # (>) :: FontInfoStringId -> FontInfoStringId -> Bool # (>=) :: FontInfoStringId -> FontInfoStringId -> Bool # max :: FontInfoStringId -> FontInfoStringId -> FontInfoStringId # min :: FontInfoStringId -> FontInfoStringId -> FontInfoStringId # | |
newtype FontWeight Source #
Constructors
| FontWeight Word32 |
Instances
Instances
| Storable FontWidth Source # | |
Defined in KB.Text.Shape.FFI.Enums | |
| Show FontWidth Source # | |
| Eq FontWidth Source # | |
newtype JapaneseLineBreakStyle Source #
Japanese text contains "kinsoku" characters, around which breaking a line is forbidden. Exactly which characters are "kinsoku" or not depends on the context: - Strict style has the largest amount of kinsoku characters, which leads to longer lines. - Loose style has the smallest amount of kinsoku characters, which leads to smaller lines. - Normal style is somewhere in the middle. Note that, while the Unicode standard mentions all three of these styles, it does not mention any differences between the normal and loose styles. As such, normal and loose styles currently behave the same.
Constructors
| JapaneseLineBreakStyle Word8 |
Instances
newtype LoadFontError Source #
Constructors
| LoadFontError Word32 |
Instances
newtype ShapeError Source #
Constructors
| ShapeError Word32 |
Instances
newtype TextFormat Source #
Constructors
| TextFormat Word32 |
Instances
newtype UnicodeJoiningFeature Source #
Constructors
| UnicodeJoiningFeature Word8 |
Instances
newtype UnicodeJoiningType Source #
Constructors
| UnicodeJoiningType Word8 |
Instances
newtype UserIdGenerationMode Source #
Constructors
| UserIdGenerationMode Word32 |
Instances
Instances
| Storable Version Source # | |
| Show Version Source # | |
| Eq Version Source # | |
| Ord Version Source # | |
Defined in KB.Text.Shape.FFI.Enums | |