Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14251eb

Browse files
tacaswellQuLogic
andauthored
DOC: drop in-code alignment
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent e836f9a commit 14251eb

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/ft2font_wrapper.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -641,15 +641,15 @@ const char *PyFT2Font_load_char__doc__ =
641641
"*flags* can be a bitwise-or of the LOAD_XXX constants;\n"
642642
"the default value is LOAD_FORCE_AUTOHINT.\n"
643643
"Return value is a Glyph object, with attributes\n\n"
644-
"- width # glyph width\n"
645-
"- height # glyph height\n"
646-
"- bbox # the glyph bbox (xmin, ymin, xmax, ymax)\n"
647-
"- horiBearingX # left side bearing in horizontal layouts\n"
648-
"- horiBearingY # top side bearing in horizontal layouts\n"
649-
"- horiAdvance # advance width for horizontal layout\n"
650-
"- vertBearingX # left side bearing in vertical layouts\n"
651-
"- vertBearingY # top side bearing in vertical layouts\n"
652-
"- vertAdvance # advance height for vertical layout\n";
644+
"- width: glyph width\n"
645+
"- height: glyph height\n"
646+
"- bbox: the glyph bbox (xmin, ymin, xmax, ymax)\n"
647+
"- horiBearingX: left side bearing in horizontal layouts\n"
648+
"- horiBearingY: top side bearing in horizontal layouts\n"
649+
"- horiAdvance: advance width for horizontal layout\n"
650+
"- vertBearingX: left side bearing in vertical layouts\n"
651+
"- vertBearingY: top side bearing in vertical layouts\n"
652+
"- vertAdvance: advance height for vertical layout\n";
653653

654654
static PyObject *PyFT2Font_load_char(PyFT2Font *self, PyObject *args, PyObject *kwds)
655655
{
@@ -679,15 +679,15 @@ const char *PyFT2Font_load_glyph__doc__ =
679679
"*flags* can be a bitwise-or of the LOAD_XXX constants;\n"
680680
"the default value is LOAD_FORCE_AUTOHINT.\n"
681681
"Return value is a Glyph object, with attributes\n\n"
682-
"- width # glyph width\n"
683-
"- height # glyph height\n"
684-
"- bbox # the glyph bbox (xmin, ymin, xmax, ymax)\n"
685-
"- horiBearingX # left side bearing in horizontal layouts\n"
686-
"- horiBearingY # top side bearing in horizontal layouts\n"
687-
"- horiAdvance # advance width for horizontal layout\n"
688-
"- vertBearingX # left side bearing in vertical layouts\n"
689-
"- vertBearingY # top side bearing in vertical layouts\n"
690-
"- vertAdvance # advance height for vertical layout\n";
682+
"- width: glyph width\n"
683+
"- height: glyph height\n"
684+
"- bbox: the glyph bbox (xmin, ymin, xmax, ymax)\n"
685+
"- horiBearingX: left side bearing in horizontal layouts\n"
686+
"- horiBearingY: top side bearing in horizontal layouts\n"
687+
"- horiAdvance: advance width for horizontal layout\n"
688+
"- vertBearingX: left side bearing in vertical layouts\n"
689+
"- vertBearingY: top side bearing in vertical layouts\n"
690+
"- vertAdvance: advance height for vertical layout\n";
691691

692692
static PyObject *PyFT2Font_load_glyph(PyFT2Font *self, PyObject *args, PyObject *kwds)
693693
{

0 commit comments

Comments
 (0)