Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module Graphics.Rendering.Pango

    Pango is a library for laying out and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x. Pango is designed to be modular; the core Pango layout engine can be used with different font backends. There are three basic backends:

    • Client side fonts using the FreeType and fontconfig libraries.
    • Native fonts on Microsoft Windows using Uniscribe for complex-text handling.
    • Native fonts on MacOS X using ATSUI for complex-text handling.
    The integration of Pango with Cairo <https: high quality text handling and graphics rendering. Dynamically loaded modules then handle text layout for particular combinations of script and font backend. Pango ships with a wide selection of modules, including modules for Hebrew, Arabic, Hangul, Thai, and a number of Indic scripts. Virtually all of the world's major scripts are supported. As well as the low level layout rendering routines, Pango includes PangoLayout, a high level driver for laying out entire blocks of text, and routines to assist in editing internationalized text. Pango depends on 2.x series of the GLib library. This module only re-exports the parts of the Pango library that are relevant for text rendering (as opposed to integration with other libraries).

  2. data PangoAttribute

    pango Graphics.Rendering.Pango

    Attributes for PangoItems.

    • A given attribute is applied from its start position paStart up, but not including the end position, paEnd.

  3. data PangoDirection

    pango Graphics.Rendering.Pango

    The PangoDirection type represents a direction in the Unicode bidirectional algorithm.

    • The "weak" values denote a left-to-right or right-to-left direction only if there is no character with a strong direction in a paragraph. An example is a sequence of special, graphical characters which are neutral with respect to their rendering direction. A fresh PangoContext is by default weakly left-to-right.
    • Not every value in this enumeration makes sense for every usage of PangoDirection; for example, the return value of unicharDirection and findBaseDir cannot be PangoDirectionWeakLtr or PangoDirectionWeakRtl, since every character is either neutral or has a strong direction; on the other hand PangoDirectionNeutral doesn't make sense to pass to log2visGetEmbeddingLevels.

  4. PangoDirectionLtr :: PangoDirection

    pango Graphics.Rendering.Pango

    No documentation available.

  5. PangoDirectionNeutral :: PangoDirection

    pango Graphics.Rendering.Pango

    No documentation available.

  6. PangoDirectionRtl :: PangoDirection

    pango Graphics.Rendering.Pango

    No documentation available.

  7. PangoDirectionWeakLtr :: PangoDirection

    pango Graphics.Rendering.Pango

    No documentation available.

  8. PangoDirectionWeakRtl :: PangoDirection

    pango Graphics.Rendering.Pango

    No documentation available.

  9. data PangoGravity

    pango Graphics.Rendering.Pango

    The PangoGravity type represents the orientation of glyphs in a segment of text. The value GravitySouth, for instance, indicates that the text stands upright, i.e. that the base of the letter is directed downwards. This is useful when rendering vertical text layouts. In those situations, the layout is rotated using a non-identity PangoMatrix, and then glyph orientation is controlled using PangoGravity. Not every value in this enumeration makes sense for every usage of Gravity; for example, PangoGravityAuto only can be passed to pangoContextSetBaseGravity and can only be returned by pangoContextGetBaseGravity.

    • See also: PangoGravityHint
    • Gravity is resolved from the context matrix.
    • Since Pango 1.16

  10. PangoGravityAuto :: PangoGravity

    pango Graphics.Rendering.Pango

    No documentation available.

Page 581 of many | Previous | Next