Re: [AD] ASCII art vs images |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 7 Mar 2012 21:50:55 +0100, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> On 7 Mar 2012, at 20:41 , SiegeLord wrote:
> > The pandoc dot unescaping bug got me thinking about replacing the ASCII
> > art images in al_grab_font_from_bitmap and al_get_font_line_height with
> > png images. However, it occurred to me that the whole issue of the bug
> > was that the manpages are affected, and they don't support images at
> > all. Is it even desirable to have images replace the ASCII art (I think
> > they would certainly be nicer to look at/be more clear, but the manpages
> > will be adversely affected)?
>
> I'd say it's desirable for the HTML/PDF output. So ideally we would provide an image for those and an ASCII-art fallback for the man/info pages.
> Is that possible?
Not out of the box, but we lightly preprocess the input before passing
it to Pandoc so we could add some new ad-hoc directives. Or better,
ask for/implement a new feature in Pandoc.
Peter