decklist icon indicating copy to clipboard operation
decklist copied to clipboard

Add UTF support

Open april opened this issue 11 years ago • 14 comments

Unicode sucks in PDF... can we make it work?

april avatar Sep 26 '14 19:09 april

Like mentioned in #19, this issue is now fixed. (ex: Lim Dûl's Vault)

Nightfirecat avatar Oct 20 '15 06:10 Nightfirecat

Is this fixed and can be closed?

tooomm avatar Dec 05 '17 14:12 tooomm

It's only fixed for some latin characters. I believe there is a very new version of jsPDF that has Unicode support. So I'll likely work on it at some point over the holidays and see if I can make it work. :)

april avatar Dec 05 '17 18:12 april

That are awesome news!

Didn't know it got just partially fixed...

tooomm avatar Dec 05 '17 21:12 tooomm

According to MrRio/jsPDF#12, full UTF-8 support is implemented in master, but not yet released. I can confirm that the latest release (1.3.5) does not have working UTF-8 support, so we will need to wait for the next release to address this issue.

Nightfirecat avatar Apr 03 '18 18:04 Nightfirecat

Is there any info when the next release is coming?

jangia avatar Apr 19 '18 06:04 jangia

Based on what I found from reading the issues on jsPDF, a beta version was released for 1.4.0 but was found to be buggy. There's been effectively no communication since then, so I don't have that information.

Nightfirecat avatar Apr 19 '18 16:04 Nightfirecat

The long wait continues, sorry. :(

april avatar Apr 19 '18 18:04 april

We didnt release a buggy beta. ;) We got just very very busy

Uzlopak avatar May 08 '18 08:05 Uzlopak

等吧

crazyair avatar May 16 '18 10:05 crazyair

@april jsPDF 1.4.0 has been released: https://github.com/MrRio/jsPDF/releases/tag/v.1.4.0

If I find the time, I'll look at using it in a branch and seeing if it works.

Nightfirecat avatar May 27 '18 20:05 Nightfirecat

1.4.1 just got released, so that's probably a good place for us to start.

april avatar Jun 07 '18 04:06 april

And by us, I mean I'll take a look at this when I can. :)

april avatar Jun 07 '18 04:06 april

I tried dropping it right in and testing locally. It did change the behavior, but it still wasn't the expected "working" behavior. It might require adding in a custom font to work, but I haven't tested that on my end yet.

Nightfirecat avatar Jun 07 '18 04:06 Nightfirecat