freetype
[Top][All Lists]
Advanced

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

Re: [ft] FT_New_Face


From: Wenlin Institute
Subject: Re: [ft] FT_New_Face
Date: Sun, 17 Sep 2006 14:15:15 -0700


On Sep 17, 2006, at 11:48 AM, Sergey Tolstov wrote:

You already provide a way for platform specific file loading -
FT_Open_Face. It is good enough for Windows platform.

That's good news. Could anyone point to sample code for using FT_Open_Face on MS-Windows?

Tom


Sergey

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Werner LEMBERG
Sent: Sunday, September 17, 2006 10:39 AM
To: address@hidden
Cc: address@hidden
Subject: Re: [ft] FT_New_Face


[...] on Win32, when the filename is known to be UTF-8, it can be
converted to UTF-16, and _wfopen() can be called instead of
fopen().
That works.  (I've tested it on XP with text files, but not with
fonts.) It might be good for FT_New_Face to support that method on
Win32, if it doesn't already.

We don't have special code for Win32 as far as I can
remember.  In case you think there is something we can
improve please send a patch.


    Werner


_______________________________________________
Freetype mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype





文林 Wenlin Institute, Inc.        Software for Learning Chinese
E-mail: address@hidden     Web: http://www.wenlin.com
Telephone: 1-877-4-WENLIN (1-877-493-6546)
☯









reply via email to

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