Wetty font problems

I'm having problems getting CP437 fonts working the way they should.
They display, but the problem is that there are "lines" that go through the ansi. As seen here.

Note that i've tried a lot of different fonts, and they all produce that problem.

Anyone know what the cause of this problem might be?

Thank you.

That looks like what I would naively assume to be spacing between lines.

I don't know about WeTTY, but I'd assume there is a CSS parameter that might have some influence over this.

The issue you’re describing, @ignatius, where “lines” appear through the ANSI characters when displaying CP437 fonts, is likely tied to how your terminal emulator or application handles specific aspects of font rendering. Potential causes include:

  • Line Spacing or Character Height Settings: Some terminal emulators have settings that may create gaps or overlaps when rendering CP437 fonts.

  • Lack of Optimization for CP437 ANSI Art: Not all terminal emulators are designed to fully support CP437 or bitmap-style fonts, leading to rendering issues.

  • Incorrect Code Page (437): If the terminal isn’t set to use CP437, characters may be misinterpreted, causing display anomalies.

  • Font Smoothing or Anti-Aliasing: Modern systems often apply font smoothing by default, which can interfere with bitmap fonts like CP437. Disabling this feature may help.

In summary, @ignatius, there are multiple reasons why this issue might occur, each dependent on your specific setup.

I’d also ask: did you research your system’s compatibility with CP437 fonts prior to starting your project to ensure everything aligns with your goals? If so, any additional details about your setup might help pinpoint the root cause!

Note: Please do not post images hosted externally. These links expire over time and cause future forum users problems. Upload images in the composer window here using this button:

Screenshot 2025-01-07 at 9.27.39 AM

I'm closing this thread due to lack of motivation.