[options]
girs_dir = "gir-files"
library = "Pango"
version = "1.0"
target_path = "."
work_mode = "normal"
generate_safety_asserts = false
min_cfg_version = "1.30"

generate = [
    "Pango.Alignment",
    "Pango.Attribute",
    "Pango.AttrType",
    "Pango.BidiType",
    "Pango.Color",
    "Pango.CoverageLevel",
    "Pango.Direction",
    "Pango.EllipsizeMode",
    "Pango.EngineShape",
    "Pango.FontFace",
    "Pango.FontFamily",
    "Pango.FontMask",
    "Pango.FontMetrics",
    "Pango.Fontset",
    "Pango.Gravity",
    "Pango.GravityHint",
    "Pango.Glyph",
    "Pango.GlyphItem",
    "Pango.GlyphItemIter",
    "Pango.GlyphString",
    "Pango.LayoutIter",
    "Pango.LayoutLine",
    "Pango.LayoutRun",
    "Pango.Matrix",
    "Pango.Renderer",
    "Pango.RenderPart",
    "Pango.Script",
    "Pango.Stretch",
    "Pango.Style",
    "Pango.TabAlign",
    "Pango.TabArray",
    "Pango.Underline",
    "Pango.Variant",
    "Pango.Weight",
    "Pango.WrapMode",
]

manual = [
    "Pango.AttrClass",
    "Pango.Language",
    "Pango.Rectangle",
    "GLib.Error",
]

[[object]]
name = "Pango.*"
status = "generate"
    [[object.function]]
    name = "extents_to_pixels"
        [[object.function.parameter]]
        pattern = ".+"
        const = true
    [[object.function]]
    name = "get_mirror_char"
    #out param
    ignore = true
    [[object.function]]
    name = "log2vis_get_embedding_levels"
    #out param
    ignore = true
    [[object.function]]
    pattern = "attr_.+"
    #moved to Attribute
    ignore = true

[[object]]
name = "Pango.AttrList"
status = "generate"
    [[object.function]]
    name = "change"
    ignore = true
    [[object.function]]
    name = "insert"
    ignore = true
    [[object.function]]
    name = "insert_before"
    ignore = true

[[object]]
name = "Pango.Context"
status = "generate"
    [[object.function]]
    name = "get_metrics"
        [[object.function.parameter]]
        name = "language"
        const = true
    [[object.function]]
    name = "load_fontset"
        [[object.function.parameter]]
        name = "language"
        const = true
    [[object.function]]
    name = "set_language"
        [[object.function.parameter]]
        name = "language"
        const = true

[[object]]
name = "Pango.Coverage"
status = "generate"
    [[object.function]]
    name = "new"
        [object.function.return]
        nullable = false

[[object]]
name = "Pango.FontDescription"
status = "generate"
    [[object.function]]
    name = "from_string"
        [object.function.return]
        nullable = false
    [[object.function]]
    name = "set_family_static"
    ignore = true
    [[object.function]]
    name = "copy_static"
    ignore = true
    [[object.function]]
    name = "merge_static"
    ignore = true

[[object]]
name = "Pango.Font"
status = "generate"
    [[object.function]]
    name = "descriptions_free"
    ignore = true
    [[object.function]]
    name = "get_metrics"
        [[object.function.parameter]]
        name = "language"
        const = true
    [[object.function]]
    name = "find_shaper"
        [[object.function.parameter]]
        name = "language"
        const = true
    [[object.function]]
    name = "get_coverage"
        [[object.function.parameter]]
        name = "language"
        const = true

[[object]]
name = "Pango.FontMap"
status = "generate"
    [[object.function]]
    name = "load_fontset"
        [[object.function.parameter]]
        name = "language"
        const = true

[[object]]
name = "Pango.Layout"
status = "generate"
    [[object.function]]
    name = "xy_to_index"
        [object.function.return]
        nullable = false
    [[object.function]]
    name = "set_tabs"
        [[object.function.parameter]]
        name = "tabs"
        const = true
