Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBC0B10200 for ; Mon, 16 Sep 2013 07:43:06 +0000 (UTC) Received: (qmail 1212 invoked by uid 500); 16 Sep 2013 07:41:53 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 1198 invoked by uid 500); 16 Sep 2013 07:41:50 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Delivered-To: moderator for users@flex.apache.org Received: (qmail 67355 invoked by uid 99); 16 Sep 2013 07:22:48 -0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Date: Mon, 16 Sep 2013 00:21:21 -0700 (PDT) From: mikimik To: users@flex.apache.org Message-ID: <35B72C4615837A41BECD5D9FE6EEAD597A29D5BF5A@ILDCEXCH01.Tradency.local> In-Reply-To: <97151A03-7000-43AC-9E9B-FA312B41D886@classsoftware.com> References: <1379314441360-2718.post@n4.nabble.com> <97151A03-7000-43AC-9E9B-FA312B41D886@classsoftware.com> Subject: RE: Can't embed font in flex 4.10 using external stylesheet MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Its compiled to SWF. Loaded by StyleManager (loadStyleDeclarations). Sample of CSS: global { fontFamily: VerdanaCff; fontSize: 12; focusAlpha:0; } @font-face { src: url("/VERDANA.TTF"); fontFamily: "VerdanaCff"; embedAsCFF: true; } @font-face { src: url("/verdanab.ttf"); fontWeight: bold; fontFamily: "VerdanaCff"; embedAsCFF: true; } @font-face { src: url("/VERDANA.TTF"); fontFamily: "VerdanaNoCff"; embedAsCFF: false; } @font-face { src: url("/verdanab.ttf"); fontWeight: bold; fontFamily: "VerdanaNoCff"; embedAsCFF: false; } @font-face { src: url("/verdanai.ttf"); fontFamily: "VerdanaCff"; fontStyle: italic; embedAsCFF: true; } @font-face { src: url("/verdanai.ttf"); fontFamily: "VerdanaNoCff"; fontStyle: italic; embedAsCFF: false; } s|Label { fontFamily: "VerdanaCff"; } From: jmclean [via Apache Flex Users] [mailto:ml-node+s2333346n2719h25@n4.nabble.com] Sent: Monday, September 16, 2013 9:11 AM To: Miki Lior Subject: Re: Can't embed font in flex 4.10 using external stylesheet Hi, > I moved from flex 4.5 using EmbedAsCFF= true for an embed font. > the css is being loaded on runtime. How is the CSS being loaded at run time? I assume it's been compiled into a swf? Can you share thw code showing how that swf is loaded? Thanks, Justin ________________________________ If you reply to this email, your message will be added to the discussion below: http://apache-flex-users.2333346.n4.nabble.com/Can-t-embed-font-in-flex-4-10-using-external-stylesheet-tp2718p2719.html To unsubscribe from Can't embed font in flex 4.10 using external stylesheet, click here. NAML Email secured by Check Point -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Can-t-embed-font-in-flex-4-10-using-external-stylesheet-tp2718p2720.html Sent from the Apache Flex Users mailing list archive at Nabble.com.