Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Alignment
- data AttrType
- = AttrTypeInvalid
- | AttrTypeLanguage
- | AttrTypeFamily
- | AttrTypeStyle
- | AttrTypeWeight
- | AttrTypeVariant
- | AttrTypeStretch
- | AttrTypeSize
- | AttrTypeFontDesc
- | AttrTypeForeground
- | AttrTypeBackground
- | AttrTypeUnderline
- | AttrTypeStrikethrough
- | AttrTypeRise
- | AttrTypeShape
- | AttrTypeScale
- | AttrTypeFallback
- | AttrTypeLetterSpacing
- | AttrTypeUnderlineColor
- | AttrTypeStrikethroughColor
- | AttrTypeAbsoluteSize
- | AttrTypeGravity
- | AttrTypeGravityHint
- | AttrTypeFontFeatures
- | AttrTypeForegroundAlpha
- | AttrTypeBackgroundAlpha
- | AttrTypeAllowBreaks
- | AttrTypeShow
- | AttrTypeInsertHyphens
- | AttrTypeOverline
- | AttrTypeOverlineColor
- | AttrTypeLineHeight
- | AttrTypeAbsoluteLineHeight
- | AttrTypeTextTransform
- | AttrTypeWord
- | AttrTypeSentence
- | AttrTypeBaselineShift
- | AttrTypeFontScale
- | AnotherAttrType Int
- data BaselineShift
- data BidiType
- = BidiTypeL
- | BidiTypeLre
- | BidiTypeLro
- | BidiTypeR
- | BidiTypeAl
- | BidiTypeRle
- | BidiTypeRlo
- | BidiTypePdf
- | BidiTypeEn
- | BidiTypeEs
- | BidiTypeEt
- | BidiTypeAn
- | BidiTypeCs
- | BidiTypeNsm
- | BidiTypeBn
- | BidiTypeB
- | BidiTypeS
- | BidiTypeWs
- | BidiTypeOn
- | BidiTypeLri
- | BidiTypeRli
- | BidiTypeFsi
- | BidiTypePdi
- | AnotherBidiType Int
- data CoverageLevel
- data Direction
- data EllipsizeMode
- data FontScale
- data Gravity
- data GravityHint
- data LayoutDeserializeError
- catchLayoutDeserializeError :: IO a -> (LayoutDeserializeError -> GErrorMessage -> IO a) -> IO a
- handleLayoutDeserializeError :: (LayoutDeserializeError -> GErrorMessage -> IO a) -> IO a -> IO a
- data Overline
- data RenderPart
- data Script
- = ScriptInvalidCode
- | ScriptCommon
- | ScriptInherited
- | ScriptArabic
- | ScriptArmenian
- | ScriptBengali
- | ScriptBopomofo
- | ScriptCherokee
- | ScriptCoptic
- | ScriptCyrillic
- | ScriptDeseret
- | ScriptDevanagari
- | ScriptEthiopic
- | ScriptGeorgian
- | ScriptGothic
- | ScriptGreek
- | ScriptGujarati
- | ScriptGurmukhi
- | ScriptHan
- | ScriptHangul
- | ScriptHebrew
- | ScriptHiragana
- | ScriptKannada
- | ScriptKatakana
- | ScriptKhmer
- | ScriptLao
- | ScriptLatin
- | ScriptMalayalam
- | ScriptMongolian
- | ScriptMyanmar
- | ScriptOgham
- | ScriptOldItalic
- | ScriptOriya
- | ScriptRunic
- | ScriptSinhala
- | ScriptSyriac
- | ScriptTamil
- | ScriptTelugu
- | ScriptThaana
- | ScriptThai
- | ScriptTibetan
- | ScriptCanadianAboriginal
- | ScriptYi
- | ScriptTagalog
- | ScriptHanunoo
- | ScriptBuhid
- | ScriptTagbanwa
- | ScriptBraille
- | ScriptCypriot
- | ScriptLimbu
- | ScriptOsmanya
- | ScriptShavian
- | ScriptLinearB
- | ScriptTaiLe
- | ScriptUgaritic
- | ScriptNewTaiLue
- | ScriptBuginese
- | ScriptGlagolitic
- | ScriptTifinagh
- | ScriptSylotiNagri
- | ScriptOldPersian
- | ScriptKharoshthi
- | ScriptUnknown
- | ScriptBalinese
- | ScriptCuneiform
- | ScriptPhoenician
- | ScriptPhagsPa
- | ScriptNko
- | ScriptKayahLi
- | ScriptLepcha
- | ScriptRejang
- | ScriptSundanese
- | ScriptSaurashtra
- | ScriptCham
- | ScriptOlChiki
- | ScriptVai
- | ScriptCarian
- | ScriptLycian
- | ScriptLydian
- | ScriptBatak
- | ScriptBrahmi
- | ScriptMandaic
- | ScriptChakma
- | ScriptMeroiticCursive
- | ScriptMeroiticHieroglyphs
- | ScriptMiao
- | ScriptSharada
- | ScriptSoraSompeng
- | ScriptTakri
- | ScriptBassaVah
- | ScriptCaucasianAlbanian
- | ScriptDuployan
- | ScriptElbasan
- | ScriptGrantha
- | ScriptKhojki
- | ScriptKhudawadi
- | ScriptLinearA
- | ScriptMahajani
- | ScriptManichaean
- | ScriptMendeKikakui
- | ScriptModi
- | ScriptMro
- | ScriptNabataean
- | ScriptOldNorthArabian
- | ScriptOldPermic
- | ScriptPahawhHmong
- | ScriptPalmyrene
- | ScriptPauCinHau
- | ScriptPsalterPahlavi
- | ScriptSiddham
- | ScriptTirhuta
- | ScriptWarangCiti
- | ScriptAhom
- | ScriptAnatolianHieroglyphs
- | ScriptHatran
- | ScriptMultani
- | ScriptOldHungarian
- | ScriptSignwriting
- | AnotherScript Int
- data Stretch
- data Style
- data TabAlign
- data TextTransform
- data Underline
- data Variant
- data Weight
- data WrapMode
Enumerations
Alignment
PangoAlignment
describes how to align the lines of a PangoLayout
within the available space.
If the PangoLayout
is set to justify using layoutSetJustify
,
this only affects partial lines.
See layoutSetAutoDir
for how text direction affects
the interpretation of PangoAlignment
values.
AlignmentLeft | Put all available space on the right |
AlignmentCenter | Center the line within the available space |
AlignmentRight | Put all available space on the left |
AnotherAlignment Int | Catch-all for unknown values |
Instances
Enum Alignment Source # | |
Defined in GI.Pango.Enums succ :: Alignment -> Alignment # pred :: Alignment -> Alignment # fromEnum :: Alignment -> Int # enumFrom :: Alignment -> [Alignment] # enumFromThen :: Alignment -> Alignment -> [Alignment] # enumFromTo :: Alignment -> Alignment -> [Alignment] # enumFromThenTo :: Alignment -> Alignment -> Alignment -> [Alignment] # | |
Show Alignment Source # | |
Eq Alignment Source # | |
Ord Alignment Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum Alignment Source # | |
Defined in GI.Pango.Enums | |
TypedObject Alignment Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Alignment Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Alignment Source # | |
Defined in GI.Pango.Enums |
AttrType
The PangoAttrType
distinguishes between different types of attributes.
Along with the predefined values, it is possible to allocate additional
values for custom attributes using AttrType.register
. The predefined
values are given below. The type of structure used to store the attribute is
listed in parentheses after the description.
AttrTypeInvalid | does not happen |
AttrTypeLanguage | language ([struct |
AttrTypeFamily | font family name list ([struct |
AttrTypeStyle | font slant style ([struct |
AttrTypeWeight | font weight ([struct |
AttrTypeVariant | font variant (normal or small caps) ([struct |
AttrTypeStretch | font stretch ([struct |
AttrTypeSize | font size in points scaled by |
AttrTypeFontDesc | font description ([struct |
AttrTypeForeground | foreground color ([struct |
AttrTypeBackground | background color ([struct |
AttrTypeUnderline | whether the text has an underline ([struct |
AttrTypeStrikethrough | whether the text is struck-through ([struct |
AttrTypeRise | baseline displacement ([struct |
AttrTypeShape | shape ([struct |
AttrTypeScale | font size scale factor ([struct |
AttrTypeFallback | whether fallback is enabled ([struct |
AttrTypeLetterSpacing | letter spacing ([struct |
AttrTypeUnderlineColor | underline color ([struct |
AttrTypeStrikethroughColor | strikethrough color ([struct |
AttrTypeAbsoluteSize | font size in pixels scaled by |
AttrTypeGravity | base text gravity ([struct |
AttrTypeGravityHint | gravity hint ([struct |
AttrTypeFontFeatures | OpenType font features ([struct |
AttrTypeForegroundAlpha | foreground alpha ([struct |
AttrTypeBackgroundAlpha | background alpha ([struct |
AttrTypeAllowBreaks | whether breaks are allowed ([struct |
AttrTypeShow | how to render invisible characters ([struct |
AttrTypeInsertHyphens | whether to insert hyphens at intra-word line breaks ([struct |
AttrTypeOverline | whether the text has an overline ([struct |
AttrTypeOverlineColor | overline color ([struct |
AttrTypeLineHeight | line height factor ([struct |
AttrTypeAbsoluteLineHeight | line height ([struct |
AttrTypeTextTransform | No description available in the introspection data. |
AttrTypeWord | override segmentation to classify the range of the attribute as a single word ([struct |
AttrTypeSentence | override segmentation to classify the range of the attribute as a single sentence ([struct |
AttrTypeBaselineShift | baseline displacement ([struct |
AttrTypeFontScale | font-relative size change ([struct |
AnotherAttrType Int | Catch-all for unknown values |
Instances
Enum AttrType Source # | |
Show AttrType Source # | |
Eq AttrType Source # | |
Ord AttrType Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum AttrType Source # | |
Defined in GI.Pango.Enums | |
TypedObject AttrType Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes AttrType Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes AttrType Source # | |
Defined in GI.Pango.Enums |
BaselineShift
data BaselineShift Source #
An enumeration that affects baseline shifts between runs.
Since: 1.50
BaselineShiftNone | Leave the baseline unchanged |
BaselineShiftSuperscript | Shift the baseline to the superscript position, relative to the previous run |
BaselineShiftSubscript | Shift the baseline to the subscript position, relative to the previous run |
AnotherBaselineShift Int | Catch-all for unknown values |
Instances
BidiType
Deprecated: (Since version 1.44)Use fribidi for this information
PangoBidiType
represents the bidirectional character
type of a Unicode character.
The values in this enumeration are specified by the Unicode bidirectional algorithm.
Since: 1.22
BidiTypeL | Left-to-Right |
BidiTypeLre | Left-to-Right Embedding |
BidiTypeLro | Left-to-Right Override |
BidiTypeR | Right-to-Left |
BidiTypeAl | Right-to-Left Arabic |
BidiTypeRle | Right-to-Left Embedding |
BidiTypeRlo | Right-to-Left Override |
BidiTypePdf | Pop Directional Format |
BidiTypeEn | European Number |
BidiTypeEs | European Number Separator |
BidiTypeEt | European Number Terminator |
BidiTypeAn | Arabic Number |
BidiTypeCs | Common Number Separator |
BidiTypeNsm | Nonspacing Mark |
BidiTypeBn | Boundary Neutral |
BidiTypeB | Paragraph Separator |
BidiTypeS | Segment Separator |
BidiTypeWs | Whitespace |
BidiTypeOn | Other Neutrals |
BidiTypeLri | Left-to-Right isolate. Since 1.48.6 |
BidiTypeRli | Right-to-Left isolate. Since 1.48.6 |
BidiTypeFsi | First strong isolate. Since 1.48.6 |
BidiTypePdi | Pop directional isolate. Since 1.48.6 |
AnotherBidiType Int | Catch-all for unknown values |
Instances
Enum BidiType Source # | |
Show BidiType Source # | |
Eq BidiType Source # | |
Ord BidiType Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum BidiType Source # | |
Defined in GI.Pango.Enums | |
TypedObject BidiType Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes BidiType Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes BidiType Source # | |
Defined in GI.Pango.Enums |
CoverageLevel
data CoverageLevel Source #
PangoCoverageLevel
is used to indicate how well a font can
represent a particular Unicode character for a particular script.
Since 1.44, only CoverageLevelNone
and CoverageLevelExact
will be returned.
CoverageLevelNone | The character is not representable with the font. |
CoverageLevelFallback | The character is represented in a way that may be comprehensible but is not the correct graphical form. For instance, a Hangul character represented as a a sequence of Jamos, or a Latin transliteration of a Cyrillic word. |
CoverageLevelApproximate | The character is represented as basically the correct graphical form, but with a stylistic variant inappropriate for the current script. |
CoverageLevelExact | The character is represented as the correct graphical form. |
AnotherCoverageLevel Int | Catch-all for unknown values |
Instances
Direction
PangoDirection
represents a direction in the Unicode bidirectional
algorithm.
Not every value in this enumeration makes sense for every usage of
PangoDirection
; for example, the return value of [funcunicharDirection
]
and [funcfindBaseDir
] cannot be PANGO_DIRECTION_WEAK_LTR
or
PANGO_DIRECTION_WEAK_RTL
, since every character is either neutral
or has a strong direction; on the other hand PANGO_DIRECTION_NEUTRAL
doesn't make sense to pass to [funcitemizeWithBaseDir
].
The PANGO_DIRECTION_TTB_LTR
, PANGO_DIRECTION_TTB_RTL
values come from
an earlier interpretation of this enumeration as the writing direction
of a block of text and are no longer used. See PangoGravity
for how
vertical text is handled in Pango.
If you are interested in text direction, you should really use fribidi
directly. PangoDirection
is only retained because it is used in some
public apis.
DirectionLtr | A strong left-to-right direction |
DirectionRtl | A strong right-to-left direction |
DirectionTtbLtr | Deprecated value; treated the
same as |
DirectionTtbRtl | Deprecated value; treated the
same as |
DirectionWeakLtr | A weak left-to-right direction |
DirectionWeakRtl | A weak right-to-left direction |
DirectionNeutral | No direction specified |
AnotherDirection Int | Catch-all for unknown values |
Instances
Enum Direction Source # | |
Defined in GI.Pango.Enums succ :: Direction -> Direction # pred :: Direction -> Direction # fromEnum :: Direction -> Int # enumFrom :: Direction -> [Direction] # enumFromThen :: Direction -> Direction -> [Direction] # enumFromTo :: Direction -> Direction -> [Direction] # enumFromThenTo :: Direction -> Direction -> Direction -> [Direction] # | |
Show Direction Source # | |
Eq Direction Source # | |
Ord Direction Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum Direction Source # | |
Defined in GI.Pango.Enums | |
TypedObject Direction Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Direction Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Direction Source # | |
Defined in GI.Pango.Enums |
EllipsizeMode
data EllipsizeMode Source #
PangoEllipsizeMode
describes what sort of ellipsization
should be applied to text.
In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis.
EllipsizeModeNone | No ellipsization |
EllipsizeModeStart | Omit characters at the start of the text |
EllipsizeModeMiddle | Omit characters in the middle of the text |
EllipsizeModeEnd | Omit characters at the end of the text |
AnotherEllipsizeMode Int | Catch-all for unknown values |
Instances
FontScale
An enumeration that affects font sizes for superscript and subscript positioning and for (emulated) Small Caps.
Since: 1.50
FontScaleNone | Leave the font size unchanged |
FontScaleSuperscript | Change the font to a size suitable for superscripts |
FontScaleSubscript | Change the font to a size suitable for subscripts |
FontScaleSmallCaps | Change the font to a size suitable for Small Caps |
AnotherFontScale Int | Catch-all for unknown values |
Instances
Enum FontScale Source # | |
Defined in GI.Pango.Enums succ :: FontScale -> FontScale # pred :: FontScale -> FontScale # fromEnum :: FontScale -> Int # enumFrom :: FontScale -> [FontScale] # enumFromThen :: FontScale -> FontScale -> [FontScale] # enumFromTo :: FontScale -> FontScale -> [FontScale] # enumFromThenTo :: FontScale -> FontScale -> FontScale -> [FontScale] # | |
Show FontScale Source # | |
Eq FontScale Source # | |
Ord FontScale Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum FontScale Source # | |
Defined in GI.Pango.Enums | |
TypedObject FontScale Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes FontScale Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes FontScale Source # | |
Defined in GI.Pango.Enums |
Gravity
PangoGravity
represents the orientation of glyphs in a segment
of text.
This is useful when rendering vertical text layouts. In those situations,
the layout is rotated using a non-identity [structpango
.Matrix], and then
glyph orientation is controlled using PangoGravity
.
Not every value in this enumeration makes sense for every usage of
PangoGravity
; for example, GravityAuto
only can be passed to
contextSetBaseGravity
and can only be returned by
contextGetBaseGravity
.
See also: GravityHint
Since: 1.16
GravitySouth | Glyphs stand upright (default) <img align="right" valign="center" src="m-south.png"> |
GravityEast | Glyphs are rotated 90 degrees counter-clockwise. <img align="right" valign="center" src="m-east.png"> |
GravityNorth | Glyphs are upside-down. <img align="right" valign="cener" src="m-north.png"> |
GravityWest | Glyphs are rotated 90 degrees clockwise. <img align="right" valign="center" src="m-west.png"> |
GravityAuto | Gravity is resolved from the context matrix |
AnotherGravity Int | Catch-all for unknown values |
Instances
Enum Gravity Source # | |
Show Gravity Source # | |
Eq Gravity Source # | |
Ord Gravity Source # | |
BoxedEnum Gravity Source # | |
Defined in GI.Pango.Enums | |
TypedObject Gravity Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Gravity Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Gravity Source # | |
Defined in GI.Pango.Enums |
GravityHint
data GravityHint Source #
PangoGravityHint
defines how horizontal scripts should behave in a
vertical context.
That is, English excerpts in a vertical paragraph for example.
See also Gravity
Since: 1.16
GravityHintNatural | scripts will take their natural gravity based on the base gravity and the script. This is the default. |
GravityHintStrong | always use the base gravity set, regardless of the script. |
GravityHintLine | for scripts not in their natural direction (eg. Latin in East gravity), choose per-script gravity such that every script respects the line progression. This means, Latin and Arabic will take opposite gravities and both flow top-to-bottom for example. |
AnotherGravityHint Int | Catch-all for unknown values |
Instances
LayoutDeserializeError
data LayoutDeserializeError Source #
Errors that can be returned by [funcpango
.Layout.deserialize].
Since: 1.50
LayoutDeserializeErrorInvalid | Unspecified error |
LayoutDeserializeErrorInvalidValue | A JSon value could not be interpreted |
LayoutDeserializeErrorMissingValue | A required JSon member was not found |
AnotherLayoutDeserializeError Int | Catch-all for unknown values |
Instances
catchLayoutDeserializeError :: IO a -> (LayoutDeserializeError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type LayoutDeserializeError
. This is a specialized version of catchGErrorJustDomain
.
handleLayoutDeserializeError :: (LayoutDeserializeError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type LayoutDeserializeError
. This is a specialized version of handleGErrorJustDomain
.
Overline
The PangoOverline
enumeration is used to specify whether text
should be overlined, and if so, the type of line.
Since: 1.46
OverlineNone | no overline should be drawn |
OverlineSingle | Draw a single line above the ink extents of the text being underlined. |
AnotherOverline Int | Catch-all for unknown values |
Instances
Enum Overline Source # | |
Show Overline Source # | |
Eq Overline Source # | |
Ord Overline Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum Overline Source # | |
Defined in GI.Pango.Enums | |
TypedObject Overline Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Overline Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Overline Source # | |
Defined in GI.Pango.Enums |
RenderPart
data RenderPart Source #
PangoRenderPart
defines different items to render for such
purposes as setting colors.
Since: 1.8
RenderPartForeground | the text itself |
RenderPartBackground | the area behind the text |
RenderPartUnderline | underlines |
RenderPartStrikethrough | strikethrough lines |
RenderPartOverline | overlines |
AnotherRenderPart Int | Catch-all for unknown values |
Instances
Script
The PangoScript
enumeration identifies different writing
systems.
The values correspond to the names as defined in the Unicode standard. See Unicode Standard Annex 24: Script names
Note that this enumeration is deprecated and will not be updated to include values
in newer versions of the Unicode standard. Applications should use the
UnicodeScript
enumeration instead,
whose values are interchangeable with PangoScript
.
ScriptInvalidCode | a value never returned from |
ScriptCommon | a character used by multiple different scripts |
ScriptInherited | a mark glyph that takes its script from the base glyph to which it is attached |
ScriptArabic | Arabic |
ScriptArmenian | Armenian |
ScriptBengali | Bengali |
ScriptBopomofo | Bopomofo |
ScriptCherokee | Cherokee |
ScriptCoptic | Coptic |
ScriptCyrillic | Cyrillic |
ScriptDeseret | Deseret |
ScriptDevanagari | Devanagari |
ScriptEthiopic | Ethiopic |
ScriptGeorgian | Georgian |
ScriptGothic | Gothic |
ScriptGreek | Greek |
ScriptGujarati | Gujarati |
ScriptGurmukhi | Gurmukhi |
ScriptHan | Han |
ScriptHangul | Hangul |
ScriptHebrew | Hebrew |
ScriptHiragana | Hiragana |
ScriptKannada | Kannada |
ScriptKatakana | Katakana |
ScriptKhmer | Khmer |
ScriptLao | Lao |
ScriptLatin | Latin |
ScriptMalayalam | Malayalam |
ScriptMongolian | Mongolian |
ScriptMyanmar | Myanmar |
ScriptOgham | Ogham |
ScriptOldItalic | Old Italic |
ScriptOriya | Oriya |
ScriptRunic | Runic |
ScriptSinhala | Sinhala |
ScriptSyriac | Syriac |
ScriptTamil | Tamil |
ScriptTelugu | Telugu |
ScriptThaana | Thaana |
ScriptThai | Thai |
ScriptTibetan | Tibetan |
ScriptCanadianAboriginal | Canadian Aboriginal |
ScriptYi | Yi |
ScriptTagalog | Tagalog |
ScriptHanunoo | Hanunoo |
ScriptBuhid | Buhid |
ScriptTagbanwa | Tagbanwa |
ScriptBraille | Braille |
ScriptCypriot | Cypriot |
ScriptLimbu | Limbu |
ScriptOsmanya | Osmanya |
ScriptShavian | Shavian |
ScriptLinearB | Linear B |
ScriptTaiLe | Tai Le |
ScriptUgaritic | Ugaritic |
ScriptNewTaiLue | New Tai Lue. Since 1.10 |
ScriptBuginese | Buginese. Since 1.10 |
ScriptGlagolitic | Glagolitic. Since 1.10 |
ScriptTifinagh | Tifinagh. Since 1.10 |
ScriptSylotiNagri | Syloti Nagri. Since 1.10 |
ScriptOldPersian | Old Persian. Since 1.10 |
ScriptKharoshthi | Kharoshthi. Since 1.10 |
ScriptUnknown | an unassigned code point. Since 1.14 |
ScriptBalinese | Balinese. Since 1.14 |
ScriptCuneiform | Cuneiform. Since 1.14 |
ScriptPhoenician | Phoenician. Since 1.14 |
ScriptPhagsPa | Phags-pa. Since 1.14 |
ScriptNko | N'Ko. Since 1.14 |
ScriptKayahLi | Kayah Li. Since 1.20.1 |
ScriptLepcha | Lepcha. Since 1.20.1 |
ScriptRejang | Rejang. Since 1.20.1 |
ScriptSundanese | Sundanese. Since 1.20.1 |
ScriptSaurashtra | Saurashtra. Since 1.20.1 |
ScriptCham | Cham. Since 1.20.1 |
ScriptOlChiki | Ol Chiki. Since 1.20.1 |
ScriptVai | Vai. Since 1.20.1 |
ScriptCarian | Carian. Since 1.20.1 |
ScriptLycian | Lycian. Since 1.20.1 |
ScriptLydian | Lydian. Since 1.20.1 |
ScriptBatak | Batak. Since 1.32 |
ScriptBrahmi | Brahmi. Since 1.32 |
ScriptMandaic | Mandaic. Since 1.32 |
ScriptChakma | Chakma. Since: 1.32 |
ScriptMeroiticCursive | Meroitic Cursive. Since: 1.32 |
ScriptMeroiticHieroglyphs | Meroitic Hieroglyphs. Since: 1.32 |
ScriptMiao | Miao. Since: 1.32 |
ScriptSharada | Sharada. Since: 1.32 |
ScriptSoraSompeng | Sora Sompeng. Since: 1.32 |
ScriptTakri | Takri. Since: 1.32 |
ScriptBassaVah | Bassa. Since: 1.40 |
ScriptCaucasianAlbanian | Caucasian Albanian. Since: 1.40 |
ScriptDuployan | Duployan. Since: 1.40 |
ScriptElbasan | Elbasan. Since: 1.40 |
ScriptGrantha | Grantha. Since: 1.40 |
ScriptKhojki | Kjohki. Since: 1.40 |
ScriptKhudawadi | Khudawadi, Sindhi. Since: 1.40 |
ScriptLinearA | Linear A. Since: 1.40 |
ScriptMahajani | Mahajani. Since: 1.40 |
ScriptManichaean | Manichaean. Since: 1.40 |
ScriptMendeKikakui | Mende Kikakui. Since: 1.40 |
ScriptModi | Modi. Since: 1.40 |
ScriptMro | Mro. Since: 1.40 |
ScriptNabataean | Nabataean. Since: 1.40 |
ScriptOldNorthArabian | Old North Arabian. Since: 1.40 |
ScriptOldPermic | Old Permic. Since: 1.40 |
ScriptPahawhHmong | Pahawh Hmong. Since: 1.40 |
ScriptPalmyrene | Palmyrene. Since: 1.40 |
ScriptPauCinHau | Pau Cin Hau. Since: 1.40 |
ScriptPsalterPahlavi | Psalter Pahlavi. Since: 1.40 |
ScriptSiddham | Siddham. Since: 1.40 |
ScriptTirhuta | Tirhuta. Since: 1.40 |
ScriptWarangCiti | Warang Citi. Since: 1.40 |
ScriptAhom | Ahom. Since: 1.40 |
ScriptAnatolianHieroglyphs | Anatolian Hieroglyphs. Since: 1.40 |
ScriptHatran | Hatran. Since: 1.40 |
ScriptMultani | Multani. Since: 1.40 |
ScriptOldHungarian | Old Hungarian. Since: 1.40 |
ScriptSignwriting | Signwriting. Since: 1.40 |
AnotherScript Int | Catch-all for unknown values |
Instances
Enum Script Source # | |
Defined in GI.Pango.Enums | |
Show Script Source # | |
Eq Script Source # | |
Ord Script Source # | |
BoxedEnum Script Source # | |
Defined in GI.Pango.Enums | |
TypedObject Script Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Script Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Script Source # | |
Defined in GI.Pango.Enums |
Stretch
An enumeration specifying the width of the font relative to other designs within a family.
StretchUltraCondensed | ultra condensed width |
StretchExtraCondensed | extra condensed width |
StretchCondensed | condensed width |
StretchSemiCondensed | semi condensed width |
StretchNormal | the normal width |
StretchSemiExpanded | semi expanded width |
StretchExpanded | expanded width |
StretchExtraExpanded | extra expanded width |
StretchUltraExpanded | ultra expanded width |
AnotherStretch Int | Catch-all for unknown values |
Instances
Enum Stretch Source # | |
Show Stretch Source # | |
Eq Stretch Source # | |
Ord Stretch Source # | |
BoxedEnum Stretch Source # | |
Defined in GI.Pango.Enums | |
TypedObject Stretch Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Stretch Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Stretch Source # | |
Defined in GI.Pango.Enums |
Style
An enumeration specifying the various slant styles possible for a font.
StyleNormal | the font is upright. |
StyleOblique | the font is slanted, but in a roman style. |
StyleItalic | the font is slanted in an italic style. |
AnotherStyle Int | Catch-all for unknown values |
Instances
TabAlign
PangoTabAlign
specifies where the text appears relative to the tab stop
position.
Support for tab alignments other than TabAlignLeft
was added
in Pango 1.50.
TabAlignLeft | the text appears to the right of the tab stop position |
TabAlignRight | the text appears to the left of the tab stop position until the available space is filled |
TabAlignCenter | the text is centered at the tab stop position until the available space is filled |
TabAlignDecimal | text before the first occurrence of the decimal point character appears to the left of the tab stop position (until the available space is filled), the rest to the right |
AnotherTabAlign Int | Catch-all for unknown values |
Instances
Enum TabAlign Source # | |
Show TabAlign Source # | |
Eq TabAlign Source # | |
Ord TabAlign Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum TabAlign Source # | |
Defined in GI.Pango.Enums | |
TypedObject TabAlign Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes TabAlign Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes TabAlign Source # | |
Defined in GI.Pango.Enums |
TextTransform
data TextTransform Source #
An enumeration that affects how Pango treats characters during shaping.
Since: 1.50
TextTransformNone | Leave text unchanged |
TextTransformLowercase | Display letters and numbers as lowercase |
TextTransformUppercase | Display letters and numbers as uppercase |
TextTransformCapitalize | Display the first character of a word in titlecase |
AnotherTextTransform Int | Catch-all for unknown values |
Instances
Underline
The PangoUnderline
enumeration is used to specify whether text
should be underlined, and if so, the type of underlining.
UnderlineNone | no underline should be drawn |
UnderlineSingle | a single underline should be drawn |
UnderlineDouble | a double underline should be drawn |
UnderlineLow | a single underline should be drawn at a
position beneath the ink extents of the text being
underlined. This should be used only for underlining
single characters, such as for keyboard accelerators.
|
UnderlineError | an underline indicating an error should
be drawn below. The exact style of rendering is up to the
|
UnderlineSingleLine | Like |
UnderlineDoubleLine | Like |
UnderlineErrorLine | Like |
AnotherUnderline Int | Catch-all for unknown values |
Instances
Enum Underline Source # | |
Defined in GI.Pango.Enums succ :: Underline -> Underline # pred :: Underline -> Underline # fromEnum :: Underline -> Int # enumFrom :: Underline -> [Underline] # enumFromThen :: Underline -> Underline -> [Underline] # enumFromTo :: Underline -> Underline -> [Underline] # enumFromThenTo :: Underline -> Underline -> Underline -> [Underline] # | |
Show Underline Source # | |
Eq Underline Source # | |
Ord Underline Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum Underline Source # | |
Defined in GI.Pango.Enums | |
TypedObject Underline Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Underline Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Underline Source # | |
Defined in GI.Pango.Enums |
Variant
An enumeration specifying capitalization variant of the font.
Values other than PANGO_VARIANT_NORMAL
and PANGO_VARIANT_SMALL_CAPS
are
available since 1.50.
VariantNormal | A normal font. |
VariantSmallCaps | A font with the lower case characters replaced by smaller variants of the capital characters. |
VariantAllSmallCaps | A font with all characters replaced by smaller variants of the capital characters. |
VariantPetiteCaps | A font with the lower case characters replaced by smaller variants of the capital characters. Petite Caps can be even smaller than Small Caps. |
VariantAllPetiteCaps | A font with all characters replaced by smaller variants of the capital characters. Petite Caps can be even smaller than Small Caps. |
VariantUnicase | A font with the upper case characters replaced by smaller variants of the capital letters. |
VariantTitleCaps | A font with capital letters that are more suitable for all-uppercase titles. |
AnotherVariant Int | Catch-all for unknown values |
Instances
Enum Variant Source # | |
Show Variant Source # | |
Eq Variant Source # | |
Ord Variant Source # | |
BoxedEnum Variant Source # | |
Defined in GI.Pango.Enums | |
TypedObject Variant Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Variant Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Variant Source # | |
Defined in GI.Pango.Enums |
Weight
An enumeration specifying the weight (boldness) of a font.
Weight is specified as a numeric value ranging from 100 to 1000. This enumeration simply provides some common, predefined values.
WeightThin | the thin weight (= 100) Since: 1.24 |
WeightUltralight | the ultralight weight (= 200) |
WeightLight | the light weight (= 300) |
WeightSemilight | the semilight weight (= 350) Since: 1.36.7 |
WeightBook | the book weight (= 380) Since: 1.24) |
WeightNormal | the default weight (= 400) |
WeightMedium | the normal weight (= 500) Since: 1.24 |
WeightSemibold | the semibold weight (= 600) |
WeightBold | the bold weight (= 700) |
WeightUltrabold | the ultrabold weight (= 800) |
WeightHeavy | the heavy weight (= 900) |
WeightUltraheavy | the ultraheavy weight (= 1000) Since: 1.24 |
AnotherWeight Int | Catch-all for unknown values |
Instances
Enum Weight Source # | |
Defined in GI.Pango.Enums | |
Show Weight Source # | |
Eq Weight Source # | |
Ord Weight Source # | |
BoxedEnum Weight Source # | |
Defined in GI.Pango.Enums | |
TypedObject Weight Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes Weight Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes Weight Source # | |
Defined in GI.Pango.Enums |
WrapMode
PangoWrapMode
describes how to wrap the lines of a PangoLayout
to the desired width.
For pANGOWRAPWORD
, Pango uses break opportunities that are determined
by the Unicode line breaking algorithm. For pANGOWRAPCHAR
, Pango allows
breaking at grapheme boundaries that are determined by the Unicode text
segmentation algorithm.
WrapModeWord | wrap lines at word boundaries. |
WrapModeChar | wrap lines at character boundaries. |
WrapModeWordChar | wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word. |
AnotherWrapMode Int | Catch-all for unknown values |
Instances
Enum WrapMode Source # | |
Show WrapMode Source # | |
Eq WrapMode Source # | |
Ord WrapMode Source # | |
Defined in GI.Pango.Enums | |
BoxedEnum WrapMode Source # | |
Defined in GI.Pango.Enums | |
TypedObject WrapMode Source # | |
Defined in GI.Pango.Enums | |
HasParentTypes WrapMode Source # | |
Defined in GI.Pango.Enums | |
type ParentTypes WrapMode Source # | |
Defined in GI.Pango.Enums |