gi-harfbuzz-0.0.5: HarfBuzz bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.HarfBuzz.Flags

Description

 
Synopsis

Flags

BufferDiffFlagsT

data BufferDiffFlagsT Source #

Flags from comparing two BufferT's.

Buffer with different BufferContentTypeT cannot be meaningfully compared in any further detail.

For buffers with differing length, the per-glyph comparison is not attempted, though we do still scan reference buffer for dotted circle and .notdef glyphs.

If the buffers have the same length, we compare them glyph-by-glyph and report which aspect(s) of the glyph info/position are different.

Since: 1.5.0

Constructors

BufferDiffFlagsTEqual

equal buffers.

BufferDiffFlagsTContentTypeMismatch

buffers with different BufferContentTypeT.

BufferDiffFlagsTLengthMismatch

buffers with differing length.

BufferDiffFlagsTNotdefPresent

.notdef glyph is present in the reference buffer.

BufferDiffFlagsTDottedCirclePresent

dotted circle glyph is present in the reference buffer.

BufferDiffFlagsTCodepointMismatch

difference in GlyphInfoT.codepoint

BufferDiffFlagsTClusterMismatch

difference in GlyphInfoT.cluster

BufferDiffFlagsTGlyphFlagsMismatch

difference in GlyphFlagsT.

BufferDiffFlagsTPositionMismatch

difference in GlyphPositionT.

AnotherBufferDiffFlagsT Int

Catch-all for unknown values

Instances

Instances details
Enum BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Show BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Eq BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Ord BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

BoxedFlags BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

IsGFlag BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

TypedObject BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Methods

glibType :: IO GType #

HasParentTypes BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes BufferDiffFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

BufferFlagsT

data BufferFlagsT Source #

Flags for BufferT.

Since: 0.9.20

Constructors

BufferFlagsTDefault

the default buffer flag.

BufferFlagsTBot

flag indicating that special handling of the beginning of text paragraph can be applied to this buffer. Should usually be set, unless you are passing to the buffer only part of the text without the full context.

BufferFlagsTEot

flag indicating that special handling of the end of text paragraph can be applied to this buffer, similar to hBBUFFERFLAGBOT.

BufferFlagsTPreserveDefaultIgnorables

flag indication that character with Default_Ignorable Unicode property should use the corresponding glyph from the font, instead of hiding them (done by replacing them with the space glyph and zeroing the advance width.) This flag takes precedence over hBBUFFERFLAGREMOVEDEFAULTIGNORABLES.

BufferFlagsTRemoveDefaultIgnorables

flag indication that character with Default_Ignorable Unicode property should be removed from glyph string instead of hiding them (done by replacing them with the space glyph and zeroing the advance width.) hBBUFFERFLAGPRESERVEDEFAULTIGNORABLES takes precedence over this flag. Since: 1.8.0

BufferFlagsTDoNotInsertDottedCircle

flag indicating that a dotted circle should not be inserted in the rendering of incorrect character sequences (such at <0905 093E>). Since: 2.4

AnotherBufferFlagsT Int

Catch-all for unknown values

Instances

Instances details
Enum BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Show BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Eq BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Ord BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

BoxedFlags BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

IsGFlag BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

TypedObject BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Methods

glibType :: IO GType #

HasParentTypes BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes BufferFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes BufferFlagsT = '[] :: [Type]

BufferSerializeFlagsT

data BufferSerializeFlagsT Source #

Flags that control what glyph information are serialized in bufferSerializeGlyphs.

Since: 0.9.20

Constructors

BufferSerializeFlagsTDefault

serialize glyph names, clusters and positions.

BufferSerializeFlagsTNoClusters

do not serialize glyph cluster.

BufferSerializeFlagsTNoPositions

do not serialize glyph position information.

BufferSerializeFlagsTNoGlyphNames

do no serialize glyph name.

BufferSerializeFlagsTGlyphExtents

serialize glyph extents.

BufferSerializeFlagsTGlyphFlags

serialize glyph flags. Since: 1.5.0

BufferSerializeFlagsTNoAdvances

do not serialize glyph advances, glyph offsets will reflect absolute glyph positions. Since: 1.8.0

AnotherBufferSerializeFlagsT Int

Catch-all for unknown values

Instances

Instances details
Enum BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Show BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Eq BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Ord BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

BoxedFlags BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

IsGFlag BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

TypedObject BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Methods

glibType :: IO GType #

HasParentTypes BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes BufferSerializeFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

GlyphFlagsT

data GlyphFlagsT Source #

Flags for GlyphInfoT.

Since: 1.5.0

Constructors

GlyphFlagsTUnsafeToBreak

Indicates that if input text is broken at the beginning of the cluster this glyph is part of, then both sides need to be re-shaped, as the result might be different. On the flip side, it means that when this flag is not present, then it's safe to break the glyph-run at the beginning of this cluster, and the two sides represent the exact same result one would get if breaking input text at the beginning of this cluster and shaping the two sides separately. This can be used to optimize paragraph layout, by avoiding re-shaping of each line after line-breaking, or limiting the reshaping to a small piece around the breaking point only.

GlyphFlagsTDefined

All the currently defined flags.

AnotherGlyphFlagsT Int

Catch-all for unknown values

Instances

Instances details
Enum GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Show GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Eq GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Ord GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

BoxedFlags GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

IsGFlag GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

TypedObject GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Methods

glibType :: IO GType #

HasParentTypes GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes GlyphFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes GlyphFlagsT = '[] :: [Type]

OtColorPaletteFlagsT

data OtColorPaletteFlagsT Source #

Flags that describe the properties of color palette.

Since: 2.1.0

Constructors

OtColorPaletteFlagsTDefault

Default indicating that there is nothing special to note about a color palette.

OtColorPaletteFlagsTUsableWithLightBackground

Flag indicating that the color palette is appropriate to use when displaying the font on a light background such as white.

OtColorPaletteFlagsTUsableWithDarkBackground

Flag indicating that the color palette is appropriate to use when displaying the font on a dark background such as black.

AnotherOtColorPaletteFlagsT Int

Catch-all for unknown values

Instances

Instances details
Enum OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Show OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Eq OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Ord OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

BoxedFlags OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

IsGFlag OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

TypedObject OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Methods

glibType :: IO GType #

HasParentTypes OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes OtColorPaletteFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

OtMathGlyphPartFlagsT

data OtMathGlyphPartFlagsT Source #

Flags for math glyph parts.

Since: 1.3.3

Constructors

OtMathGlyphPartFlagsTExtender

This is an extender glyph part that can be repeated to reach the desired length.

AnotherOtMathGlyphPartFlagsT Int

Catch-all for unknown values

Instances

Instances details
Enum OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Show OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Eq OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Ord OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

BoxedFlags OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

IsGFlag OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

TypedObject OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Methods

glibType :: IO GType #

HasParentTypes OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes OtMathGlyphPartFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

OtVarAxisFlagsT

data OtVarAxisFlagsT Source #

Flags for OtVarAxisInfoT.

Since: 2.2.0

Constructors

OtVarAxisFlagsTHidden

The axis should not be exposed directly in user interfaces.

AnotherOtVarAxisFlagsT Int

Catch-all for unknown values

Instances

Instances details
Enum OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Show OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Eq OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Ord OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

BoxedFlags OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

IsGFlag OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

TypedObject OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

Methods

glibType :: IO GType #

HasParentTypes OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags

type ParentTypes OtVarAxisFlagsT Source # 
Instance details

Defined in GI.HarfBuzz.Flags