freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Problem with Type 42 incremental downloading font


From: Werner LEMBERG
Subject: Re: [ft-devel] Problem with Type 42 incremental downloading font
Date: Tue, 22 Nov 2005 14:57:10 +0100 (CET)

> --- freetype.h        2005-08-15 16:05:44.000000000 -0400
> +++ freetype_1.h      2005-11-21 15:49:16.000000000 -0500
> @@ -1875,7 +1875,9 @@
>                        const FT_Byte*  file_base,
>                        FT_Long         file_size,
>                        FT_Long         face_index,
> -                      FT_Face        *aface );
> +                      FT_Face        *aface,
> +                      FT_Int          num_params,
> +                      FT_Parameter*   params );

This patch isn't possible.  We won't change the public API.

> --- t42objs.c 2005-08-15 16:05:56.000000000 -0400
> +++ t42objs_1.c       2005-11-21 16:01:59.000000000 -0500
> @@ -263,7 +263,9 @@
>                                  face->ttf_data,
>                                  face->ttf_size,
>                                  0,
> -                                &face->ttf_face );
> +                                &face->ttf_face,
> +                                num_params,
> +                                params );
>      if ( error )
>        goto Exit;

FT_New_Memory_Face is just a small wrapper around FT_Open_Face This
should be rewritten to use FT_Open_Face directly.  Can you do that?


    Werner




reply via email to

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