Skip to content

Fix unreadable/overflowing panel text; scale-2 + bounded labels; v3.5.3#19

Merged
CryptoJones merged 1 commit into
mainfrom
fix-header-meter-text-readability
Jul 5, 2026
Merged

Fix unreadable/overflowing panel text; scale-2 + bounded labels; v3.5.3#19
CryptoJones merged 1 commit into
mainfrom
fix-header-meter-text-readability

Conversation

@CryptoJones

Copy link
Copy Markdown
Owner

The problem (from CJ's screenshots)

The header, STEREO / METERS, and SPECTRUM panels drew labels at the small text scale in dim colors. VLC's I420 chroma subsampling smears thin, dim, colored text into an unreadable blur, and a couple of labels used a fixed x that overflowed their panel/window:

  • the track title + 44100HZ FFT 4096 LOG ran to/off the right edge,
  • CREST L/R / CLIP spilled past the STEREO panel border in the compact dashboard.

The tab labels already proved scale-2 text renders crisply — so the fix is to use that size everywhere, brighten it, and bound it.

Fixes

  • Header: title + status → scale-2, brighter, right-aligned to the window edge and truncated (new draw_text_right()), so they can't overflow.
  • STEREO / METERS: reworked to an adaptive layout — a fixed 156px readout column pinned to the right edge, L/R meters just left of it, vectorscope filling the rest. CORRELATION / CREST L/R / CLIP are scale-2 and bounded to the panel; the correlation marker is clamped inside its bar.
  • Spectrum: removed the redundant FFT nnnn label (the header shows it).
  • Swept the rest to scale-2 + brighter: waveform MID/SIDE/L/R, meter L/R, note cents/Hz readout, key-wheel center label, LUFS axis ticks. No scale-1 draw_text calls remain.

Generalized dix_text_w(text, scale); bumped DIX_VERSION to 3.5.3. Builds clean; deployed + re-sealed for verification.

🤖 Generated with Claude Code

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

The header, stereo meter, and spectrum panel drew labels at the small text scale
(scale 1) in dim colors, which VLC's I420 chroma subsampling smears into an
unreadable blur -- and a couple were positioned with a fixed x that overflowed
their panel/window on long strings (the track title ran off the right edge; the
CREST/CLIP readouts spilled past the STEREO panel border in the compact layout).

Fixes (the readable tab labels already proved scale-2 renders cleanly):
- Header title + status: scale-2, brighter, right-aligned to the window edge and
  truncated (new draw_text_right helper) so they can't overflow.
- STEREO / METERS: reworked to an adaptive layout -- a fixed 156px readout column
  pinned to the right edge, L/R meters just left of it, vectorscope filling the
  rest. CORRELATION / CREST L/R / CLIP are scale-2 and bounded to the panel; the
  correlation marker is clamped inside its bar.
- Spectrum: removed the redundant "FFT nnnn" label (the header already shows it).
- Bumped the remaining small labels to scale-2 + brighter: waveform MID/SIDE/L/R,
  meter L/R, note cents/Hz readout, key-wheel center label, LUFS axis ticks.

No scale-1 draw_text calls remain. Generalized dix_text_w(text, scale) and added
a forward declaration. Bumps DIX_VERSION to 3.5.3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JpVzsy8Wrc9DYEXns2Njzb
@CryptoJones
CryptoJones merged commit 3023583 into main Jul 5, 2026
6 checks passed
@CryptoJones
CryptoJones deleted the fix-header-meter-text-readability branch July 5, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant