schedulemaker icon indicating copy to clipboard operation
schedulemaker copied to clipboard

Save as png image bugs

Open kuangweizhang opened this issue 11 years ago • 4 comments

Character truncated when to long. Previous day class name overlap on second day class name when the first name is long.

kuangweizhang avatar Sep 08 '14 20:09 kuangweizhang

Yeah, this is an issue with ImageMagick not supporting dynamic text resizing in SVGs. There is nothing easy I can do to fix it right off the bat, other than hard-truncating text at a random interval, but even that isn't always perfect. Ironically, the best way to get the png version of your schedule is to use Internet Explorer (yeah, I know...) because you can right-click svg's and save them directly as images, which you can't in FF/Chrome/Safari as far as I know. But I'll leave this open, as there might be a way still to handle it server-side.

bgrawi avatar Sep 12 '14 23:09 bgrawi

I'm seeing the font change from condensed to non-condensed when saving as an image.

On the site: screen shot 2014-11-11 at 9 50 08 am

In the image. screen shot 2014-11-11 at 9 50 17 am

harlanhaskins avatar Nov 11 '14 17:11 harlanhaskins

Another good way to save as a PNG would be to just print-screen…

ghost avatar Nov 15 '14 07:11 ghost

Hmm, I just noticed that it is a completely different font. I'll talk to our sysadmins about installing the right font on the server. But yeah, that is a known problem, and yes @Undeterminant's solution is obviously the most reliable lol. One of the main reasons we wanted image processing on the server was for facebook previews which was where a lot of traffic was coming from.

bgrawi avatar Nov 17 '14 05:11 bgrawi