Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
daf8f791
Commit
daf8f791
authored
Aug 19, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix stray backticks.
parent
6f50edfb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Doc/library/fm.rst
Doc/library/fm.rst
+1
-2
Doc/library/formatter.rst
Doc/library/formatter.rst
+2
-2
No files found.
Doc/library/fm.rst
View file @
daf8f791
...
...
@@ -86,8 +86,7 @@ Font handle objects support the following operations:
Returns a tuple giving some pertinent data about this font. This is an interface
to ``fmgetfontinfo()``. The returned tuple contains the following numbers:
``(``*printermatched*, *fixed_width*, *xorig*, *yorig*, *xsize*, *ysize*,
*height*, *nglyphs*``)``.
``(printermatched, fixed_width, xorig, yorig, xsize, ysize, height, nglyphs)``.
.. method:: font handle.getstrwidth(string)
...
...
Doc/library/formatter.rst
View file @
daf8f791
...
...
@@ -242,8 +242,8 @@ typically be provided by the application.
.. method:: writer.new_font(font)
Set the font style. The value of *font* will be ``None``, indicating that the
device's default font should be used, or a tuple of the form ``(
``*size*
,
*italic*, *bold*, *teletype*``
)``. Size will be a string indicating the size of
device's default font should be used, or a tuple of the form ``(
size
,
italic, bold, teletype
)``. Size will be a string indicating the size of
font that should be used; specific strings and their interpretation must be
defined by the application. The *italic*, *bold*, and *teletype* values are
Boolean values specifying which of those font attributes should be used.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment