Abbey icon indicating copy to clipboard operation
Abbey copied to clipboard

"COMPLETAS" text is not showing properly

Open luzbel opened this issue 4 years ago • 2 comments

Miss that patch from VigasocoSDL's latest version https://github.com/luzbel/VigasocoSDL/commit/a5ece07e0bdeb99cb2c28c0bc139e165feee6597

luzbel avatar Feb 14 '21 01:02 luzbel

Well for the moment I made a small class to replace the whole set of characters in the rom to use True Type Fonts. It's far better and will make it easier to include new languages, but I still need to understand how the original code works to just replace it with my custom printf function.

Samuel85 avatar Feb 14 '21 01:02 Samuel85

Feel free to ask about the code here. I don't have all the knowledge original author (Manuel Abadia) has , but definitely can help here.

Main issue here is text is not mapped character by character. In the original cpc code, "-" character is used to display "PL" on screen. So, the text in ROM is not "COMPLETAS" but "COM-./>"

If you feel confortable with spanish comments (don't you?) , there is a detailed explanation in the commmit.

If you are going to translate to TrueType Fonts, keep in mind:

  1. maybe you need to modify texts and change "COM-./>" to "COMPLETAS" and modify code to avoid special treatment for those special characters
  2. be sure you have enough space in screen. "COMPLETAS" doesn't fit with the embedded font displaying character by character

luzbel avatar Feb 14 '21 11:02 luzbel