1
0
Fork 0

Merging upstream version 0.8.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-08 08:00:29 +01:00
parent 6ba57b7a59
commit bcafed80ea
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 7 additions and 0 deletions

View file

@ -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".

View file

@ -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')