You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src_c/doc/font_doc.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
#defineDOC_PYGAMEFONTGETFONTS "get_fonts() -> list of strings\nget all available fonts"
9
9
#defineDOC_PYGAMEFONTMATCHFONT "match_font(name, bold=False, italic=False) -> path\nfind a specific font on the system"
10
10
#defineDOC_PYGAMEFONTSYSFONT "SysFont(name, size, bold=False, italic=False) -> Font\ncreate a Font object from the system fonts"
11
-
#defineDOC_PYGAMEFONTFONT "Font(filename, size) -> Font\nFont(pathlib.Path, size) -> Font\nFont(object, size) -> Font\ncreate a new Font object from a file"
11
+
#defineDOC_PYGAMEFONTFONT "Font(filename=None, size=20) -> Font\nFont(filename, size) -> Font\nFont(pathlib.Path, size) -> Font\nFont(object, size) -> Font\ncreate a new Font object from a file"
12
12
#defineDOC_FONTBOLD "bold -> bool\nGets or sets whether the font should be rendered in (faked) bold."
13
13
#defineDOC_FONTITALIC "italic -> bool\nGets or sets whether the font should be rendered in (faked) italics."
14
14
#defineDOC_FONTUNDERLINE "underline -> bool\nGets or sets whether the font should be rendered with an underline."
0 commit comments