Problem to calculate width of glyph path

  • Thread starter Thread starter baum
  • Start date Start date
B

baum

Hello,

I am implementing a driver, which shows characters. To draw the
characters I read the path for every glyph. I do not read the bitmap.
This is done by the following two lines.

....
FONTOBJ_cGetGlyphs(pfo, FO_PATHOBJ, 1, &(pgp->hg), (LPVOID)&pgd);
....
pPath = pgd->gdf.ppo;
PATHOBJ_vEnumStart(pPath);
....

I receive nearly perfect results. My problem is, to show the "script"
letters correctly. These letters have a lot of bezier curves. The
problem is, sometimes the width of the curve is thin, sometimes not, but
my output of the path does not show this.

Is there a calculation formula I have to use?


Help on this woul be nice.

thx
 
Back
Top