我们如何在Facebook的墙上贴出ASCII艺术? [英] How can we post ASCII art on Facebook wall?
问题描述
在我的应用程序,我有一个要求从我的iPhone应用程序的ASCII艺术发布到Facebook的墙帖子。但我面临的问题是facebook字体(Lucida控制台)更改我的ASCII艺术的格式。我已经在Courier New中制作了我的ASCII艺术。
可以做什么?
可以在Facebook上发布我的ASCII艺术,而无需重新格式化整个事情?
请帮助和建议。
感谢
Courier是一个等宽字体。这意味着,每个字母都有相同的空间。这就是为什么它很容易使用ASCII艺术和流行的编码 - 因为与相同lentng的词总是在相同的位置。
从Facebook css:
font-family:'lucida grande',tahoma,verdana,arial,sans-serif;
Lucida Grande 是一种特殊字体。即i使用比m小得多的空间。
编辑请查看此facebook群组。用户通过
- 仅使用大致相同宽度的符号来补偿不等宽字体
- c>
等宽
♥♥''''''''''''''''♥♥
'''''''''''''''♥♥
支配
♥♥'' ''''''''''''''♥♥
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
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
- using just symbols with roughly the same width
- filling room with short symbols like
.
monospaced
♥♥'''''''''''''''♥♥
♥♥'''''''''''''''♥♥
propotional
♥♥'''''''''''''''♥♥
这篇关于我们如何在Facebook的墙上贴出ASCII艺术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!