diff --git a/Doc/source/designspaceLib/readme.rst b/Doc/source/designspaceLib/readme.rst index 9eaf67772..bb0412af7 100644 --- a/Doc/source/designspaceLib/readme.rst +++ b/Doc/source/designspaceLib/readme.rst @@ -121,7 +121,7 @@ Attributes - ``path``: string. Absolute path to the source file, calculated from the document path and the string in the filename attr. MutatorMath + Varlib. - ``layerName``: string. The name of the layer in the source to look for +- ``layerName``: string. The name of the layer in the source to look for outline data. Default ``None`` which means ``foreground``. - ``font``: Any Python object. Optional. Points to a representation of this source font that is loaded in memory, as a Python object @@ -130,7 +130,7 @@ Attributes writer will not use this attribute. It is up to the user of ``designspaceLib`` to either load the resource identified by ``filename`` and store it in this field, or write the contents of this field to the - disk and make ```filename`` point to that. + disk and make ``filename`` point to that. - ``name``: string. Optional. Unique identifier name for this source, if there is one or more ``instance.glyph`` elements in the document. MutatorMath. @@ -363,7 +363,7 @@ Document xml structure - + @@ -515,8 +515,8 @@ Example .. code:: xml - - + + .. 3-source-element: @@ -561,7 +561,7 @@ There are two meanings for the ``lib`` element: 2. Document and instance lib - Example: - .. code:: python + .. code:: xml @@ -646,14 +646,14 @@ Example - + - - - - - + + + + + .. 4-instance-element: @@ -805,14 +805,14 @@ Example - + - + A note about this glyph @@ -936,12 +936,12 @@ Example with ``conditionsets``. All conditions in a conditionset must be true. - - + + - - + +