Re: [AD] Loading non-unicode TTF fonts |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Fri, 31 Aug 2012 17:13:41 +0200, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> On 31 Aug 2012, at 16:41 , Michał Cichoń wrote:
>
> > If you're about to apply this patch I will insist on warning message.
>
> I'm not about to apply anything, someone else will have to do that or it'll have to wait until I get round to setting up my local Allegro sandbox to use git.
> Apart from that, what type of "warning message" do you mean? There is a note in the patch I included, but that could be clearer/more verbose. Do you mean a message printed to the Allegro log file? A message printed to the terminal? The latter doesn't sound like a great idea to me.
Definitely ALLEGRO_WARN at the least. It will help if some ever reports
a bug about Allegro drawing the wrong glyphs.
>
> Or the patch could be a bit better in checking whether the encoding it sets makes some sort of sense, for instance an encoding where the standard ANSI range is defined but nothing else.
>
I thought the idea to restrict to chars in ASCII range was reasonable.
Peter