mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-05-23 21:13:31 +00:00
Compare commits
1 Commits
fix/bdf-fo
...
fix/web-ui
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5426da2a7 |
@@ -843,6 +843,14 @@ async function updateFontPreview() {
|
||||
return;
|
||||
}
|
||||
|
||||
// BDF bitmap fonts cannot be rendered server-side — skip the API call
|
||||
if (family.toLowerCase().endsWith('.bdf')) {
|
||||
previewImage.style.display = 'none';
|
||||
loadingText.style.display = 'block';
|
||||
loadingText.textContent = 'Preview not available for BDF bitmap fonts';
|
||||
return;
|
||||
}
|
||||
|
||||
// Show loading state
|
||||
loadingText.textContent = 'Loading preview...';
|
||||
loadingText.style.display = 'block';
|
||||
|
||||
Reference in New Issue
Block a user