Some ttf fonts don't display correct

I’m writing a program that uses SDL_TTF for displaying
letters and symbols.

Letters are ok, but for symbols if
I use one of these fonts (from windows/fonts):

wingdings
webdings
symbols

I can see only empty squares instead of chars.

Can anyone help me?

Thanks,
Enzo.-------------------------------------------------------------------------
NUOVA WEBMAIL DI INTERFREE!

Da oggi Interfree offre a tutti i suoi utenti un nuovissimo servizio
di WebMail tra i pi? evoluti e una qualit? professionale che si rinnova
di continuo:

  • Controllo antivirus
  • Filtro antispamming
  • Configurazione di account esterni
  • Accesso gratuito a InterDrive dove salvare e organizzare i tuoi
    file da qualsiasi computer e in qualsiasi momento …

Iscriviti gratuitamente all’indirizzo http://www.interfree.it e prova il
nuovo servizio!

Lo Staff di Interfree

It could be because the font you are using doesn’t support the symbol
you want to display…On Sep 30, 2004, at 1:59 AM, enzogupi at interfree.it wrote:

I’m writing a program that uses SDL_TTF for displaying
letters and symbols.

Letters are ok, but for symbols if
I use one of these fonts (from windows/fonts):

wingdings
webdings
symbols

I can see only empty squares instead of chars.

Can anyone help me?

Thanks,
Enzo.



NUOVA WEBMAIL DI INTERFREE!

Da oggi Interfree offre a tutti i suoi utenti un nuovissimo servizio
di WebMail tra i pi? evoluti e una qualit? professionale che si rinnova
di continuo:

  • Controllo antivirus
  • Filtro antispamming
  • Configurazione di account esterni
  • Accesso gratuito a InterDrive dove salvare e organizzare i tuoi
    file da qualsiasi computer e in qualsiasi momento …

Iscriviti gratuitamente all’indirizzo http://www.interfree.it e prova
il
nuovo servizio!

Lo Staff di Interfree


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I’m writing a program that uses SDL_TTF for displaying
letters and symbols.

Letters are ok, but for symbols if
I use one of these fonts (from windows/fonts):

wingdings
webdings
symbols

I can see only empty squares instead of chars.

Can anyone help me?

I’ve never used those fonts, but I have seen that problem. There are
several possible causes. You might be using the wrong version of libttf.
Older versions don’t handle all the features of some fonts. You might be
using the version of libttf that is legal to use in the US. That version
of the library does not implement certain patented features of the TTF
specification. It doesn’t implement them because it can not legal do so.
The fonts you are using might be bitmap fonts and I have noticed that
SDL_ttf doesn’t work well with bitmap fonts. I don’t know if the problem
is in libttf or in SDL_ttf. I have just noticed a problem. And then, you
might just be asking for glyphs that do not exist in those fonts. The
little box is the default glyph that you get when you ask for
nonexistent glyphs.

My suggestion would be to check the glyph indexes first, then check the
version of libttf you have installed. If neither of those work, then
find a different set of fonts to use.

		Bob PendletonOn Thu, 2004-09-30 at 03:59, enzogupi at interfree.it wrote:

Thanks,
Enzo.


NUOVA WEBMAIL DI INTERFREE!

Da oggi Interfree offre a tutti i suoi utenti un nuovissimo servizio
di WebMail tra i pi? evoluti e una qualit? professionale che si rinnova
di continuo:

  • Controllo antivirus
  • Filtro antispamming
  • Configurazione di account esterni
  • Accesso gratuito a InterDrive dove salvare e organizzare i tuoi
    file da qualsiasi computer e in qualsiasi momento …

Iscriviti gratuitamente all’indirizzo http://www.interfree.it e prova il
nuovo servizio!

Lo Staff di Interfree


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

±-------------------------------------+