dvipng
[Top][All Lists]
Advanced

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

[Fwd: Re: [Dvipng] Possible problem with dvipng version 1.8/FT fonts]


From: Jan-Åke Larsson
Subject: [Fwd: Re: [Dvipng] Possible problem with dvipng version 1.8/FT fonts]
Date: Tue, 16 May 2006 08:34:02 +0200
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050927)

Somehow this went off-list:

-------- Original Message --------
Subject: Re: [Dvipng] Possible problem with dvipng version 1.8/FT fonts
Date: Fri, 12 May 2006 15:25:55 +0200
From: Jan-Åke Larsson <address@hidden>
To: William S. Harwin <address@hidden>
References: <address@hidden>

William S. Harwin wrote:
> There may be a problem with loading FT fonts in version 1.8 of dvipng. I
> get the following error when running version 1.8
>    dvipng: Fatal error, cannot load FT char 78
> (char 78 is evidently the first character in my dvi file 'N')
> This is caused by the call to FT_Load_Glyp in ft.c
> Version 1.7 compiles and runs successfully on my system.

How odd. The only thing that has changed is

--- dvipng/ft.c 2005/09/30 13:54:55     1.20
+++ dvipng/ft.c 2006/03/27 14:55:40     1.21
@@ -44,7 +44,7 @@
     glyph_i = FT_Get_Char_Index( currentfont->face, c );
   if (FT_Load_Glyph( currentfont->face,    /* handle to face object */
                     glyph_i,              /* glyph index           */
-                    FT_LOAD_RENDER | FT_LOAD_NO_HINTING ))
+                    FT_LOAD_RENDER | FT_LOAD_TARGET_LIGHT ))
                                            /* load flags            */
     Fatal("cannot load FT char %d",c);
   ptr->xOffset = -currentfont->face->glyph->bitmap_left*shrinkfactor;



If you want to test this, reverse that change and try again.
/JÅ





reply via email to

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