summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-12 08:34:17 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-06-22 13:54:01 -0400
commit0dd516b6955b188673e886e106eaf724c8471c59 (patch)
treed4ab6899b5c0db68374a8779399b343daf00ce25 /docs
parent9e2cefb7a090654e8e99e1c84629d578335affff (diff)
downloadpango-0dd516b6955b188673e886e106eaf724c8471c59.tar.gz
Get the docs in shape
Diffstat (limited to 'docs')
-rw-r--r--docs/meson.build137
-rw-r--r--docs/pango.toml.in36
-rw-r--r--docs/pango_bidi.md32
-rw-r--r--docs/pango_cairo.md21
-rw-r--r--docs/pango_fonts.md24
-rw-r--r--docs/pango_markup.md27
-rw-r--r--docs/pango_rendering.md12
-rw-r--r--docs/pango_xft.md26
-rw-r--r--docs/pangocairo.toml.in42
-rw-r--r--docs/pangofc.toml.in39
-rw-r--r--docs/pangoft2.toml.in39
-rw-r--r--docs/pangoot.toml.in33
-rw-r--r--docs/pangoxft.toml.in41
13 files changed, 72 insertions, 437 deletions
diff --git a/docs/meson.build b/docs/meson.build
index d61d552b..1b6b50b8 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -1,4 +1,4 @@
-gidocgen = find_program('gi-docgen', required: get_option('gtk_doc'))
+gidocgen = find_program('gi-docgen', required: get_option('docs'))
pango_content_files = [
'pango_rendering.md',
@@ -50,6 +50,7 @@ pango_content_files = [
'line-height2-dark.png',
'line-height3-light.png',
'line-height3-dark.png',
+ 'rotated-text.png',
]
doc_conf = configuration_data()
@@ -80,137 +81,3 @@ custom_target('pango-doc',
install: true,
install_dir: docs_dir,
)
-
-if build_pangoft2
- pangoft2_toml = configure_file(input: 'pangoft2.toml.in',
- output: 'pangoft2.toml',
- configuration: doc_conf)
-
- custom_target('pangoft-doc',
- input: pangoft2_gir[0],
- output: 'PangoFT2',
- command: [
- gidocgen,
- 'generate',
- '--quiet',
- '--add-include-path=@0@'.format(meson.current_build_dir() / '../pango'),
- '--config', pangoft2_toml,
- '--output-dir=@OUTPUT@',
- '--no-namespace-dir',
- '--content-dir=@0@'.format(meson.current_source_dir()),
- '@INPUT@',
- ],
- depend_files: [ pangoft2_toml, 'pango-name.png' ],
- build_by_default: true,
- install: true,
- install_dir: docs_dir,
- )
-endif
-
-if xft_dep.found() and fontconfig_dep.found()
- pangoxft_toml = configure_file(input: 'pangoxft.toml.in',
- output: 'pangoxft.toml',
- configuration: doc_conf)
-
- custom_target('pangoxft-doc',
- input: pangoxft_gir[0],
- output: 'PangoXft',
- command: [
- gidocgen,
- 'generate',
- '--quiet',
- '--add-include-path=@0@'.format(meson.current_build_dir() / '../pango'),
- '--config', pangoxft_toml,
- '--output-dir=@OUTPUT@',
- '--no-namespace-dir',
- '--content-dir=@0@'.format(meson.current_source_dir()),
- '@INPUT@',
- ],
- depend_files: [ pangoxft_toml, 'pango-name.png' ],
- build_by_default: true,
- install: true,
- install_dir: docs_dir,
- )
-endif
-
-if cairo_dep.found()
- pangocairo_content_files = [
- 'pango_cairo.md',
- 'pango-name.png',
- 'rotated-text.png',
- ]
-
- pangocairo_toml = configure_file(input: 'pangocairo.toml.in',
- output: 'pangocairo.toml',
- configuration: doc_conf)
-
- custom_target('pangocairo-doc',
- input: pangocairo_gir[0],
- output: 'PangoCairo',
- command: [
- gidocgen,
- 'generate',
- '--quiet',
- '--add-include-path=@0@'.format(meson.current_build_dir() / '../pango'),
- '--config', pangocairo_toml,
- '--output-dir=@OUTPUT@',
- '--no-namespace-dir',
- '--content-dir=@0@'.format(meson.current_source_dir()),
- '@INPUT@',
- ],
- depend_files: [ pangocairo_toml, pangocairo_content_files ],
- build_by_default: true,
- install: true,
- install_dir: docs_dir,
- )
-endif
-
-if fontconfig_dep.found()
- pangoot_toml = configure_file(input: 'pangoot.toml.in',
- output: 'pangoot.toml',
- configuration: doc_conf)
-
- custom_target('pangoot-doc',
- input: pangoot_gir[0],
- output: 'PangoOT',
- command: [
- gidocgen,
- 'generate',
- '--quiet',
- '--add-include-path=@0@'.format(meson.current_build_dir() / '../pango'),
- '--config', pangoot_toml,
- '--output-dir=@OUTPUT@',
- '--no-namespace-dir',
- '--content-dir=@0@'.format(meson.current_source_dir()),
- '@INPUT@',
- ],
- depend_files: [ pangoot_toml, 'pango-name.png' ],
- build_by_default: true,
- install: true,
- install_dir: docs_dir,
- )
-
- pangofc_toml = configure_file(input: 'pangofc.toml.in',
- output: 'pangofc.toml',
- configuration: doc_conf)
-
- custom_target('pangofc-doc',
- input: pangofc_gir[0],
- output: 'PangoFc',
- command: [
- gidocgen,
- 'generate',
- '--quiet',
- '--add-include-path=@0@'.format(meson.current_build_dir() / '../pango'),
- '--config', pangofc_toml,
- '--output-dir=@OUTPUT@',
- '--no-namespace-dir',
- '--content-dir=@0@'.format(meson.current_source_dir()),
- '@INPUT@',
- ],
- depend_files: [ pangofc_toml, 'pango-name.png' ],
- build_by_default: true,
- install: true,
- install_dir: docs_dir,
- )
-endif
diff --git a/docs/pango.toml.in b/docs/pango.toml.in
index 9babafba..b68aecde 100644
--- a/docs/pango.toml.in
+++ b/docs/pango.toml.in
@@ -4,7 +4,7 @@ version = "@PANGO_VERSION@"
browse_url = "https://gitlab.gnome.org/GNOME/pango/"
repository_url = "https://gitlab.gnome.org/GNOME/pango.git"
website_url = "https://www.pango.org"
-authors = "Owen Taylor, Behdad Esfahbod"
+authors = "Owen Taylor, Behdad Esfahbod, Matthias Clasen"
logo_url = "pango-name.png"
license = "LGPL-2.1-or-later"
description = "Internationalized text layout and rendering"
@@ -24,34 +24,20 @@ search_index = true
description = "A text shaping library"
docs_url = "https://harfbuzz.github.io/"
- [dependencies."PangoCairo-1.0"]
- name = "PangoCairo"
- description = "Cairo support for Pango"
- docs_url = "../PangoCairo/"
+ [dependencies."Fribidi-0.0"]
+ name = "FriBidi"
+ description = "The Unicode bidirectional algorithm"
+ docs_url = "https://github.com/fribidi/fribidi"
- [dependencies."PangoFc-1.0"]
- name = "PangoFc"
- description = "Fontconfig support for Pango"
- docs_url = "../PangoFc/"
-
- [dependencies."PangoFT2-1.0"]
- name = "PangoFT2"
- description = "Freetype support for Pango"
- docs_url = "../PangoFT2/"
-
- [dependencies."PangoOT-1.0"]
- name = "PangoOT"
- description = "OpenType support for Pango"
- docs_url = "../PangoOT/"
-
- [dependencies."PangoXft-1.0"]
- name = "PangoXft"
- description = "Xft support for Pango"
- docs_url = "../PangoXft/"
+ [dependencies."Cairo-0.0"]
+ name = "cairo"
+ description = "A 2D graphics library"
+ docs_url = "https://www.cairographics.org/documentation/"
[theme]
name = "basic"
show_index_summary = true
+show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/"
@@ -62,6 +48,7 @@ content_files = [
"pango_markup.md",
"pango_fonts.md",
"pango_bidi.md",
+ "pango_cairo.md",
]
content_images = [
@@ -109,6 +96,7 @@ content_images = [
"line-height2-dark.png",
"line-height3-light.png",
"line-height3-dark.png",
+ "rotated-text.png",
]
urlmap_file = "urlmap.js"
diff --git a/docs/pango_bidi.md b/docs/pango_bidi.md
index 996e9781..1f2f0547 100644
--- a/docs/pango_bidi.md
+++ b/docs/pango_bidi.md
@@ -9,10 +9,10 @@ Some applications however, need some help to correctly handle bidirectional text
The [enum@Pango.Direction] type can be used with [method@Pango.Context.set_base_dir]
to instruct Pango about direction of text, though in most cases Pango detects
-that correctly and automatically. For application that need more direct
-control over bidirectional setting of text, Pango provides APIs such as
-[func@unichar_direction], [func@find_base_dir], [func@get_mirror_char]
-or [func@Pango.BidiType.for_unichar].
+text direction correctly and automatically.
+
+Applications that need more direct control of text direction should use
+[fribidi](http://fribidi.org/) directly.
Here is an example for mixed-direction text (shown in logical order):
@@ -38,15 +38,17 @@ vertical text parameters.
<source srcset="vertical-dark.png" media="(prefers-color-scheme: dark)">
<img alt="gravity west, rotated 90 degrees" align="right" valign="top" src="vertical-light.png">
</picture>
-The way this is implemented is through the concept of *gravity*. Gravity tells glyphs which way is down, so the gravity of normal Latin text is south. A gravity value of east means that glyphs will be rotated ninety degrees
-counterclockwise. So, to render vertical text one needs
-to set the gravity and rotate the layout using the matrix machinery already
-in place. This has the huge advantage that most algorithms working on a
-[class@Pango.Layout] do not need any change as the assumption that lines run
-in the X direction and stack in the Y direction holds even for vertical text
-layouts.
-
-Here is an example for some English text rendered with gravity west, rotated 90 degrees:
+The way this is implemented is through the concept of *gravity*. Gravity
+tells glyphs which way is down, so the gravity of normal Latin text is south.
+A gravity value of east means that glyphs will be rotated ninety degrees
+counterclockwise. So, to render vertical text one needs to set the gravity
+and rotate the layout using the matrix machinery already in place. This has
+the huge advantage that most algorithms working on a [class@Pango.Layout] do
+not need any change as the assumption that lines run in the X direction and
+stack in the Y direction holds even for vertical text layouts.
+
+Here is an example for some English text rendered with gravity west,
+rotated 90 degrees:
Applications should only need to set base gravity on [class@Pango.Context] in use,
and let Pango decide the gravity assigned to each run of text. This automatically
@@ -58,8 +60,8 @@ other scripts are rotated normally.
The correct way to set gravity on a layout is to set it on the context associated
with it using [method@Pango.Context.set_base_gravity]. The context of a layout can
be accessed using [method@Pango.Layout.get_context]. The currently set base gravity
-of the context can be accessed using [method@Pango.Context.get_base_gravity] and the
-*resolved* gravity of it using [method@Pango.Context.get_gravity]. The resolved
+of the context can be accessed using [method@Pango.Context.get_base_gravity] and
+the *resolved* gravity of it using [method@Pango.Context.get_gravity]. The resolved
gravity is the same as the base gravity for the most part, except that if the base
gravity is set to `PANGO_GRAVITY_AUTO`, the resolved gravity will depend on the
current matrix set on context, and is derived using [func@Pango.Gravity.get_for_matrix].
diff --git a/docs/pango_cairo.md b/docs/pango_cairo.md
index 2edd8ba8..e1370918 100644
--- a/docs/pango_cairo.md
+++ b/docs/pango_cairo.md
@@ -11,15 +11,14 @@ files, and to the screen on X and on other windowing systems. The functions in
this section allow using Pango to render to Cairo surfaces.
Using Pango with Cairo is straightforward. A `PangoContext` created with
-pango_cairo_font_map_create_context() can be used on any Cairo context (`cairo_t`),
+[func@Pango.cairo_create_context] can be used on any Cairo context (`cairo_t`),
but needs to be updated to match the current transformation matrix and target
-surface of the Cairo context using pango_cairo_update_context(). The convenience
-functions pango_cairo_create_layout() and pango_cairo_update_layout() handle
-the common case where the program doesn't need to manipulate the properties of
-the `PangoContext`.
+surface of the Cairo context using [func@Pango.cairo_update_context]. The
+convenience function [func@Pango.cairo_update_layout] handles the common case
+where the program doesn't need to manipulate the properties of the `PangoContext`.
When you get the metrics of a layout or of a piece of a layout using functions
-such as pango_layout_get_extents(), the reported metrics are in user-space
+such as [method@Pango.Lines.get_extents], the reported metrics are in user-space
coordinates. If a piece of text is 10 units long, and you call
`cairo_scale (cr, 2.0)`, it still is more-or-less 10 units long. However, the
results will be affected by hinting (that is, the process of adjusting the text
@@ -42,6 +41,7 @@ static void
draw_text (cairo_t *cr)
{
PangoLayout *layout;
+ PangoLines *lines;
PangoFontDescription *desc;
int i;
@@ -59,6 +59,7 @@ draw_text (cairo_t *cr)
/* Draw the layout N_WORDS times in a circle */
for (i = 0; i < N_WORDS; i++)
{
+ PangoRectangle ext;
int width, height;
double angle = (360. * i) / N_WORDS;
double red;
@@ -74,9 +75,11 @@ draw_text (cairo_t *cr)
/* Inform Pango to re-layout the text with the new transformation */
pango_cairo_update_layout (cr, layout);
- pango_layout_get_size (layout, &width, &height);
- cairo_move_to (cr, - ((double)width / PANGO_SCALE) / 2, - RADIUS);
- pango_cairo_show_layout (cr, layout);
+ lines = pango_layout_get_lines (layout);
+
+ pango_lines_get_extents (lines, NULL, &ext);
+ cairo_move_to (cr, - ((double)ext.width / PANGO_SCALE) / 2, - RADIUS);
+ pango_cairo_show_lines (cr, layout);
cairo_restore (cr);
}
diff --git a/docs/pango_fonts.md b/docs/pango_fonts.md
index 072c020f..21dd98c0 100644
--- a/docs/pango_fonts.md
+++ b/docs/pango_fonts.md
@@ -4,10 +4,10 @@ Title: Fonts and Glyphs
# Fonts
-Pango supports a flexible architecture where a particular rendering architecture
-can supply an implementation of fonts. The `PangoFont` structure represents an
-abstract rendering-system-independent font. Pango provides routines to list
-available fonts, and to load a font matching a given description.
+Pango supports a flexible architecture where platform-specific code can supply
+an implementation of font enumeration. The `PangoFont` structure represents a
+rendering-system-independent font. Pango provides routines to list available
+fonts, and to load a font matching a given description.
Conceptually, Pango groups fonts into faces and families which are identified
by a name. A *font face* provides the different sizes of a single font style.
@@ -22,14 +22,14 @@ The central object for dealing with the available fonts on a system and caching
loaded fonts is a [class@Pango.FontMap]. An application typically uses a single
font map.
-Since the font map depends on the rendering architecture in use, you'll need to
-use the backend function pango_cairo_font_map_get_default() to obtain the default
-fontmap. Depending on the platform, it will return a `PangoCairoFcFontMap`, a
-`PangoCairoWin32FontMap` or a `PangoCairoCoreTextFontMap`.
+Since the font map depends on the platform in use, you'll need to use the backend
+function [func@Pango.FontMap.get_default] to obtain the default fontmap. Depending
+on the platform, it will return a `PangoFcFontMap`, a `PangoDirectWriterFontMap`
+or a `PangoCoreTextFontMap`.
-Once you have a fontmap, you can enumerate the available font families with
-[method@Pango.FontMap.list_families]. To enumerate the faces of a font family,
-use [method@Pango.FontFamily.list_faces].
+Once you have a fontmap, you can enumerate the available font families using
+the [iface@Gio.ListModel] implementation of the fontmap. To enumerate the faces
+of a font family, use the [iface@Gio.ListModel] implementation of the font family.
# Font Descriptions
@@ -55,7 +55,7 @@ and clustering information (i.e. which glyphs correspond to which characters).
![A glyph string](rects3.png)
A glyph is identified by a [alias@Pango.Glyph], which is a numeric ID. Note that
-glyph IDs are font-specific: the same character can be represented by diffferent
+glyph IDs are font-specific: the same character can be represented by different
glyph IDs in different fonts.
The mapping between characters and glyphs is in general neither 1-1 nor a map:
diff --git a/docs/pango_markup.md b/docs/pango_markup.md
index 80ed1656..909c1a39 100644
--- a/docs/pango_markup.md
+++ b/docs/pango_markup.md
@@ -12,8 +12,7 @@ font or size attributes will influence the font selection that is happening duri
itemization, font features and letterspacing attributes will influence shaping, and
color or underline attributes will be used for rendering.
-Pango uses a simple structs for individual attributes, such as
-[struct@Pango.AttrColor] or [struct@Pango.AttrFontDesc]. Each attribute has a type,
+Pango uses a simple structs for individual attributes. Each attribute has a type,
and a start and end index that determine the range of characters that the attribute
applies to. See the [enum@Pango.AttrType] enumeration for all the possible
attribute types.
@@ -99,8 +98,7 @@ weight
font_variant
variant
: One of 'normal', 'small-caps', 'all-small-caps', 'petite-caps', 'all-petite-caps',
- 'unicase', 'title-caps'. Values other than 'normal' and 'small-caps' are available
- since 1.50.
+ 'unicase', 'title-caps'.
font_stretch
stretch
@@ -157,12 +155,12 @@ rise
baseline_shift
: Vertical displacement. In contrast to rise, baseline_shift attributes are cumulative.
The value can be a length in Pango units or in points (e.g. '5pt'), or 'superscript'
- or 'subscript'. Available since 1.50.
+ or 'subscript'.
font_scale:
: Font size change. The possible values are 'superscript', 'subscript' or 'small-caps'.
This is similar to the font_size values 'smaller' or 'larger', but uses font metrics
- to find the new size. Available since 1.50.
+ to find the new size.
strikethrough
: 'true' or 'false' whether to strike through the text.
@@ -196,28 +194,25 @@ show
insert_hyphens
: 'true' or 'false' to indicate whether hyphens should be inserted when breaking
- lines in the middle of words. Available since Pango 1.44.
+ lines in the middle of words.
allow_breaks
-: 'true' or 'false' to indicate whether breaking lines is allowed. Available
- since Pango 1.44.
+: 'true' or 'false' to indicate whether breaking lines is allowed.
line_height
: Overrides the line height. The value can be either a factor (< 1024) that is
used to scale up the logical extents of runs or an absolute value (in 1024th
of a point).
- Available since Pango 1.50.
text_transform
: Specifies how characters are transformed during shaping. The values can be
- 'none', 'lowercase', 'uppercase' or 'capitalize'. Support for text transformation
- was added in Pango 1.50.
+ 'none', 'lowercase', 'uppercase' or 'capitalize'.
segment
-: Overrides word or sentence boundaries. The value can be 'word' or 'sentence',
- to indicate that the span should be treated as a single word or sentence.
- Overlapping segments will be split to allow this, and line breaks will be
- adjusted accordingly. Available since Pango 1.50.
+: Overrides word or sentence boundaries. The value can be 'word', 'sentence',
+ or 'paragraph', to indicate that the span should be treated as a single word,
+ sentence or paragraph. Overlapping segments will be split to allow this, and
+ line breaks will be adjusted accordingly.
## Convenience Tags
diff --git a/docs/pango_rendering.md b/docs/pango_rendering.md
index fe80ef3f..029a81b7 100644
--- a/docs/pango_rendering.md
+++ b/docs/pango_rendering.md
@@ -19,21 +19,21 @@ Itemization
character. Use [func@Pango.itemize] to itemize text.
Shaping
-: converts characters into glyphs. Use [func@Pango.shape],
- [func@Pango.shape_full] or [func@Pango.shape_item] to shape text.
+: converts characters into glyphs. Use [func@Pango.shape] or
+ [func@Pango.shape_item] to shape text.
Line Breaking
: determines where line breaks should be inserted into a sequence of glyphs.
The functions [func@Pango.default_break], [func@Pango.tailor_break] and
[func@Pango.attr_break] determine possible line breaks. The actual line
- breaking is done by [class@Pango.Layout].
+ breaking is done by [class@Pango.LineBreaker].
Justification
: adjusts inter-word spacing to form lines of even length. This is done by
- [class@Pango.Layout].
+ [struct@Pango.Line].
Rendering
: takes a string of positioned glyphs, and renders them onto a surface.
This is accomplished by a [class@Pango.Renderer] object. The functions
- pango_cairo_show_glyph_string() and pango_cairo_show_layout() use a
- [class@Pango.Renderer] to draw text onto a cairo surface.
+ [func@Pango.cairo_show_glyph_string] and [func@Pango.cairo_show_layout]
+ use a [class@Pango.Renderer] to draw text onto a cairo surface.
diff --git a/docs/pango_xft.md b/docs/pango_xft.md
deleted file mode 100644
index 340506d2..00000000
--- a/docs/pango_xft.md
+++ /dev/null
@@ -1,26 +0,0 @@
-Title: Xft Fonts and Rendering
-
-The Xft library is a library for displaying fonts on the X window
-system; internally it uses the fontconfig library to locate font
-files, and the FreeType library to load and render fonts. The
-Xft backend is the recommended Pango font backend for screen
-display with X. (The Cairo back end is another possibility.)
-
-Using the Xft backend is generally straightforward;
-[func@PangoXft.get_context] creates a context for a specified display
-and screen. You can then create a [class@Pango.Layout] with that context
-and render it with [func@PangoXft.render_layout]. At a more advanced
-level, the low-level fontconfig options used for rendering fonts
-can be affected using [func@PangoXft.set_default_substitute], and
-[func@PangoXft.substitute_changed].
-
-A range of functions for drawing pieces of a layout, such as individual
-layout lines and glyphs strings are provided. You can also directly
-create a [class@PangoXft.Renderer]. Finally, in some advanced cases,
-it is useful to derive from [class@PangoXft.Renderer]. Deriving from
-[class@PangoXft.Renderer] is useful for two reasons. One reason is be
-to support custom attributes by overriding `PangoRendererClass` virtual
-functions like 'prepare_run' or 'draw_shape'. The other reason is to
-customize exactly how the final bits are drawn to the destination by
-overriding the `PangoXftRendererClass` virtual functions
-'composite_glyphs' and 'composite_trapezoids'.
diff --git a/docs/pangocairo.toml.in b/docs/pangocairo.toml.in
deleted file mode 100644
index 1e45744b..00000000
--- a/docs/pangocairo.toml.in
+++ /dev/null
@@ -1,42 +0,0 @@
-[library]
-namespace = "PangoCairo"
-version = "@PANGO_VERSION@"
-browse_url = "https://gitlab.gnome.org/GNOME/pango/"
-repository_url = "https://gitlab.gnome.org/GNOME/pango.git"
-website_url = "https://www.pango.org"
-authors = "Owen Taylor, Behdad Esfahbod"
-logo_url = "pango-name.png"
-license = "LGPL-2.1-or-later"
-description = "Cairo support for Pango"
-dependencies = [ "Pango-1.0", "cairo-1.0" ]
-devhelp = true
-search_index = true
-
- [dependencies."Pango-1.0"]
- name = "Pango"
- description = "A library for layout out and rendering of text"
- docs_url = "../Pango/"
-
- [dependencies."cairo-1.0"]
- name = "Cairo"
- description = "A vector graphics library"
- docs_url = "https://www.cairographics.org/manual/"
-
-[theme]
-name = "basic"
-show_index_summary = true
-
-[source-location]
-base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/"
-
-[extra]
-content_files = [
- "pango_cairo.md",
-]
-
-content_images = [
- "pango-name.png",
- "rotated-text.png"
-]
-
-urlmap_file = "urlmap.js"
diff --git a/docs/pangofc.toml.in b/docs/pangofc.toml.in
deleted file mode 100644
index 2eafa239..00000000
--- a/docs/pangofc.toml.in
+++ /dev/null
@@ -1,39 +0,0 @@
-[library]
-namespace = "PangoFc"
-version = "@PANGO_VERSION@"
-browse_url = "https://gitlab.gnome.org/GNOME/pango/"
-repository_url = "https://gitlab.gnome.org/GNOME/pango.git"
-website_url = "https://www.pango.org"
-authors = "Owen Taylor, Behdad Esfahbod"
-logo_url = "pango-name.png"
-license = "LGPL-2.1-or-later"
-description = "Fontconfig support for Pango"
-dependencies = [ "Pango-1.0", "fontconfig-2.0" ]
-devhelp = true
-search_index = true
-
- [dependencies."Pango-1.0"]
- name = "Pango"
- description = "A library for layout out and rendering of text"
- docs_url = "../Pango/"
-
- [dependencies."fontconfig-2.0"]
- name = "Fontconfig"
- description = "A font configuration and enumeration library"
- docs_url = "https://www.fontconfig.org"
-
-[theme]
-name = "basic"
-show_index_summary = true
-
-[source-location]
-base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/"
-
-[extra]
-
-content_images = [
- "pango-name.png"
-]
-
-urlmap_file = "urlmap.js"
-
diff --git a/docs/pangoft2.toml.in b/docs/pangoft2.toml.in
deleted file mode 100644
index 881d49fc..00000000
--- a/docs/pangoft2.toml.in
+++ /dev/null
@@ -1,39 +0,0 @@
-[library]
-namespace = "PangoFT2"
-version = "@PANGO_VERSION@"
-browse_url = "https://gitlab.gnome.org/GNOME/pango/"
-repository_url = "https://gitlab.gnome.org/GNOME/pango.git"
-website_url = "https://www.pango.org"
-authors = "Owen Taylor, Behdad Esfahbod"
-logo_url = "pango-name.png"
-license = "LGPL-2.1-or-later"
-description = "Freetype support for Pango"
-dependencies = [ "Pango-1.0", "freetype2-2.0" ]
-devhelp = true
-search_index = true
-
- [dependencies."Pango-1.0"]
- name = "Pango"
- description = "A library for layout out and rendering of text"
- docs_url = "../Pango/"
-
- [dependencies."freetype2-2.0"]
- name = "Freetype"
- description = "A font loading and rendering library"
- docs_url = "https://www.freetype.org"
-
-[theme]
-name = "basic"
-show_index_summary = true
-
-[source-location]
-base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/"
-
-[extra]
-
-content_images = [
- "pango-name.png"
-]
-
-urlmap_file = "urlmap.js"
-
diff --git a/docs/pangoot.toml.in b/docs/pangoot.toml.in
deleted file mode 100644
index b2a23b19..00000000
--- a/docs/pangoot.toml.in
+++ /dev/null
@@ -1,33 +0,0 @@
-[library]
-namespace = "PangoOT"
-version = "@PANGO_VERSION@"
-browse_url = "https://gitlab.gnome.org/GNOME/pango/"
-repository_url = "https://gitlab.gnome.org/GNOME/pango.git"
-website_url = "https://www.pango.org"
-authors = "Owen Taylor, Behdad Esfahbod"
-logo_url = "pango-name.png"
-license = "LGPL-2.1-or-later"
-description = "OpenType support for Pango"
-dependencies = [ "Pango-1.0" ]
-devhelp = true
-search_index = true
-
- [dependencies."Pango-1.0"]
- name = "Pango"
- description = "A library for layout out and rendering of text"
- docs_url = "../Pango/"
-
-[theme]
-name = "basic"
-show_index_summary = true
-
-[source-location]
-base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/"
-
-[extra]
-
-content_images = [
- "pango-name.png"
-]
-
-urlmap_file = "urlmap.js"
diff --git a/docs/pangoxft.toml.in b/docs/pangoxft.toml.in
deleted file mode 100644
index baf583e3..00000000
--- a/docs/pangoxft.toml.in
+++ /dev/null
@@ -1,41 +0,0 @@
-[library]
-namespace = "PangoXft"
-version = "@PANGO_VERSION@"
-browse_url = "https://gitlab.gnome.org/GNOME/pango/"
-repository_url = "https://gitlab.gnome.org/GNOME/pango.git"
-website_url = "https://www.pango.org"
-authors = "Owen Taylor, Behdad Esfahbod"
-logo_url = "pango-name.png"
-license = "LGPL-2.1-or-later"
-description = "Xft support for Pango"
-dependencies = [ "Pango-1.0", "xft-2.0" ]
-devhelp = true
-search_index = true
-
- [dependencies."Pango-1.0"]
- name = "Pango"
- description = "A library for layout out and rendering of text"
- docs_url = "../Pango/"
-
- [dependencies."xft-2.0"]
- name = "Xft"
- description = "X11 client-side font rendering library"
- docs_url = "https://x.org"
-
-[theme]
-name = "basic"
-show_index_summary = true
-
-[source-location]
-base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/"
-
-[extra]
-content_files = [
- "pango_xft.md"
-]
-
-content_images = [
- "pango-name.png"
-]
-
-urlmap_file = "urlmap.js"