diff --git a/Apollo/assets/js/controllers/examAttendanceCtrl.js b/Apollo/assets/js/controllers/examAttendanceCtrl.js
index 0ed9b24e..d10c9705 100644
--- a/Apollo/assets/js/controllers/examAttendanceCtrl.js
+++ b/Apollo/assets/js/controllers/examAttendanceCtrl.js
@@ -283,14 +283,18 @@ $scope.isLoaderTxt = "Loading...";
var doc1 = new jsPDF('l', 'pt');
// doc1.setPage(10);
doc1.autoTableSetDefaults({
- styles: {cellPadding: 3.0, fontSize: 12, width: 7 },
+ // rowWidth: 'wrap',
+ columnWidth: 'wrap',
+ styles: {cellPadding: 3.0, fontSize: 7, height:70, overflow: 'linebreak',columnWidth: 'wrap'},
headerStyles: {fillColor: [245, 245, 240], textColor: 0}
});
var doc2 = new jsPDF('l', 'pt');
// doc2.setPage(10);
doc2.autoTableSetDefaults({
- styles: {cellPadding: 5.0, fontSize: 7.5, height:70 },
+ // rowWidth: 'wrap',
+ columnWidth: 'wrap',
+ styles: {cellPadding: 5.0, fontSize: 7, height:70},
headerStyles: {fillColor: [245, 245, 240], textColor: 0}
});
@@ -313,8 +317,8 @@ $scope.isLoaderTxt = "Loading...";
var heading = $rootScope.pdfuname+' '+$rootScope.pdfbatch+' Examination'+' '+'Center'+' '+$rootScope.pdfcenter['CenterName']+' Attendance of '+ $scope.pdfExamDateToDisplay+' Forenoon Session ';
// var heading1='Attendance of '+$scope.pdfExamDateToDisplay+'Forenoon Session';
- doc1.setFontSize(12);
- doc1.setFontStyle('bold');
+ doc1.setFontSize(9);
+ doc1.setFontStyle('bold');
//doc1.text(60,30,heading);
var heading_length = heading.length;
console.log(heading_length);
@@ -338,7 +342,7 @@ $scope.isLoaderTxt = "Loading...";
doc1.text(heading_start_point,30,heading);
- doc1.setFontSize(12);
+ doc1.setFontSize(9);
doc1.setFontStyle('bold');
//doc1.text(70,45,heading1);
// doc1.text(heading1_start_point,45,heading1);
@@ -350,8 +354,9 @@ $scope.isLoaderTxt = "Loading...";
var heading = $rootScope.pdfuname+' '+$rootScope.pdfbatch+' Examination'+' '+'Center'+' '+$rootScope.pdfcenter['CenterName']+' Attendance of '+ $scope.pdfExamDateToDisplay+' After Noon Session';
// var heading1='Attendance of '+$scope.pdfExamDateToDisplay+'After Noon Session';
- doc2.setFontSize(12);
- doc2.setFontStyle('bold');
+ doc2.setFontSize(9);
+ doc2.setFont("helvetica");
+ //doc2.setFontStyle('bold');
var heading_length = heading.length;
console.log(heading_length);
var heading_start_point = 0;
@@ -369,8 +374,9 @@ $scope.isLoaderTxt = "Loading...";
console.log('else');
}
doc2.text(heading_start_point,30,heading);
- doc2.setFontSize(12);
- doc2.setFontStyle('bold');
+ doc2.setFontSize(9);
+ doc2.setFont("helvetica");
+ //doc2.setFontStyle('bold');
// doc2.text(heading1_start_point,45,heading1);
};
diff --git a/Apollo/assets/views/hallticket/examAttendancePDF.html b/Apollo/assets/views/hallticket/examAttendancePDF.html
index e944b753..820aa621 100644
--- a/Apollo/assets/views/hallticket/examAttendancePDF.html
+++ b/Apollo/assets/views/hallticket/examAttendancePDF.html
@@ -26,10 +26,10 @@