Merging upstream version 0.8.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
6ba57b7a59
commit
bcafed80ea
2 changed files with 7 additions and 0 deletions
|
@ -46,6 +46,9 @@ html_theme_options = {
|
|||
'collapse_navigation': False,
|
||||
}
|
||||
|
||||
# Favicon URL
|
||||
html_favicon = 'https://www.courtbouillon.org/static/images/favicon.png'
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
|
|
|
@ -280,6 +280,10 @@ class Stream(Object):
|
|||
"""Set text rendering mode."""
|
||||
self.stream.append(_to_bytes(mode) + b' Tr')
|
||||
|
||||
def set_text_rise(self, height):
|
||||
"""Set text rise."""
|
||||
self.stream.append(_to_bytes(height) + b' Ts')
|
||||
|
||||
def set_line_cap(self, line_cap):
|
||||
"""Set line cap style."""
|
||||
self.stream.append(_to_bytes(line_cap) + b' J')
|
||||
|
|
Loading…
Add table
Reference in a new issue