开发者

How can I make ASCII text that will look good on Facebook?

I'm making a .NET application that will take any picture and spit out ASCII text that will appear just like the image.

So far, it works well when the font is Lucida Console. Facebook doesn't use this font and thus break the art illusion.

Any thoughts, ideas and sugges开发者_开发知识库tions on how to tackle this problem? It's pretty a pretty neat idea! :)

EDIT:

Facebooks default font is:

font-family: "lucida grande", "tahoma", "verdana", "arial", sans-serif;

How do you suggest I solve this unique problem. :)

EDIT 2: Added more relevant tags.


Here's an interesting "bended" idea:

There's a set of "Mathematical monospace" characters in Unicode, that always render using a monospace font. On my computer, even though the font chosen is DejaVu Sans, the font used to render these characters changes to DejaVu Sans Mono.

The ranges are:

  • U+1D670 to U+1D689 for A-Z
  • U+1D68A to U+1D6A3 for a-z
  • U+1D7F6 to U+1D7FF for 0-9

Try and see if you can see these on your computer:

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜