scrnshtr icon indicating copy to clipboard operation
scrnshtr copied to clipboard

CJK characters are broken

Open dahlia opened this issue 10 years ago • 3 comments

Asian alphabets (e.g. Chinese characters) seems broken. The following screenshot shows how scrnshtr took http://hongminhee.org/. Pay attention to the three squares in the title.

httphongminheeorg-480x320-11-08-2015-05-45-11

dahlia avatar Aug 11 '15 05:08 dahlia

It seems rendered well if Chinese characters are styled using web fonts.

dahlia avatar Aug 11 '15 05:08 dahlia

@dahlia scrnshtr is using phantomjs to generate the screenshots so I'm not completely sure on what kind of character sets it supports. I'll leave the ticket open till I figure out a solution if one exists for this.

Thank you for pointing this out :+1:

skippednote avatar Aug 11 '15 05:08 skippednote

@dahlia I ran into the same problem. I think you can use your font file(.ttf) for Phantomjs on Heroku. Just put it in .fonts dir and git push heroku master. Here is an example :) httphongminheeorg-480x320-18-11-2015-02-56-38

hackugyo avatar Nov 18 '15 03:11 hackugyo