distributed icon indicating copy to clipboard operation
distributed copied to clipboard

→ breaks the PDF export

Open jd1 opened this issue 8 years ago • 7 comments

Expected Behavior

When I export a board including a → in an item, I expect that the PDF export contains this character and the layout isn't broken.

Actual Behavior

The PDF export contains !’ instead of → and the layout isn't broken for this item.

Example

This is the export from a testing board.

jd1 avatar Sep 26 '17 14:09 jd1

Beginner here, I want to look into this :)

Ninban avatar Oct 22 '17 17:10 Ninban

@Carouelle please go ahead

glauberramos avatar Oct 22 '17 19:10 glauberramos

It seems the problem is caused by the jsPDF dependency, with support for some kinds of Unicode character codes being broken. The issue can be recreated on their demo page quite easily. http://rawgit.com/MrRio/jsPDF/master/

I've submitted an issue on the project's page and I may start to look deeper into it some time tomorrow. https://github.com/MrRio/jsPDF/issues/1485

Ninban avatar Oct 23 '17 04:10 Ninban

take a look into this https://github.com/MrRio/jsPDF/issues/12

glauberramos avatar Oct 23 '17 04:10 glauberramos

I suspected this, and also got confirmation on my issue. So I guess our best course of action is to wait for the implementation of utf-8?

Ninban avatar Oct 23 '17 10:10 Ninban

I guess so, or we can take a look into another library, but that would require rewrite the whole feature

glauberramos avatar Oct 29 '17 22:10 glauberramos

I think we should hold that for now

glauberramos avatar Oct 29 '17 22:10 glauberramos