freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] WINFONTS support


From: Huw D M Davies
Subject: Re: [Freetype] WINFONTS support
Date: Thu, 15 May 2003 10:46:52 +0100
User-agent: Mutt/1.4.1i

I submitted this from the wrong email address, so it's waiting
moderation.  Here it is again.  Sorry about the duplication.


On Tue, May 13, 2003 at 07:05:05PM +0200, Thomas Charbonnel wrote:
> Hi,
> 
> I'm in the process of migrating a Windows NT TCP/IP client server db
> application to Linux using Wine. One of the problems I encounter is that
> the client application seems to be very old and relies on a .FON special
> font to draw custom windows and tables in text mode. To cope with this I'm
> considering adding .FON support to wine through FreeType (as suggested on
> the wine-devel mailing list, FreeType supporting the .FON format). I wrote
> a little test program to load the .FON I'm interested in and dump
> informational fields from the FT_WinFNT_HeaderRec struct. My problem is
> that the FT_GetWinFNT_Header function fails with error code 6: Invalid
> argument. Is it possible that some .FON files are not supported ? I
> noticed too that the FT_Face_New call always succeeds, regardless of the
> face_index argument. It sounds to me like the specific .FON file I need
> has a strange format (it can be very old, back to the late 80's). Any idea
> about this ? I'm using FreeType 2.1.4.

You probably need to call FT_Set_Pixel_Size before calling
FT_GetWinFNT_Header.  FT_GetWinFNT_Header is a simple function, so it
shouldn't be too hard to figure out where it's failing.

If you need help with the Wine side of things then let me know, I
added FT_GetWinFNT_Header for this very purpose, but as yet haven't
had a chance to use it in Wine.

Huw.
-- 
Huw Davies
address@hidden



reply via email to

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