Commit f74b1083 authored by Marc Duez's avatar Marc Duez

pdf.js : color sequence V and J gene

parent d4f7d200
......@@ -297,7 +297,7 @@ PDF.prototype = {
//V
var str;
this.doc.setTextColor(120, 120, 120)
this.doc.setTextColor(255, 179, 0)
for (j = 0; j < (Math.floor(seqV.length / 80) + 1); j++) {
str = seqV.substring(j * 80, (j + 1) * 80)
this.doc.text(this.marge, this.y, str);
......@@ -312,7 +312,6 @@ PDF.prototype = {
seqN = ' ' + seqN
}
this.doc.setFont('courier', 'bold'); // Underline could be better...
this.doc.setTextColor(0, 0, 40)
for (j = 0; j < (Math.floor(seqN.length / 80) + 1); j++) {
......@@ -328,8 +327,7 @@ PDF.prototype = {
seqJ = ' ' + seqJ
}
this.doc.setFont('courier', 'normal');
this.doc.setTextColor(0, 0, 0)
this.doc.setTextColor(0, 155, 149)
for (j = 0; j < (Math.floor(seqJ.length / 80) + 1); j++) {
str = seqJ.substring(j * 80, (j + 1) * 80)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment