Preset size displayed in Serial Monitor

I can’t find the post on TRA where this came up.
1.Where can I enable a print line for the preset size when doing NEWFONT?
2. I assume some messages get skipped if there are too many at once? I don’t see them all every time.

  1. You can print out the size of the style like this:
template<class STYLE>
class StyleFactoryImpl : public StyleFactory {
  BladeStyle* make() override {
    STDOUT << "Style size = " << sizeof(STYLE) << "\n";
    return new STYLE();
  }
};

That extra line in the middle goes here:

  1. Messages should only get dropped when you’re not connected to the usb serial. When you are connected, all messages are supposed to show up.
1 Like

Perfect, thank you.

1 Like