I am getting wierd results while trying to embed fonts in my application.  Many times it reports:

Warning /Penguin/SurveyProperties/EditSurvey.mxml:53
Font not found at: file:C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/flex/Penguin/SurveyProperties/VERDANA.TTF

This simply isn't true.  The font file IS there and I made sure that the permissions on the file were barn door open wide.

Here's the embed lines I am using:

    <mx:Style>
        @font-face
        {
            fontFamily: VerdanaBold;
            src:url("VERDANA.TTF");
            font-weight: bold;
        }
        @font-face
        {
            fontFamily: VerdanaNormal;
            src:url("VERDANA.TTF");
            font-weight: normal;
        }       
    </mx:Style>

I have found this to work fine on some apps, and on others it just breaks like this.  I cannot see what the difference is between the working apps and the non-working apps... any insight would be greatly appreciated, thank you,

-- Matthew


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




Yahoo! Groups Links

Reply via email to