freetype
[Top][All Lists]
Advanced

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

RE: [ft] serialize an outline Glyph and send it


From: Matteo Lanzi
Subject: RE: [ft] serialize an outline Glyph and send it
Date: Thu, 7 Oct 2010 19:02:53 +0200

for the moment i have used the code by Werner Lemberg in the example 3 and I rasterize it manully.

Now the questions are:

1-      Antialias doesn’t seem to be applied even if I used  “bmp.pixel_mode = FT_PIXEL_MODE_GRAY;”. First of all to use it I had to uncomment a macro in the rasterizer.h (which was not explained in the tutorial)  but if you see the attached result you can’t see any antialias

2-      Is it possible to rasterize in the same way of Werner Lemberg’ example, but with ClearType?

 

Best

Teo

 

From: Matteo Lanzi [mailto:address@hidden
Sent: mercoledì 6 ottobre 2010 12:15
To: address@hidden
Subject: [ft] serialize an outline Glyph and send it

 

Hi, i would like to serialize an outline glyph and send it to a client; than rasterize it in the client side which has not that face.

For the moment I tried to serialize only the ft_outline of the FT_OutlineGlyphRec structure, than I tried to create an empty glyph and initialize it with a new library, but it doesn’t seem to work. I also send almost all of the root part of the glyph except for clazz and library.

 

Which are the mandatory part of the outline to rasterize it? Is possible to rasterize and transform a glyph starting from its outline?

 

thanks

Matteo

Attachment: pippo13.bmp
Description: Windows bitmap


reply via email to

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