Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/font_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ def __init__(self, config: Dict[str, Any]):
self.common_fonts = {
"press_start": "assets/fonts/PressStart2P-Regular.ttf",
"four_by_six": "assets/fonts/4x6-font.ttf",
"five_by_seven": "assets/fonts/5x7.bdf",
"cozette_bdf": "assets/fonts/cozette.bdf"
"five_by_seven": "assets/fonts/5x7.bdf"
# Note: cozette_bdf removed - font file not available
# To re-enable: download cozette.bdf from https://github.com/the-moonwitch/Cozette
# and add: "cozette_bdf": "assets/fonts/cozette.bdf"
}

# Size tokens for convenience
Expand Down
3 changes: 0 additions & 3 deletions web_interface/templates/v3/partials/fonts.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ <h3 class="text-md font-medium text-gray-900 mb-4">Element Font Overrides</h3>
<option value="">Use default</option>
<option value="press_start">Press Start 2P</option>
<option value="four_by_six">4x6 Font</option>
<option value="cozette_bdf">Cozette BDF</option>
<option value="matrix_light_6">Matrix Light 6</option>
</select>
</div>
Expand Down Expand Up @@ -166,7 +165,6 @@ <h3 class="text-md font-medium text-gray-900 mb-4">Font Preview</h3>
<select id="preview-family" class="form-control text-sm">
<option value="press_start">Press Start 2P</option>
<option value="four_by_six">4x6 Font</option>
<option value="cozette_bdf">Cozette BDF</option>
<option value="matrix_light_6">Matrix Light 6</option>
</select>
</div>
Expand Down Expand Up @@ -663,7 +661,6 @@ <h3 class="text-md font-medium text-gray-900 mb-4">Font Preview</h3>
const names = {
'press_start': 'Press Start 2P',
'four_by_six': '4x6 Font',
'cozette_bdf': 'Cozette BDF',
'matrix_light_6': 'Matrix Light 6'
};
return names[fontKey] || fontKey;
Expand Down