There's a JIRA bug regarding this
http://www.openlaszlo.org/jira/browse/LPP-7652

But you did specify the style="bold".  Can you send me a small test case
with the two font files and the font declaration in an lzx app, and I'll see
if I can figure out what the
flex compiler is trying to do with it.





On Wed, Feb 3, 2010 at 11:34 AM, Brendan Fagan
<[email protected]>wrote:

> I'm working on upgrading a very old, widely used, legacy OL app and I'm
> running into an issue with fonts in SWF9.
>
> I'm running into the compiler error:
>
> org.openlaszlo.sc.CompilerError: base/colors.lzx: 29: : Error: unable to
> build font 'BF', in line: [Embed(mimeType='application/x-font-truetype',
> source='C:/Development/apache-tomcat-6.0.20/webapps/ol-4.7.0/scratch/LT_52127.TTF',
> fontName='BF',
> fontWeight='bold',fontStyle='plain',advancedAntiAliasing='true')]
> base/colors.lzx: 29: : Error: Unable to transcode
> C:/Development/apache-tomcat-6.0.20/webapps/ol-4.7.0/scratch/LT_52127.TTF,
> in line: . The font may be a bold or italic style, try adding style="bold"
> or "italic" attribute to font tag
>
> My code is:
>
>    <font name="BF">
>         <face src="LT_52125.ttf" style="plain" />
>         <face src="LT_52127.ttf" style="bold"/>
>     </font>
>
> I was wondering if the fontWeight='bold' and fontStyle='plain' on this
> declaration were causing a conflict with transcoding.   Some of the articles
> (and subsequent comments) that I read indicated that fontWeight and
> fontStyle don't appear to be used together often.  Here's one interesting
> thread:
>
> http://mx.coldstorageonline.com/index.php?bid=48
>
>
> I thought I saw a similar bug recently in Jira, but I could not find it
> today.  I can file a bug and provide a test case if necessary.
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to