Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 137684
Collapse All | Expand All

(-)mozilla/gfx/src/ps/nsType1.cpp.orig (-7 / +7 lines)
Lines 81-88 Link Here
81
  int            wmode;
81
  int            wmode;
82
} FT2PT1_info;
82
} FT2PT1_info;
83
83
84
static int cubicto(FT_Vector *aControlPt1, FT_Vector *aControlPt2, 
84
static int cubicto(const FT_Vector *aControlPt1, const FT_Vector *aControlPt2, 
85
                   FT_Vector *aEndPt, void *aClosure);
85
                   const FT_Vector *aEndPt, void *aClosure);
86
static int Type1CharStringCommand(unsigned char **aBufPtrPtr, int aCmd);
86
static int Type1CharStringCommand(unsigned char **aBufPtrPtr, int aCmd);
87
static int Type1EncodeCharStringInt(unsigned char **aBufPtrPtr, int aValue);
87
static int Type1EncodeCharStringInt(unsigned char **aBufPtrPtr, int aValue);
88
88
Lines 173-179 Link Here
173
}
173
}
174
174
175
static PRBool
175
static PRBool
176
sideWidthAndBearing(FT_Vector *aEndPt, FT2PT1_info *aFti)
176
sideWidthAndBearing(const FT_Vector *aEndPt, FT2PT1_info *aFti)
177
{
177
{
178
  int aw = 0;
178
  int aw = 0;
179
  int ah = 0;
179
  int ah = 0;
Lines 216-222 Link Here
216
}
216
}
217
217
218
static int
218
static int
219
moveto(FT_Vector *aEndPt, void *aClosure)
219
moveto(const FT_Vector *aEndPt, void *aClosure)
220
{
220
{
221
  FT2PT1_info *fti = (FT2PT1_info *)aClosure;
221
  FT2PT1_info *fti = (FT2PT1_info *)aClosure;
222
  FT_UShort upm = fti->face->units_per_EM;
222
  FT_UShort upm = fti->face->units_per_EM;
Lines 253-259 Link Here
253
}
253
}
254
254
255
static int
255
static int
256
lineto(FT_Vector *aEndPt, void *aClosure)
256
lineto(const FT_Vector *aEndPt, void *aClosure)
257
{
257
{
258
  FT2PT1_info *fti = (FT2PT1_info *)aClosure;
258
  FT2PT1_info *fti = (FT2PT1_info *)aClosure;
259
  FT_UShort upm = fti->face->units_per_EM;
259
  FT_UShort upm = fti->face->units_per_EM;
Lines 279-285 Link Here
279
}
279
}
280
280
281
static int
281
static int
282
conicto(FT_Vector *aControlPt, FT_Vector *aEndPt, void *aClosure)
282
conicto(const FT_Vector *aControlPt, const FT_Vector *aEndPt, void *aClosure)
283
{
283
{
284
  FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;
284
  FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;
285
  FT_UShort upm = ftinfo->face->units_per_EM;
285
  FT_UShort upm = ftinfo->face->units_per_EM;
Lines 311-317 Link Here
311
}
311
}
312
312
313
static int
313
static int
314
cubicto(FT_Vector *aControlPt1, FT_Vector *aControlPt2, FT_Vector *aEndPt,
314
cubicto(const FT_Vector *aControlPt1, const FT_Vector *aControlPt2, const FT_Vector *aEndPt,
315
        void *aClosure)
315
        void *aClosure)
316
{
316
{
317
  FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;
317
  FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;

Return to bug 137684