質問編集履歴

1

ソースコードの修正

2018/05/23 07:33

投稿

atmn3356
atmn3356

スコア157

test CHANGED
File without changes
test CHANGED
@@ -48,9 +48,9 @@
48
48
 
49
49
  x = 260 , y = 665;
50
50
 
51
- doc.fontSize(54).text(post[0], x, y); // 画像に書き込む処理
51
+ for(var i = 0 ; i < post_cnt ; i++){
52
52
 
53
- for(var i = 1 ; i < post_cnt ; i++){
53
+ doc.fontSize(54).text(post[i], x, y);
54
54
 
55
55
  if( i == 3){
56
56
 
@@ -62,8 +62,6 @@
62
62
 
63
63
  }
64
64
 
65
- doc.fontSize(54).text(post[i], x, y);
66
-
67
65
  }
68
66
 
69
67
  ```