Ocgtk_pango.Pango_enumsval alignment_of_int : int -> alignmentval alignment_to_int : alignment -> inttype attrtype = [ | `INVALIDlanguage (struct@Pango.AttrLanguage)
| `LANGUAGEfont family name list (struct@Pango.AttrString)
| `FAMILYfont slant style (struct@Pango.AttrInt)
| `STYLEfont weight (struct@Pango.AttrInt)
| `WEIGHTfont variant (normal or small caps) (struct@Pango.AttrInt)
| `VARIANTfont stretch (struct@Pango.AttrInt)
| `STRETCHfont size in points scaled by %PANGO_SCALE (struct@Pango.AttrInt)
| `SIZEfont description (struct@Pango.AttrFontDesc)
| `FONT_DESCforeground color (struct@Pango.AttrColor)
| `FOREGROUNDbackground color (struct@Pango.AttrColor)
| `BACKGROUNDwhether the text has an underline (struct@Pango.AttrInt)
| `UNDERLINEwhether the text is struck-through (struct@Pango.AttrInt)
| `STRIKETHROUGHbaseline displacement (struct@Pango.AttrInt)
| `RISEshape (struct@Pango.AttrShape)
| `SHAPEfont size scale factor (struct@Pango.AttrFloat)
| `SCALEwhether fallback is enabled (struct@Pango.AttrInt)
| `FALLBACKletter spacing (struct@PangoAttrInt)
| `LETTER_SPACINGunderline color (struct@Pango.AttrColor)
| `UNDERLINE_COLORstrikethrough color (struct@Pango.AttrColor)
| `STRIKETHROUGH_COLORfont size in pixels scaled by %PANGO_SCALE (struct@Pango.AttrInt)
| `ABSOLUTE_SIZEbase text gravity (struct@Pango.AttrInt)
| `GRAVITYgravity hint (struct@Pango.AttrInt)
| `GRAVITY_HINTOpenType font features (struct@Pango.AttrFontFeatures). Since 1.38
| `FONT_FEATURESforeground alpha (struct@Pango.AttrInt). Since 1.38
| `FOREGROUND_ALPHAbackground alpha (struct@Pango.AttrInt). Since 1.38
| `BACKGROUND_ALPHAwhether breaks are allowed (struct@Pango.AttrInt). Since 1.44
| `ALLOW_BREAKShow to render invisible characters (struct@Pango.AttrInt). Since 1.44
| `SHOWwhether to insert hyphens at intra-word line breaks (struct@Pango.AttrInt). Since 1.44
| `INSERT_HYPHENSwhether the text has an overline (struct@Pango.AttrInt). Since 1.46
| `OVERLINEoverline color (struct@Pango.AttrColor). Since 1.46
| `OVERLINE_COLORline height factor (struct@Pango.AttrFloat). Since: 1.50
| `LINE_HEIGHTline height (struct@Pango.AttrInt). Since: 1.50
| `ABSOLUTE_LINE_HEIGHT| `TEXT_TRANSFORMoverride segmentation to classify the range of the attribute as a single word (struct@Pango.AttrInt). Since 1.50
| `WORDoverride segmentation to classify the range of the attribute as a single sentence (struct@Pango.AttrInt). Since 1.50
| `SENTENCEbaseline displacement (struct@Pango.AttrInt). Since 1.50
| `BASELINE_SHIFTfont-relative size change (struct@Pango.AttrInt). Since 1.50
| `FONT_SCALE ]val attrtype_of_int : int -> attrtypeval attrtype_to_int : attrtype -> intval baselineshift_of_int : int -> baselineshiftval baselineshift_to_int : baselineshift -> inttype biditype = [ | `LLeft-to-Right Embedding
*)| `LRELeft-to-Right Override
*)| `LRORight-to-Left
*)| `RRight-to-Left Arabic
*)| `ALRight-to-Left Embedding
*)| `RLERight-to-Left Override
*)| `RLOPop Directional Format
*)| `PDFEuropean Number
*)| `ENEuropean Number Separator
*)| `ESEuropean Number Terminator
*)| `ETArabic Number
*)| `ANCommon Number Separator
*)| `CSNonspacing Mark
*)| `NSMBoundary Neutral
*)| `BNParagraph Separator
*)| `BSegment Separator
*)| `SWhitespace
*)| `WSOther Neutrals
*)| `ONLeft-to-Right isolate. Since 1.48.6
*)| `LRIRight-to-Left isolate. Since 1.48.6
*)| `RLIFirst strong isolate. Since 1.48.6
*)| `FSIPop directional isolate. Since 1.48.6
*)| `PDI ]val biditype_of_int : int -> biditypeval biditype_to_int : biditype -> inttype coveragelevel = [ | `NONEThe 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.
*)| `FALLBACKThe character is represented as basically the correct graphical form, but with a stylistic variant inappropriate for the current script.
*)| `APPROXIMATEThe character is represented as the correct graphical form.
*)| `EXACT ]val coveragelevel_of_int : int -> coveragelevelval coveragelevel_to_int : coveragelevel -> inttype direction = [ | `LTRA strong right-to-left direction
*)| `RTLDeprecated value; treated the same as `PANGO_DIRECTION_RTL`.
*)| `TTB_LTRDeprecated value; treated the same as `PANGO_DIRECTION_LTR`
*)| `TTB_RTLA weak left-to-right direction
*)| `WEAK_LTRA weak right-to-left direction
*)| `WEAK_RTLNo direction specified
*)| `NEUTRAL ]val direction_of_int : int -> directionval direction_to_int : direction -> intval ellipsizemode_of_int : int -> ellipsizemodeval ellipsizemode_to_int : ellipsizemode -> intval fontscale_of_int : int -> fontscaleval fontscale_to_int : fontscale -> inttype gravity = [ | `SOUTHGlyphs are rotated 90 degrees counter-clockwise. <img align="right" valign="center" src="m-east.png">
*)| `EASTGlyphs are upside-down. <img align="right" valign="cener" src="m-north.png">
*)| `NORTHGlyphs are rotated 90 degrees clockwise. <img align="right" valign="center" src="m-west.png">
*)| `WESTGravity is resolved from the context matrix
*)| `AUTO ]val gravity_of_int : int -> gravityval gravity_to_int : gravity -> inttype gravityhint = [ | `NATURALalways use the base gravity set, regardless of the script.
*)| `STRONGfor 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.
*)| `LINE ]val gravityhint_of_int : int -> gravityhintval gravityhint_to_int : gravityhint -> intval layoutdeserializeerror_of_int : int -> layoutdeserializeerrorval layoutdeserializeerror_to_int : layoutdeserializeerror -> intval overline_of_int : int -> overlineval overline_to_int : overline -> intval renderpart_of_int : int -> renderpartval renderpart_to_int : renderpart -> inttype script = [ | `INVALID_CODEa character used by multiple different scripts
*)| `COMMONa mark glyph that takes its script from the base glyph to which it is attached
*)| `INHERITEDArabic
*)| `ARABICArmenian
*)| `ARMENIANBengali
*)| `BENGALIBopomofo
*)| `BOPOMOFOCherokee
*)| `CHEROKEECoptic
*)| `COPTICCyrillic
*)| `CYRILLICDeseret
*)| `DESERETDevanagari
*)| `DEVANAGARIEthiopic
*)| `ETHIOPICGeorgian
*)| `GEORGIANGothic
*)| `GOTHICGreek
*)| `GREEKGujarati
*)| `GUJARATIGurmukhi
*)| `GURMUKHIHan
*)| `HANHangul
*)| `HANGULHebrew
*)| `HEBREWHiragana
*)| `HIRAGANAKannada
*)| `KANNADAKatakana
*)| `KATAKANAKhmer
*)| `KHMERLao
*)| `LAOLatin
*)| `LATINMalayalam
*)| `MALAYALAMMongolian
*)| `MONGOLIANMyanmar
*)| `MYANMAROgham
*)| `OGHAMOld Italic
*)| `OLD_ITALICOriya
*)| `ORIYARunic
*)| `RUNICSinhala
*)| `SINHALASyriac
*)| `SYRIACTamil
*)| `TAMILTelugu
*)| `TELUGUThaana
*)| `THAANAThai
*)| `THAITibetan
*)| `TIBETANCanadian Aboriginal
*)| `CANADIAN_ABORIGINALYi
*)| `YITagalog
*)| `TAGALOGHanunoo
*)| `HANUNOOBuhid
*)| `BUHIDTagbanwa
*)| `TAGBANWABraille
*)| `BRAILLECypriot
*)| `CYPRIOTLimbu
*)| `LIMBUOsmanya
*)| `OSMANYAShavian
*)| `SHAVIANLinear B
*)| `LINEAR_BTai Le
*)| `TAI_LEUgaritic
*)| `UGARITICNew Tai Lue. Since 1.10
*)| `NEW_TAI_LUEBuginese. Since 1.10
*)| `BUGINESEGlagolitic. Since 1.10
*)| `GLAGOLITICTifinagh. Since 1.10
*)| `TIFINAGHSyloti Nagri. Since 1.10
*)| `SYLOTI_NAGRIOld Persian. Since 1.10
*)| `OLD_PERSIANKharoshthi. Since 1.10
*)| `KHAROSHTHIan unassigned code point. Since 1.14
*)| `UNKNOWNBalinese. Since 1.14
*)| `BALINESECuneiform. Since 1.14
*)| `CUNEIFORMPhoenician. Since 1.14
*)| `PHOENICIANPhags-pa. Since 1.14
*)| `PHAGS_PAN'Ko. Since 1.14
*)| `NKOKayah Li. Since 1.20.1
*)| `KAYAH_LILepcha. Since 1.20.1
*)| `LEPCHARejang. Since 1.20.1
*)| `REJANGSundanese. Since 1.20.1
*)| `SUNDANESESaurashtra. Since 1.20.1
*)| `SAURASHTRACham. Since 1.20.1
*)| `CHAMOl Chiki. Since 1.20.1
*)| `OL_CHIKIVai. Since 1.20.1
*)| `VAICarian. Since 1.20.1
*)| `CARIANLycian. Since 1.20.1
*)| `LYCIANLydian. Since 1.20.1
*)| `LYDIANBatak. Since 1.32
*)| `BATAKBrahmi. Since 1.32
*)| `BRAHMIMandaic. Since 1.32
*)| `MANDAICChakma. Since: 1.32
*)| `CHAKMAMeroitic Cursive. Since: 1.32
*)| `MEROITIC_CURSIVEMeroitic Hieroglyphs. Since: 1.32
*)| `MEROITIC_HIEROGLYPHSMiao. Since: 1.32
*)| `MIAOSharada. Since: 1.32
*)| `SHARADASora Sompeng. Since: 1.32
*)| `SORA_SOMPENGTakri. Since: 1.32
*)| `TAKRIBassa. Since: 1.40
*)| `BASSA_VAHCaucasian Albanian. Since: 1.40
*)| `CAUCASIAN_ALBANIANDuployan. Since: 1.40
*)| `DUPLOYANElbasan. Since: 1.40
*)| `ELBASANGrantha. Since: 1.40
*)| `GRANTHAKjohki. Since: 1.40
*)| `KHOJKIKhudawadi, Sindhi. Since: 1.40
*)| `KHUDAWADILinear A. Since: 1.40
*)| `LINEAR_AMahajani. Since: 1.40
*)| `MAHAJANIManichaean. Since: 1.40
*)| `MANICHAEANMende Kikakui. Since: 1.40
*)| `MENDE_KIKAKUIModi. Since: 1.40
*)| `MODIMro. Since: 1.40
*)| `MRONabataean. Since: 1.40
*)| `NABATAEANOld North Arabian. Since: 1.40
*)| `OLD_NORTH_ARABIANOld Permic. Since: 1.40
*)| `OLD_PERMICPahawh Hmong. Since: 1.40
*)| `PAHAWH_HMONGPalmyrene. Since: 1.40
*)| `PALMYRENEPau Cin Hau. Since: 1.40
*)| `PAU_CIN_HAUPsalter Pahlavi. Since: 1.40
*)| `PSALTER_PAHLAVISiddham. Since: 1.40
*)| `SIDDHAMTirhuta. Since: 1.40
*)| `TIRHUTAWarang Citi. Since: 1.40
*)| `WARANG_CITIAhom. Since: 1.40
*)| `AHOMAnatolian Hieroglyphs. Since: 1.40
*)| `ANATOLIAN_HIEROGLYPHSHatran. Since: 1.40
*)| `HATRANMultani. Since: 1.40
*)| `MULTANIOld Hungarian. Since: 1.40
*)| `OLD_HUNGARIANSignwriting. Since: 1.40
*)| `SIGNWRITING ]val script_of_int : int -> scriptval script_to_int : script -> inttype stretch = [ | `ULTRA_CONDENSEDextra condensed width
*)| `EXTRA_CONDENSEDcondensed width
*)| `CONDENSEDsemi condensed width
*)| `SEMI_CONDENSEDthe normal width
*)| `NORMALsemi expanded width
*)| `SEMI_EXPANDEDexpanded width
*)| `EXPANDEDextra expanded width
*)| `EXTRA_EXPANDEDultra expanded width
*)| `ULTRA_EXPANDED ]val stretch_of_int : int -> stretchval stretch_to_int : stretch -> intval style_of_int : int -> styleval style_to_int : style -> inttype tabalign = [ | `LEFTthe text appears to the left of the tab stop position until the available space is filled. Since: 1.50
*)| `RIGHTthe text is centered at the tab stop position until the available space is filled. Since: 1.50
*)| `CENTERtext 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. Since: 1.50
*)| `DECIMAL ]val tabalign_of_int : int -> tabalignval tabalign_to_int : tabalign -> intval texttransform_of_int : int -> texttransformval texttransform_to_int : texttransform -> inttype underline = [ | `NONEa single underline should be drawn
*)| `SINGLEa double underline should be drawn
*)| `DOUBLEa 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. %PANGO_UNDERLINE_SINGLE should be used for extended portions of text.
*)| `LOWan underline indicating an error should be drawn below. The exact style of rendering is up to the `PangoRenderer` in use, but typical styles include wavy or dotted lines. This underline is typically used to indicate an error such as a possible mispelling; in some cases a contrasting color may automatically be used. This type of underlining is available since Pango 1.4.
*)| `ERRORLike @PANGO_UNDERLINE_SINGLE, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46.
*)| `SINGLE_LINELike @PANGO_UNDERLINE_DOUBLE, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46.
*)| `DOUBLE_LINELike @PANGO_UNDERLINE_ERROR, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46.
*)| `ERROR_LINE ]val underline_of_int : int -> underlineval underline_to_int : underline -> inttype variant = [ | `NORMALA font with the lower case characters replaced by smaller variants of the capital characters.
*)| `SMALL_CAPSA font with all characters replaced by smaller variants of the capital characters. Since: 1.50
*)| `ALL_SMALL_CAPSA font with the lower case characters replaced by smaller variants of the capital characters. Petite Caps can be even smaller than Small Caps. Since: 1.50
*)| `PETITE_CAPSA font with all characters replaced by smaller variants of the capital characters. Petite Caps can be even smaller than Small Caps. Since: 1.50
*)| `ALL_PETITE_CAPSA font with the upper case characters replaced by smaller variants of the capital letters. Since: 1.50
*)| `UNICASEA font with capital letters that are more suitable for all-uppercase titles. Since: 1.50
*)| `TITLE_CAPS ]val variant_of_int : int -> variantval variant_to_int : variant -> inttype weight = [ | `THINthe ultralight weight (= 200)
*)| `ULTRALIGHTthe light weight (= 300)
*)| `LIGHTthe semilight weight (= 350) Since: 1.36.7
*)| `SEMILIGHTthe book weight (= 380) Since: 1.24)
*)| `BOOKthe default weight (= 400)
*)| `NORMALthe medium weight (= 500) Since: 1.24
*)| `MEDIUMthe semibold weight (= 600)
*)| `SEMIBOLDthe bold weight (= 700)
*)| `BOLDthe ultrabold weight (= 800)
*)| `ULTRABOLDthe heavy weight (= 900)
*)| `HEAVYthe ultraheavy weight (= 1000) Since: 1.24
*)| `ULTRAHEAVY ]val weight_of_int : int -> weightval weight_to_int : weight -> intval wrapmode_of_int : int -> wrapmodeval wrapmode_to_int : wrapmode -> inttype fontmask_flag = [ | `FAMILYthe font style is specified.
*)| `STYLEthe font variant is specified.
*)| `VARIANTthe font weight is specified.
*)| `WEIGHTthe font stretch is specified.
*)| `STRETCHthe font size is specified.
*)| `SIZEthe font gravity is specified (Since: 1.16.)
*)| `GRAVITYOpenType font variations are specified (Since: 1.42)
*)| `VARIATIONS ]type fontmask = fontmask_flag listval fontmask_of_int : int -> fontmaskval fontmask_to_int : fontmask -> inttype layoutdeserializeflags = layoutdeserializeflags_flag listval layoutdeserializeflags_of_int : int -> layoutdeserializeflagsval layoutdeserializeflags_to_int : layoutdeserializeflags -> inttype layoutserializeflags = layoutserializeflags_flag listval layoutserializeflags_of_int : int -> layoutserializeflagsval layoutserializeflags_to_int : layoutserializeflags -> inttype shapeflags = shapeflags_flag listval shapeflags_of_int : int -> shapeflagsval shapeflags_to_int : shapeflags -> inttype showflags = showflags_flag listval showflags_of_int : int -> showflagsval showflags_to_int : showflags -> int