[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Are there ever 3 offcurve point
From: |
Satpal Chander |
Subject: |
RE: Are there ever 3 offcurve point |
Date: |
Mon, 6 Mar 2000 09:00:43 -0000 |
Hi all,
I have had alook at the FT_Outlines. I take it that the function,
FT_Decompose_Outline splits the outline into the various types of curve.
Is the decomposed outline stored in this way so that I can convert it
from these curve types to the cubics used by postscript. ;-)
This isn't done in 1.3.1 is it??
Also are there any docs to help developers port there stuff from 1.3.1 to
2.0???
Cheers
Satpal
> Hi Saptal,
>
> >
> > Hi,
> > Is there ever a situation where you can have
> > 3 offcurve points appear one after the other in an outline ???
> >
> > I know that you can have 1oncurve + 2offcurve + 1oncurve.
> >
> That's definitely true for conic curves, as this is defined in
> the TrueType spec. This corresponds to a "virtual" on point
> located at the exact middle of two successive off points.
>
> Note that some fonts don't even use a single on point to
> define certain contours ! Have a look at the function
> FT_Decompose_Outline which should be located in
> "freetype2/src/base/ftobjs.c" to see how FT_Outlines are
> parsed.
>
> TT_Outline are similar, only simpler :-)
>
> Best Regards,
>
> - David
> > Cheers
> > Satpal
> >
> > Satpal Chander (address@hidden)
> >
> > http://www.cam-ani.co.uk
> > All opinions expressed are my own
>