freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Some KDE352 problems FT221


From: Werner LEMBERG
Subject: Re: [ft-devel] Some KDE352 problems FT221
Date: Sat, 27 May 2006 16:59:36 +0200 (CEST)

> I'm trying to upgrade to KDE352 and I'm hitting some problems with FT221.
> Specifically:
> 
> kdegraphics-3.5.2/ksvg/impl/libs/libtext2path/src
> GlyphTracer.cpp: In member function `FT_Outline_Funcs*
> T2P::GlyphTracer::outlineFuncs()':
> GlyphTracer.cpp:65: error: invalid conversion from `int (*)(FT_Vector*,
> void*)' to `int (*)(const FT_Vector*, void*)'
> GlyphTracer.cpp:66: error: invalid conversion from `int (*)(FT_Vector*,
> void*)' to `int (*)(const FT_Vector*, void*)'
> GlyphTracer.cpp:67: error: invalid conversion from `int (*)(FT_Vector*,
> FT_Vector*, void*)' to `int (*)(const FT_Vector*, const FT_Vector*,
> void*)'
> GlyphTracer.cpp:68: error: invalid conversion from `int (*)(FT_Vector*,
> FT_Vector*, FT_Vector*, void*)' to `int (*)(const FT_Vector*, const
> FT_Vector*, const FT_Vector*, void*)'
> 
> Anybody else come across this (I don't think its been reported before)?

You have to update those prototypes to add the `const' keyword.

>From the CHANGES file:

    - The following callback function types have changed slightly (by
      adding the `const' keyword where appropriate):

        FT_Outline_MoveToFunc
        FT_Outline_LineToFunc
        FT_Outline_ConicToFunc
        FT_Outline_CubicToFunc
        FT_SpanFunc
        FT_Raster_RenderFunc

        FT_Glyph_TransformFunc
        FT_Renderer_RenderFunc
        FT_Renderer_TransformFunc


    Werner




reply via email to

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