Implemented pixel and char margin calculations in bitmap row data