[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog server/FreetypeRasterizer.cpp s...
From: |
Sandro Santilli |
Subject: |
Re: [Gnash-commit] gnash ChangeLog server/FreetypeRasterizer.cpp s... |
Date: |
Wed, 13 Jun 2007 04:28:46 +0200 |
On Wed, Jun 13, 2007 at 02:24:43AM +0000, Sandro Santilli wrote:
> CVSROOT: /sources/gnash
> Module name: gnash
> Changes by: Sandro Santilli <strk> 07/06/13 02:24:42
>
> Modified files:
> . : ChangeLog
> server : FreetypeRasterizer.cpp FreetypeRasterizer.h
> font.cpp
>
> Log message:
> * server/FreetypeRasterizer.{cpp,h}: Implement
> shape_character_def
> output using DynamicShape; changed getGlyph method to also
> take
> an 'advance' output parameter (toward deprecation of bitmap
> output).
> * server/font.cpp (add_os_glyph): update call to ::getGlyph.
With this commit, AGG does a good job with DefineEditTextTest.swf,
while OGL does a bad one.
Note that AGG is using vectorial glph, while OGL is using bitmap.
FreetypeRasterizer provides both, but for the AGG case the returned textured
glyph ! is_renderable() thus making the text drawing method automatically use
the vector instead. By simply returning a NULL bitmap_info from getRenderedGlyph
you can test OGL against vector glyph. Unfortunately OGL doesn't seem to work
with vector either, which I belive to be a known problem with "side" of fill
style
(right/left) - There should already be a bug filed for it, and a failure in
DrawingApiTest.swf (can't detect automatically until ogl is testable).
--strk;