freetype
[Top][All Lists]
Advanced

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

[ft] example rendering


From: Pankracy
Subject: [ft] example rendering
Date: Thu, 13 Dec 2012 21:31:51 +0100
User-agent: Thunderbird 2.0.0.24 (X11/20100623)

I have trouble with rendering my own glyph.
I can read from fontfile any glyph but example3 is in C++ and very
complicated (specyfic memory usage etc.)

I need simple program to convert my glyph in ff format outlines to
simple table
char points[x][y].
I need antyaliasing.



whan I put:
----------
  face->glyph->outline.n_contours=2;
  face->glyph->outline.n_points=33;
  short ile = face->glyph->outline.n_points;
  FT_Vector pu[33];
  face->glyph->outline.points=pu;
    pp.x=2538; pp.y=2756;
----------

this not working.
I need put outline, render and change outline and render second time.

Anybody can help me?




reply via email to

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