Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2088A18289 for ; Thu, 10 Sep 2015 05:07:46 +0000 (UTC) Received: (qmail 29446 invoked by uid 500); 10 Sep 2015 05:07:46 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 29436 invoked by uid 500); 10 Sep 2015 05:07:46 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 29427 invoked by uid 99); 10 Sep 2015 05:07:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2015 05:07:45 +0000 Date: Thu, 10 Sep 2015 05:07:45 +0000 (UTC) From: "Alex Harui (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-34909) Embedded fonts not working on charts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34909?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1473= 8176#comment-14738176 ]=20 Alex Harui commented on FLEX-34909: ----------------------------------- I looked into the Japanese character issue. The copy of Tahoma on my Mac d= oesn't have Japanese characters in it. You can test by adding a creationCo= mplete handler to the app: Then run a test like: private function glyphtest():void { var fonts:Array =3D Font.enumerateFonts(); var myFont:Font =3D fonts[0]; trace(myFont.hasGlyphs("=E6=84=9B=E7=94=B2=E9=83=A1=E6=84= =9B=E5=B7=9D=E7=94=BA")); trace(myFont.hasGlyphs("ABCDE")); } For me, the first hasGlyphs returns false and the second return true. Fonts with Asian characters are really big. You'll see the SWF size jump s= ignificantly when you embed one. IIRC, when you don't embed, the runtime a= nd the OS approximate the characters from other fonts on the system. > Embedded fonts not working on charts > ------------------------------------ > > Key: FLEX-34909 > URL: https://issues.apache.org/jira/browse/FLEX-34909 > Project: Apache Flex > Issue Type: Bug > Components: Charts > Affects Versions: Apache Flex 4.14.0 > Environment: Windows 7, 64 bit.=20 > Reporter: Deepak MS > Assignee: OmPrakash Muppirala > Attachments: SampleChart.mxml, SampleChart.zip > > > I'm try to use my own font for the charts. But if I do so, all labels for= X and Y axes shows up as blank. > This is what I am trying: > @font-face > { > src: url("assets/fonts/CALIBRIL.TTF"); > fontFamily: myFont; > fontStyle: normal; > fontWeight: normal; > embedAsCFF: true; > advancedAntiAliasing: true; > } > height=3D"100%" showDataTips=3D"true" > width=3D"50%" > seriesFilters=3D"{[]}" > > =20 > But if I use system fonts like Arial, Times etc, they all seem to work f= ine. > Version: Flex 4.14 AIR 16, FP 16 =20 > More Details and work around can be found here: > http://apache-flex-users.2333346.n4.nabble.com/Embedded-font-for-Charts-t= d10793.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)