[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] (no subject)
From: |
David Turner |
Subject: |
Re: [Freetype] (no subject) |
Date: |
Thu, 16 Jan 2003 00:05:01 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 |
Hello Alper,
Alper Akçan wrote:
Hi,
I am using freetype 2.1.3, and using it for opening ttf fonts and text
drawing for my svgalib progs. in Linux.
I use ft_encoding_unicode as a parametre, but I could not manage to
show Turkish characters, I, Þ and Ð. Ü, Ç, Ö is ok.
I have tried arial.ttf and tims.ttf I know they include turkish fonts,
becouse I took them from windows XP's fonts dir. turkish font seen in
windows ;))
What should I do?
Hummmm... a common problem comes from the fact that "char" is signed
with certain compilers, hence a call like:
char* p = string;
gindex = FT_Get_Char_Index( face, *p );
will always set gindex to 0 for all non-ASCII characters (since they
correspond to *p < 0)
is this the case ??
Hope this helps,
- David Turner
- The FreeType Project (www.freetype.org)