Skip to content

Conversation

@PhMajerus
Copy link
Contributor

Some fixes for #2

  • Split the softfont string into more readable header and characters chunks.
  • Keep track of currently active charset so we can output font changes only when necessary.

Hopefully this fixes the bus error with the long string, and makes it both more readable and slightly more efficient.

Split the softfont string into more readable header and characters chunks.
Keep track of currently active charset so we can output font changes only when necessary.
@PhMajerus
Copy link
Contributor Author

PhMajerus commented Jan 21, 2025

Not sure if you'd consider those improvements though, feel free to discard this and use the puts version if you prefer the black box DECDLD approach and want to avoid the loop.

If you want more details on soft fonts, the VT420 programme's regerence guide contains a better explanation than previous models.
I also have some more VT220 soft fonts in https://github.com/PhMajerus/Documents/tree/main/VT220%20SoftFonts

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