Commit d390c4e9 authored by Marc Duez's avatar Marc Duez

jspdf: debug anchor poistion

parent d7525e42
......@@ -239,6 +239,7 @@ var svgElementToPdf = function(element, pdf, options) {
if (node.hasAttribute('text-anchor')) {
switch (n.attr('text-anchor')) {
case 'end':
label_offset = name_length;
break;
case 'middle':
label_offset = name_length / 2;
......
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