Opened 13 years ago

Closed 12 years ago

#393 closed defect (fixed)

UTF-8 characters in ASCII art do not get into thumbnails

Reported by: Aleksej Owned by: joar
Priority: minor Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

UTF-8 art: https://mediagoblin.com/u/aleksej/m/utf-8-test-for-the-upgraded-mg-com/

Thumbnail: https://mediagoblin.com/mgoblin_media/media_entries/4f36eaecd1d13f16d40002b3/thumbnail.png

Before the detection fix, thumbnails were generated in the ISO-8859-x encoding even if the encoding was detected correctly.

Change History (4)

comment:1 by joar, 13 years ago

Status: newassigned

I think this is because of Inconsolata's lack of coverage för unicode characters.

I'm dropping a link to http://stackoverflow.com/questions/586503/complete-monospaced-unicode-font here, I'm considering we switch to DejaVu Sans Mono.

It would probably be a good idea to make the font configurable while we're at it, the colors used to render the ASCII thumbnail should be configurable too.

comment:2 by joar, 13 years ago

The thumbnail font for ASCII art is now configurable.

comment:3 by Christopher Allan Webber, 12 years ago

Component: component1programming

comment:4 by joar, 12 years ago

Resolution: fixed
Status: assignedclosed

I think we can close this case now that we have the option to configure the font used for thumbnail generation.

Note: See TracTickets for help on using tickets.