diff options
author | Federico Mena Quintero <federico@gnome.org> | 2023-03-08 16:39:43 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2023-03-08 16:44:10 -0600 |
commit | b4cd38dc40d2a19e2a4b8d7e8cf796b744058fb8 (patch) | |
tree | 51d70fde1becf8e4e7dd5f1e39d1aaf5c52baac9 /devel-docs/text_layout.rst | |
parent | 8d3d14d010b11de8b8db6f2a9f7e550d18fe4523 (diff) | |
download | librsvg-b4cd38dc40d2a19e2a4b8d7e8cf796b744058fb8.tar.gz |
Fix documentation links now that the crate is called 'rsvg'
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/807>
Diffstat (limited to 'devel-docs/text_layout.rst')
-rw-r--r-- | devel-docs/text_layout.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel-docs/text_layout.rst b/devel-docs/text_layout.rst index cc485cac..e4346e61 100644 --- a/devel-docs/text_layout.rst +++ b/devel-docs/text_layout.rst @@ -155,17 +155,17 @@ sequence of spans. This is why you'll see that the code does this; start at ``Text::draw``: - Start with an empty list of chunks (`Text::make_chunks - <https://gnome.pages.gitlab.gnome.org/librsvg/internals/librsvg/text/struct.Text.html#method.make_chunks>`_). + <https://gnome.pages.gitlab.gnome.org/librsvg/internals/rsvg/text/struct.Text.html#method.make_chunks>`_). Push an empty initial chunk defined by the ``x`` and ``y`` coordinates of the ``<text>`` element. - Recursively call `children_to_chunks - <https://gnome.pages.gitlab.gnome.org/librsvg/internals/librsvg/text/fn.children_to_chunks.html>`_ + <https://gnome.pages.gitlab.gnome.org/librsvg/internals/rsvg/text/fn.children_to_chunks.html>`_ on the children of the ``<text>`` element, to create chunks and spans for them. - `TSpan::to_chunks - <https://gnome.pages.gitlab.gnome.org/librsvg/internals/librsvg/text/struct.TSpan.html#method.to_chunks>`_ + <https://gnome.pages.gitlab.gnome.org/librsvg/internals/rsvg/text/struct.TSpan.html#method.to_chunks>`_ sees if the span has ``x`` or ``y`` attributes; if so, it pushes a new empty chunk with those coordinates. Then it recursively calls ``children_to_chunks`` to grab its character content and children. @@ -258,7 +258,7 @@ Bidi handling The ``unicode-bidi`` and ``direction`` properties get handled together. The `BidiControl -<https://gnome.pages.gitlab.gnome.org/librsvg/internals/librsvg/text/struct.BidiControl.html>`_ +<https://gnome.pages.gitlab.gnome.org/librsvg/internals/rsvg/text/struct.BidiControl.html>`_ struct computes which Unicode control characters need to be inserted at the start and end of a ``<tspan>``'s text; SVG authors use these properties to override text direction when inserting LTR or RTL text |