fixed typo
Python CI / test (push) Successful in 29s

This commit is contained in:
2025-06-07 15:32:48 +02:00
parent b57cc9f7ea
commit b424c2d831
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ def apply_element_font_styles(font: Font, tag_name: str, css_styles: Dict[str, s
style=style,
decoration=decoration,
background=background,
langauge=language
language=language
)
+2 -2
View File
@@ -34,7 +34,7 @@ class Font:
style: FontStyle = FontStyle.NORMAL,
decoration: TextDecoration = TextDecoration.NONE,
background: Optional[Tuple[int, int, int, int]] = None,
langauge = "en_EN"):
language = "en_EN"):
"""
Initialize a Font object with the specified properties.
@@ -54,7 +54,7 @@ class Font:
self._style = style
self._decoration = decoration
self._background = background if background else (255, 255, 255, 0)
self.language = langauge
self.language = language
# Load the font file or use default
self._load_font()