Here is my code which provides sum of columns in footer.
drb.addGlobalFooterVariable(totalAmount, DJCalculation.SUM);
drb.addGlobalFooterVariable(basicAmount, DJCalculation.SUM);
drb.addGlobalFooterVariable(cgstColumn, DJCalculation.SUM);
drb.addGlobalFooterVariable(sgstColumn, DJCalculation.SUM);
But i don't know how to add styles to these footer variables. Also is it possible to resize fonts of entire report?