summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/m-east.pngbin0 -> 8380 bytes
-rw-r--r--docs/m-north.pngbin0 -> 8495 bytes
-rw-r--r--docs/m-south.pngbin0 -> 8295 bytes
-rw-r--r--docs/m-west.pngbin0 -> 7943 bytes
-rw-r--r--docs/pango.toml.in5
-rw-r--r--docs/pango_bidi.md3
-rw-r--r--docs/vertical.pngbin0 -> 3467 bytes
7 files changed, 8 insertions, 0 deletions
diff --git a/docs/m-east.png b/docs/m-east.png
new file mode 100644
index 00000000..1264c6f6
--- /dev/null
+++ b/docs/m-east.png
Binary files differ
diff --git a/docs/m-north.png b/docs/m-north.png
new file mode 100644
index 00000000..88dbb68c
--- /dev/null
+++ b/docs/m-north.png
Binary files differ
diff --git a/docs/m-south.png b/docs/m-south.png
new file mode 100644
index 00000000..227c9dcb
--- /dev/null
+++ b/docs/m-south.png
Binary files differ
diff --git a/docs/m-west.png b/docs/m-west.png
new file mode 100644
index 00000000..8ed4c84c
--- /dev/null
+++ b/docs/m-west.png
Binary files differ
diff --git a/docs/pango.toml.in b/docs/pango.toml.in
index 0b1cef06..6a52cf32 100644
--- a/docs/pango.toml.in
+++ b/docs/pango.toml.in
@@ -78,4 +78,9 @@ content_images = [
"align-left-justify.png",
"align-center-justify.png",
"align-right-justify.png",
+ "vertical.png",
+ "m-south.png",
+ "m-west.png",
+ "m-north.png",
+ "m-east.png",
]
diff --git a/docs/pango_bidi.md b/docs/pango_bidi.md
index 0e8612d1..1f77c1e0 100644
--- a/docs/pango_bidi.md
+++ b/docs/pango_bidi.md
@@ -29,6 +29,9 @@ in place. This has the huge advantage that most algorithms working on a
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: ![vertical english](vertical.png)
+
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
handles text with mixed scripts. A very common use is to set the context base
diff --git a/docs/vertical.png b/docs/vertical.png
new file mode 100644
index 00000000..0fd8d29c
--- /dev/null
+++ b/docs/vertical.png
Binary files differ