PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Font documentation problem (minor thing, but still...)

This is the first time I've looked at the built-in font support in GD for real, and I noticed something in the docs that threw me for a few minutes... If you look at the online docs, where it's talking about the string of characters used to create the font, it doesn't seem to match what FontMaker has. For instance, FontMaker starts with space, then exclamation point, then quotes. Now, go look at the docs, and what it SEEMS to say the string should be is space, exclamation point, BACKSLASH, then quotes.

As I said, it threw me for a few minutes, until I realized that it's because the docs is listed with escape sequences. There is a backslash-backslash sequence later on that made me realize this.

So, just a minor thing, but for the docs to be clear you should reformat it to remove the escape sequences.
Keep in mind that you can define your own character set when you load the font. You don't have to use the default character set.
fzammetti: Actually I think the documentation is quite fine as it is. The documentation uses the TEXT macro (i.e. TEXT("...")), and should be familiar to most EVC users.. I previously used a string without escape characters, and got several emails from people simply pasting the string into their code and got compile errors. :) I'll add a small not instead to emphasize that the string uses escape codes....
That's a good point Johan, I didn't think of that. Well, like I said, it's certainly a minor thing in any case (unless you were one of the people that got compiler errors I suppose :) ). Thanks!
Thanks for pointing it out nevertheless! I've changed the documentation for the next release to mention that the string uses escape codes.. :)