Can you clarify something then? I’m learning all of this. For Korean, Simplified Chinese, and Japanese, I’m being told the font (or rendering) of characters in MX is cleaner and more readable then the Spark components. Why the change? Using MX only would be a serious step backwards…
Michael J. Regert From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Wednesday, April 11, 2012 3:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Fonts and localization You would have to use MX components everywhere (and not need right-to-left language support) On 4/11/12 9:43 AM, "michael_reg...@dell.com" <michael_reg...@dell.com> wrote: Thanks.? I’m being told by our Korean QA that the default font that is used in the MS Advanced Data Grid is much cleaner than what is used in the Spark controls.? How do I change this to use the same font as the grid across my whole app? Michael J. Regert Please consider the environment before printing this email. Confidentiality Notice | This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender by reply e-mail and destroy all copies of the original message. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Wednesday, April 11, 2012 11:38 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Fonts and localization MX uses TextField, Spark defaults to TextLine which will render a bit differently. On 4/11/12 8:26 AM, "michael_reg...@dell.com" <michael_reg...@dell.com> wrote: I’m trying to understand what Adobe Flex is doing for Korean (and other languages) fonts. I’m seeing that the font used for a Spark label is different than what is used in an MX Advanced Data Grid. I’m using Adobe Flex 4.0 and 4.6. I have the following sample app. The font used to display the label when run is different than the grid, even though I am not defining a font or setting anything in a css. Why? Screenshot attached (if it comes through in the post). <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <fx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var testString:String = "invalidType = 잘못된 유형입니다. XML 유형이거나 하나의 XML 개체를 포함한 XMLList여야 합니다."; [Bindable] private var testData:ArrayCollection = new ArrayCollection([ {msg:"invalidType = 잘못된 유형입니다. XML 유형이거나 하나의 XML 개체를 포함한 XMLList여야 합니다."} ]); ]]> </fx:Script> <s:VGroup width="100%" height="100%" gap="10" paddingTop="20" paddingBottom="20" paddingLeft="20" paddingRight="20"> <s:Label width="100%" text="{testString}"/> <mx:AdvancedDataGrid width="100%" height="100%" dataProvider="{testData}"> <mx:columns> <mx:AdvancedDataGridColumn dataField="msg"/> </mx:columns> </mx:AdvancedDataGrid> </s:VGroup> </s:Application> [cid:image001.png@01CD17F8.E3EAB330] Michael -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
<<inline: image001.png>>