Skip to content

Commit

Permalink
Alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Jun 12, 2019
1 parent d444e1e commit 6cc5b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/pdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fn add_address_to_page(current_layer: &PdfLayerReference, font: &IndirectFontRef

let strs = split_to_max(&address, 39, 39); // No spaces, so user can copy the address
for i in 0..strs.len() {
current_layer.use_text(strs[i].clone(), 12, Mm(55.0), Mm(ypos+15.0-((i*5) as f64)), &font);
current_layer.use_text(strs[i].clone(), 12, Mm(55.0), Mm(ypos+20.0-((i*5) as f64)), &font);
}
}

Expand Down

0 comments on commit 6cc5b87

Please sign in to comment.