Commit 57e84e56 authored by Dom Lachowicz's avatar Dom Lachowicz Committed by Dom Lachowicz

Fix build breakage caused by newer freetype versions

2006-07-20  Dom Lachowicz <cinamod@hotmail.com>

        * rsvg-text.c: Fix build breakage caused by newer freetype versions
        (https://sourceforge.net/project/shownotes.php?release_id=416463&group_id=3157).
        For some reason, they thought that breaking API compatability
        in such a low-level, widely-used library was ok.
parent 7cf7f341
2006-07-20 Dom Lachowicz <cinamod@hotmail.com>
* rsvg-text.c: Fix build breakage caused by newer freetype versions
(https://sourceforge.net/project/shownotes.php?release_id=416463&group_id=3157).
For some reason, they thought that breaking API compatability
in such a low-level, widely-used library was ok.
2006-06-28 Dom Lachowicz <cinamod@hotmail.com>
* rsvg-private.h: Use G_GNUC_PRETTY_FUNCTION so as to not depend on
......
......@@ -595,7 +595,7 @@ rsvg_text_vector_coords (RenderCtx *ctx,
}
static gint
moveto (FT_Vector *to,
moveto (const FT_Vector *to,
gpointer data)
{
RenderCtx * ctx;
......@@ -621,7 +621,7 @@ moveto (FT_Vector *to,
}
static gint
lineto (FT_Vector *to,
lineto (const FT_Vector *to,
gpointer data)
{
RenderCtx * ctx;
......@@ -645,8 +645,8 @@ lineto (FT_Vector *to,
}
static gint
conicto (FT_Vector *ftcontrol,
FT_Vector *to,
conicto (const FT_Vector *ftcontrol,
const FT_Vector *to,
gpointer data)
{
RenderCtx * ctx;
......@@ -676,9 +676,9 @@ conicto (FT_Vector *ftcontrol,
}
static gint
cubicto (FT_Vector *ftcontrol1,
FT_Vector *ftcontrol2,
FT_Vector *to,
cubicto (const FT_Vector *ftcontrol1,
const FT_Vector *ftcontrol2,
const FT_Vector *to,
gpointer data)
{
RenderCtx * ctx;
......@@ -757,10 +757,10 @@ rsvg_text_render_vectors (PangoFont *font,
{
static const FT_Outline_Funcs outline_funcs =
{
moveto,
lineto,
conicto,
cubicto,
(FT_Outline_MoveToFunc)moveto,
(FT_Outline_LineToFunc)lineto,
(FT_Outline_ConicToFunc)conicto,
(FT_Outline_CubicToFunc)cubicto,
0,
0
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment