diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-08 18:57:51 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-08 18:57:51 +0000 |
commit | d6598871faaf2a44052ad1b738f4a8b84fe12cd0 (patch) | |
tree | 31359a318aece9dc17487fbe3d232dd4c4ce7370 /docs/pango_bidi.md | |
parent | 2fc159927c7b36be2d59edd991ecbdb558705284 (diff) | |
parent | 7bf8488061b9c4d744b2d01bd58da53c6f2d8c6a (diff) | |
download | pango-d6598871faaf2a44052ad1b738f4a8b84fe12cd0.tar.gz |
Merge branch 'layout-docs' into 'main'
docs: More details
See merge request GNOME/pango!394
Diffstat (limited to 'docs/pango_bidi.md')
-rw-r--r-- | docs/pango_bidi.md | 3 |
1 files changed, 3 insertions, 0 deletions
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 |