freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] charmap question


From: Riccardo Cohen
Subject: Re: [Devel] charmap question
Date: Sat, 31 Aug 2002 22:38:49 +0100

Thanks a lot. I'll manage to change the charset.

Scott Long wrote:
> 
> Riccardo,
> 
> Your are correct. realchar must be a character code into the current
> charmap of the face.
> 
> The default charmap is Unicode, if that charmap is available. It
> should be safe to assume that all fonts have a Unicode charmap. At
> least, that has been my experience.
> 
> I am assuming that your strings are in some Windows format such as
> "OEM charset." In this case there should be Windows functions to
> convert the strings to Unicode. I don't have enough experience on
> Windows to tell you what those functions are, so you'll have to find
> them yourself.
> 
> Hope this helps,
> Scott
> 
> On Fri, 30 Aug 2002 15:09:01 +0100
>   Riccardo Cohen <address@hidden> wrote:
> >Hi,
> >I resend my question because I did not receive any answer.
> >
> >It seems that in
> >       FT_Load_Char(face,realchar,FT_LOAD_DEFAULT)
> >the realchar should be coded in the current charmap of the face
> >(unicode, big5, latin1 etc)
> >
> >1) is that true ? (I suppose so because when putting windows codes it
> >displays wrong chars and putting unicode codes it displays
> >perfectly).
> >
> >2) Well if true, how can I convert my string which is in MSWindows
> >charset ?
> >
> >3) Finally, should I always check the charset present in the face ?
> >or could I assume that unicode is always present ?
> >
> >Thanks a lot
> >
> >--
> >Riccardo Cohen
> >
> >Articque
> >Les Roches
> >37230 Fondettes
> >France
> >email = address@hidden
> >web = http://www.articque.com
> >tel: +33 02 47 49 90 49
> >fax: +33 02 47 49 91 49
> >
> >_______________________________________________
> >Devel mailing list
> >address@hidden
> >http://www.freetype.org/mailman/listinfo/devel
> >
> 
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel

-- 
Riccardo Cohen

Articque
Les Roches
37230 Fondettes
France
email = address@hidden
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49



reply via email to

[Prev in Thread] Current Thread [Next in Thread]