本文介绍了在jspdf中没有获得所需的输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
CODE:
//This html is store in a div of someclass
<a>"i"
"f you think the perfect yo clone has not been build then there is ...."
我得到了这样的输出!
i got the output like this!!
和我的主代码在这里
var question_main = document.getElementsByClassName("someclass");
question = $(question_main).html();
var specialElementHandlers_main = {
'#test': function(element, renderer){
return true;
}
};
doc.fromHTML(question, 15, length, {
'width': 175,
'elementHandlers': specialElementHandlers_main
});
为什么我在py pdf中得到一些其他值(by)?如何解决它?
是否有任何方法可以消除i nd 之间的差距...... 。我认为他们会产生一些问题? p>
What wrong in that why i am getting some othere values(by) in py pdf? How to solve it?Is there any way so that i can remove the gap between "i" nd "f you...I think they are creating some problems?
推荐答案
这是因为jspdf不支持UTF-8字符不要
This is because jspdf does not support UTF-8 characters don’t to don't
这篇关于在jspdf中没有获得所需的输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!