[Laszlo-checkins] r13582 - in openlaszlo/branches/4.3: . WEB-INF/lps/lfc/kernel/swf9

hqm@openlaszlo.org hqm at openlaszlo.org
Wed Apr 1 16:25:12 PDT 2009


Author: hqm
Date: 2009-04-01 16:25:09 -0700 (Wed, 01 Apr 2009)
New Revision: 13582

Modified:
   openlaszlo/branches/4.3/
   openlaszlo/branches/4.3/WEB-INF/lps/lfc/kernel/swf9/LzFontManager.as
Log:
Merged revisions 13581 via svnmerge from 
http://svn.openlaszlo.org/openlaszlo/trunk

.......
  r13581 | hqm | 2009-04-01 19:05:53 -0400 (Wed, 01 Apr 2009) | 34 lines
  
  Change 20090401-hqm-L by hqm at badtzmaru.home on 2009-04-01 19:01:21 EDT
      in /Users/hqm/openlaszlo/trunk/WEB-INF/lps/lfc
      for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
  
  Summary:  fix swf9 embedded font declarations
  
  New Features:
  
  Bugs Fixed: LPP-8011
   
  Technical Reviewer: ptw
  QA Reviewer: (pending)
  Doc Reviewer: (pending)
  
  Documentation:
  
  Release Notes:
  
  Details:
  
  + change type of var in lookup from LzFont to Object
      
  
  Tests:
  
  embedded font example runs without error
  
  <canvas>
    <font src="uni-5-plain-expanded-s.ttf" name="myfont"/>
    <text font="myfont">myfont is oh-so good!</text>
  </canvas>
.......



Property changes on: openlaszlo/branches/4.3
___________________________________________________________________
Name: svnmerge-integrated
   - /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.2:1-12154,12181,13205 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-13548,13554,13557,13559,13562,13566,13572-13573,13575,13578
   + /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.2:1-12154,12181,13205 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-13548,13554,13557,13559,13562,13566,13572-13573,13575,13578,13581

Modified: openlaszlo/branches/4.3/WEB-INF/lps/lfc/kernel/swf9/LzFontManager.as
===================================================================
--- openlaszlo/branches/4.3/WEB-INF/lps/lfc/kernel/swf9/LzFontManager.as	2009-04-01 23:05:53 UTC (rev 13581)
+++ openlaszlo/branches/4.3/WEB-INF/lps/lfc/kernel/swf9/LzFontManager.as	2009-04-01 23:25:09 UTC (rev 13582)
@@ -75,14 +75,14 @@
         if (fns.length > 0) {
             for (var i:int = 0; i < fns.length; i++) {
                 fontname = fns[i];
-                var tfn:LzFont = LzFontManager.fonts[ fontname ];
+                var tfn:Object = LzFontManager.fonts[ fontname ];
                 if (tfn) {
                     return tfn[ style ];
                 }
             }
             return null;
         } else {
-            var tfn:LzFont = LzFontManager.fonts[ fontname ];
+            var tfn:Object = LzFontManager.fonts[ fontname ];
             if (tfn) {
                 return tfn[ style ];
             } else {



More information about the Laszlo-checkins mailing list