Add new PNG images for clean and preview outputs
- Added `image_clean.png` to the output directory for the clean image representation. - Added `image_clean_preview.png` for the preview of the clean image. - Introduced `image_svg_clean.png` for the SVG clean image representation.
This commit is contained in:
@@ -10,6 +10,8 @@ from typing import Dict, List, Optional, Tuple, Any
|
||||
import sdl2
|
||||
import sdl2.ext
|
||||
|
||||
from runtime_paths import resolve_bundle_path
|
||||
|
||||
|
||||
class UIColors:
|
||||
"""Standard color palette for UI components"""
|
||||
@@ -47,14 +49,14 @@ class FontManager:
|
||||
def _find_default_font(self) -> Optional[str]:
|
||||
"""Find a suitable default font"""
|
||||
font_paths = [
|
||||
"assets/decterm.ttf",
|
||||
"./assets/terminal.ttf",
|
||||
"./assets/AmaticSC-Regular.ttf"
|
||||
resolve_bundle_path("assets/decterm.ttf"),
|
||||
resolve_bundle_path("assets/terminal.ttf"),
|
||||
resolve_bundle_path("assets/AmaticSC-Regular.ttf"),
|
||||
]
|
||||
|
||||
for path in font_paths:
|
||||
if os.path.exists(path):
|
||||
return path
|
||||
return str(path)
|
||||
return None
|
||||
|
||||
def _initialize_fonts(self):
|
||||
|
||||
Reference in New Issue
Block a user