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 2FCD710B48 for ; Tue, 25 Feb 2014 13:54:23 +0000 (UTC) Received: (qmail 46520 invoked by uid 500); 25 Feb 2014 13:54:21 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 46457 invoked by uid 500); 25 Feb 2014 13:54:21 -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 Received: (qmail 46437 invoked by uid 99); 25 Feb 2014 13:54:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Feb 2014 13:54:20 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mathieu.stgelais@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-ob0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Feb 2014 13:54:15 +0000 Received: by mail-ob0-f180.google.com with SMTP id vb8so8498299obc.11 for ; Tue, 25 Feb 2014 05:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=f4YZH/zfgK1R9MfSVFy39KgdEcTfXZcc6e2qhGlwwHo=; b=znhvN8idiqL5bTx96nz3+7jD+LOf7VXpElLSJJkHitLHpNAJzUAB9yHVNezERY2rxT mIhXlyrICQf7FzC3cXTsdmok0tMUE4N89QpXCmDHdl+Tl/0gcmskU3fxAZfu/KgSJ0OR CJ8ES0JgDFWCwaRaL5amBF+zL3yW1M4t9pP0dFZoHYyUOeeQxs01mlXgXs0TxRzhP5Bo Pj9aICg89CLxFMufUYwfp6jbAZm/b+x2518RwMg/2czGaFzLMurgq5R6pA2detVncCFa UU3K1ks0nz7T8f+O/24ItsfbDU+kWYPXkCJdbzbVL6HWor511z0JquzMiyRVq1MjZ0oF axoA== MIME-Version: 1.0 X-Received: by 10.60.134.200 with SMTP id pm8mr1335635oeb.40.1393336435026; Tue, 25 Feb 2014 05:53:55 -0800 (PST) Received: by 10.182.111.167 with HTTP; Tue, 25 Feb 2014 05:53:54 -0800 (PST) In-Reply-To: References: Date: Tue, 25 Feb 2014 08:53:54 -0500 Message-ID: Subject: Re: Getting font transcoding error with 4.12 RC2 From: Mathieu St-Gelais To: users@flex.apache.org Content-Type: multipart/alternative; boundary=047d7b4178314330db04f33b6b81 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b4178314330db04f33b6b81 Content-Type: text/plain; charset=ISO-8859-1 Hi. I hope the following will help you. When I switched to Flex 4.12, I had to change the src in the font-face classes of my style sheets. For a reason I didn't try to understand, the relative path had to be changed. Here's an example of what I have in my css file. I also use otf files. As you can see, I always declare a CFF and a non CFF font-face, as different Flex components need one or the other. In my project, fonts are in this folder: [...]/assets/fonts/ Style sheets are there: [...]/style/ @font-face { src: url("../assets/fonts/Lyon_Text-Regular.otf"); fontFamily: lyon; embedAsCFF: false; fontStyle: normal; fontWeight: normal; advanced-anti-aliasing: true; } @font-face { src: url("../assets/fonts/Lyon_Text-Regular.otf"); fontFamily: lyonCFF; embedAsCFF: true; fontStyle: normal; fontWeight: normal; advanced-anti-aliasing: true; } Let us know if you can resolve the problem. Mat On Tue, Feb 25, 2014 at 5:10 AM, Mitul Golakiya wrote: > Hello All, > > I had just tried 4.12 RC2 and migrated my whole app from 4.10 to 4.12 RC2 > and getting font transcoding error which was running completely fine with > 4.10. > > I found one link on which someone else also posted the same with 4.11 RC2, > but he hadn't posted the solution link. > > http://apache-flex-users.2333346.n4.nabble.com/Flex-SDK-4-11-rc2-compile-error-td3319.html > > I am getting following error: > > *"exception during transcoding."* > > I am using *.otf* files for fonts. > I don't know exactly, its a bug or something is missing. > > Can anyone help with this?? > > > Thanks, > Mitul Golakiya > --047d7b4178314330db04f33b6b81--