How can we post ASCII art on Facebook wall?

In my app, I have a requirement to post the ASCII art from my iPhone app onto the facebook wall post. But the problem I face is that facebook font (Lucida Console) Changes the formatting of my ASCII art. I have made my ASCII art in Courier New.

What can be done?

Is there a way I can post my ASCII art on facebook without having to re-format the whole thing?

Please Help and Suggest.

Thanks

Answers


Courier is a monospaced font. That means, that every letter has the same space. Thats why it is easy to use for ASCII art and popular for coding — as words in with same lentgh will always be at same positions.

from facebook css:

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

Lucida Grande is a propotional font. i.e. an i uses much less space than a m. Words in different lines won't match very well.

edit Have a look at this facebook group. The users compensate the absence of a monospaced font by

  1. using just symbols with roughly the same width
  2. filling room with short symbols like .

monospaced ♥♥'''''''''''''''♥♥ ♥♥'''''''''''''''♥♥

propotional ♥♥'''''''''''''''♥♥


Need Your Help

How do i validate a text field for minimum characters?

javascript forms validation

I'm am trying to Validate my text fields to only submit with the right number of characters. I tried the function below but it's being literal, only letting the number "10" submit and not characters

ListView inside Fragment inside Activity is not match_parent-ing?

android android-layout listview android-fragments

I'm using a Fragment inside an Activity and the ListView is located inside my Fragment.