[Top][All Lists]

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

[Gnash-commit] [SCM] Gnash branch, master, updated. d1dda483291873cbb2f8

From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. d1dda483291873cbb2f89f9077ebaea66f55b734
Date: Tue, 12 Oct 2010 17:02:44 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  d1dda483291873cbb2f89f9077ebaea66f55b734 (commit)
      from  d84773a82655854736bf9ffd7d2dc87b0abccba6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit d1dda483291873cbb2f89f9077ebaea66f55b734
Author: Sandro Santilli <address@hidden>
Date:   Tue Oct 12 19:01:57 2010 +0200

    It's device fonts being unaffected by color transform, not embedded ones. 
Fixes bug #31312 (thanks Benjamin Wolsey)

diff --git a/libcore/TextField.cpp b/libcore/TextField.cpp
index b692d3e..4151762 100644
--- a/libcore/TextField.cpp
+++ b/libcore/TextField.cpp
@@ -300,7 +300,7 @@ TextField::display(Renderer& renderer, const Transform& 
     // This is a hack to handle device fonts, which are not affected by
     // color transform.
-    if (getEmbedFonts()) xform.colorTransform = SWFCxForm();
+    if (!getEmbedFonts()) xform.colorTransform = SWFCxForm();
     if ((drawBorder || drawBackground) && !_bounds.is_null()) {


Summary of changes:
 libcore/TextField.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


reply via email to

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