how to rotate matrix scroll by 90 degrees in code

If you look at your code, it is using printLED(). In particular, it uses this line:

   int c = font8x8[(number * 7) + a];      // Index into character table to get row data

All you need to do is to rewrite that line.