"BB__ABB___BBABBB"
^^ ^^ ^^ ^^
"x___Ax____x_Ax_B" resulting screenImage, x represents the custom character
This corrupts subsequent character/font pairs in screenImage, resulting in the erroneous output.
I am now testing a custom version of the myString.replace() method that allows Font Pal's CC replacements of fontChar and fontFlags to occur only on even byte boundaries. There still seems to be another issue which needs attention before I post a working version again (hopefully onto GitHub).
Are you trying to use the editor on github? Don't. Use the Arduino IDE to write code. Use some IDE like VSCode to write markdown. Then just push those files to github.
Last year I wrote a couple of intro posts to git on this site. One of them walks through developing an application and shows most of the basic steps.
I don't have the link handy but search my user name and "git" and you should be able to find them.
Delta_G: By way of expanded feedback on your suggestions, I completely agree about the necessity of editing Arduino code only in the Arduino IDE because, after all the only way to move forward on code is to be able to compile and test without impediment!
However, for the GitHub README file, once I spent 10 minutes learning markdown commands, I cleaned up the Font-Pal readme file, adding markdowns for clarity, and will continue to maintain it in GitHub's editor, via web browser. It seems very adequate for that. Link to the GitHub repository: * Kiwiengr/
Not a folder. A branch. It will be the same folder. When you checkout master it will magically have the master version and when you check out dev it will magically have the dev version.
That is the beauty of git. You have one folder on your computer for all your other code to look for and git swaps out the versions of the files in place.
I would install a file manage extension that integrates git support right into the file manager GUI.
RabbitVCS for linux, or TortoiseGit or Git Extensions if you are running windows.
It makes things much simpler as you can do most git things from the file manager GUI vs the command line and your files will have various markers on them to indicate the file status.
It is incredibly useful to be able to see the file changes that have been made since the file was checked out.