Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py	(revision 15237)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py	(revision 15238)
@@ -1035,11 +1035,13 @@
         pdf_data.append(Spacer(1, 20))
         colwidth = colWidths=[None] * len(data[0][0])
-        # The length of matric numbers can be different. We have to
-        # find the longest one.
-        maxlength_matric_no = 0
+        # Adjust size of the first 4 columns.
+        maxlength = [0,0,0,0]
         for line in data[0]:
-            if len(line[2]) > maxlength_matric_no:
-                maxlength_matric_no = len(line[2])
-        colwidth[2] = maxlength_matric_no * 0.225 * cm
+            for i in range(4):
+                if len(line[i]) > maxlength[i]:
+                    maxlength[i] = len(line[i])
+        for i in range(4):
+            colwidth[i] = maxlength[i] * 0.225 * cm
+        import pdb; pdb.set_trace()
         pdf_data += [Table(data[0], colwidth, style=CONTENT_STYLE)]
         # Process title if too long
