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 2ADA210B1C for ; Wed, 9 Oct 2013 22:03:18 +0000 (UTC) Received: (qmail 37393 invoked by uid 500); 9 Oct 2013 22:03:17 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 37369 invoked by uid 500); 9 Oct 2013 22:03:17 -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 37361 invoked by uid 99); 9 Oct 2013 22:03:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 22:03:17 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of miguel.cd.ferreira@hotmail.com designates 157.55.0.234 as permitted sender) Received: from [157.55.0.234] (HELO dub0-omc1-s35.dub0.hotmail.com) (157.55.0.234) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 22:03:13 +0000 Received: from DUB405-EAS414 ([157.55.0.239]) by dub0-omc1-s35.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 9 Oct 2013 15:02:51 -0700 X-TMN: [54Ew7AZ2a2PYOYtfw2kDyPSvdgyiq/Kj] X-Originating-Email: [miguel.cd.ferreira@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_0ba82749-9a4f-4144-992a-85d81d74ae37_" MIME-Version: 1.0 To: "users@flex.apache.org" From: Miguel Ferreira Subject: RE: blurry fonts Date: Thu, 10 Oct 2013 00:02:07 +0200 X-OriginalArrivalTime: 09 Oct 2013 22:02:51.0512 (UTC) FILETIME=[4C5B5780:01CEC53B] X-Virus-Checked: Checked by ClamAV on apache.org --_0ba82749-9a4f-4144-992a-85d81d74ae37_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" But this info is really top. And can really make all the difference. And in all the post=2C forums or mail list is the first time that was menti= oned and tomorrow i really want to try this Sent from my Windows Phone ________________________________ From: Alex Harui Sent: =E2=80=8E09.=E2=80=8E10.=E2=80=8E2013 23:39 To: users@flex.apache.org Subject: RE: blurry fonts I'm not an expert in this area=2C but my understanding is that an OTF file = can contain TTF or CFF data. CFF uses different curvature control points t= han TTF. If the data is in TTF format=2C the curves have to be converted = and there could be fidelity issues. If the data is already in CFF format t= hen you should be seeing it as good as it gets. -Alex ________________________________________ From: modjklist@comcast.net [modjklist@comcast.net] Sent: Wednesday=2C October 09=2C 2013 10:11 AM To: users@flex.apache.org Subject: Re: blurry fonts Thanks Alex=2C My font source file is .otf How I embed for MX: @font-face { fontFamily:arial_mx=3B src:url("Fonts/ArialUnicodeMS_Regular.otf")=3B unicodeRange: U+0020-007E=2C U+03A9=3B embedAsCFF: false=3B fontStyle:normal=3B fontWeight:normal=3B } How I embed for Spark: @font-face { fontFamily:arial_s=3B src:url("Fonts/ArialUnicodeMS_Regular.otf")=3B unicodeRange: U+0020-007E=3B embedAsCFF: true=3B fontWeight:normal=3B fontStyle:normal=3B } Doesn't the "embedAsCFF:true=3B" line above implement the glyph conversion = requirement that you're referring to? Or=2C are you saying I need to use a source file having a .cff extension in= stead of .otf (or .ttf)? All the documentation I've seen just says to set the embedAsCFF switch as a= bove. For example: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084= -7f5f.html Let me know if I'm missing something. ----- Original Message ----- From: "Alex Harui" To: users@flex.apache.org Sent: Wednesday=2C October 9=2C 2013 9:51:11 AM Subject: RE: blurry fonts It occurs to me that the issue may be in the transcoding of the font. The S= park components use the underlying flash.text.engine classes which use CFF = fonts. If you are embedding TTF=2C then I believe a glyph conversion has to= happen. It may be that if you can find a font file that has its glyphs enc= oded as CFF it will look better. -Alex ________________________________________ From: modjklist@comcast.net [modjklist@comcast.net] Sent: Wednesday=2C October 09=2C 2013 9:45 AM To: users@flex.apache.org Subject: Re: blurry fonts I just wanted to solicit from other Flex users which specific fonts success= fully embed without being blurry. I've tried embedding all the Helvetica and Arial fonts installed on my Mac = and they look blurry compared to the non-embedded versions in the same app.= The embedded fonts for spark are short and fat and for MX are tall and ski= nny. Ideally=2C someone could refer me to a Helvetica/Arial font that they know = embeds fine. However=2C assuming I don't get that feedback and I need to fi= nd a new font=2C I'm hoping anyone with good embed results can share their = favorite font (for Enterprise desktop applications=2C in my case) to benefi= t all users. Someone mentioned earlier Google Roboto=2C which I'll try out soon. For ref= erence below=2C Miguel mentions OpenSans=2C and Mihai mentions Myriad Pro. Thanks in advance for any feedback. ----- Original Message ----- From: "Miguel Ferreira" To: users@flex.apache.org Sent: Tuesday=2C October 8=2C 2013 2:52:38 AM Subject: RE: blurry fonts Hi all thank you for all the information. I was out and just today i came back to the office. So=2C i will write a resume of my working solution. Font: OpenSans link:http:=3B/=3B/=3Bwww.google.com/=3Bfonts/= =3Bspecimen/=3BOpen+=3BSans on the global css turned off the kerning: global { kerning: off=3B fontFamily: main=3B fontSize: 11=3B } how the fonts are embebed: @font-face { src: url("assets/fonts/OpenSans-Regular.ttf")=3B fontFamily: AppFont=3B fontStyle: normal=3B fontWeight: normal=3B embedAsCFF: true=3B } @font-face { src: url("assets/fonts/OpenSans-Italic.ttf")=3B fontFamily: AppFont=3B fontStyle: italic=3B fontWeight: normal=3B embedAsCFF: true=3B } ... @Alex: Thanks for the info about the playerglobal. i tried with the version 10.2 when it worked well=2Cbut when i tried the co= nfiguration above and the result was also good in the version 11.8 i choose= for the last version. In this moment i will have to change components to spark like forms=2C data= grid=2C images=2C spacers=2C etc... And for the next release is +1 application on Apache Flex SDK 4.10! Thanks for all that help and that maintain the community alive! Best regards=2C Miguel > From: mihai.chira@gmail.com > Date: Fri=2C 4 Oct 2013 19:52:01 +0100 > Subject: Re: blurry fonts > To: users@flex.apache.org > > The way I did it was to edit the font file directly using Type > Light. > I went into Font->Font Options...=2C deselected Kerning and saved it on t= op > of the original font file. With this treatment=2C the font does not trigg= er > the bug I mentioned=2C yet is still readable. I did not turn off kerning = as > suggested by Maurice. I'm not even sure it would have made a difference n= ow > that the font did not have this information to begin with. > > If you're using another OS=2C I'm sure there is another good font editor = that > you can use to make this change. > > Hope it helps. > > > On 4 October 2013 18:43=2C Maurice Amsellem = wrote: > >> Ah=2C ok. >> >> -----Message d'origine----- >> De : modjklist@comcast.net [mailto:modjklist@comcast.net] >> Envoy=C3=A9 : vendredi 4 octobre 2013 19:42 >> =C3=80 : users@flex.apache.org >> Objet : Re: blurry fonts >> >> Thanks Maurice=2C >> >> >> Mihai's post below states to remove kerning to avoid a bug: >> >> >> However=2C if you're going to use it=2C make sure you remove the kerning >> information inside it until we have a resolution for this bug< >> https://issues.apache.org/jira/browse/FLEX-33779> . >> >> >> >> ----- Original Message ----- >> From: "Maurice Amsellem" >> To: users@flex.apache.org >> Sent: Friday=2C October 4=2C 2013 10:29:42 AM >> Subject: RE: blurry fonts >> >> global { >> kerning: off=3B >> } >> >> However=2C usually text is more readable when kerning is on=2C especiall= y for >> some letters combinations=2C eg AV and things like that. >> So why would you turn it off? >> >> Maurice >> >> -----Message d'origine----- >> De : modjklist@comcast.net [mailto:modjklist@comcast.net] >> Envoy=C3=A9 : vendredi 4 octobre 2013 19:12 >> =C3=80 : users@flex.apache.org >> Objet : Re: blurry fonts >> >> I like peoples suggestions for embedded fonts that look nice. >> >> >> Just curious though=2C how does one remove the kerning? Do you need spec= ial >> font software to manipulate this? Or=2C is it done directly in the font = file >> somehow? Or=2C done using actionscript code? etc. >> >> ----- Original Message ----- >> From: "Mihai Chira" >> To: users@flex.apache.org >> Sent: Friday=2C October 4=2C 2013 1:15:27 AM >> Subject: Re: blurry fonts >> >> Hey Miguel=2C >> >> >> we're using Myriad Web >> Prowith the latest >> version of the SDK and it looks just fine. We also make software meant f= or >> many hours' use. >> >> However=2C if you're going to use it=2C make sure you remove the kerning >> information inside it until we have a resolution for this bug< >> https://issues.apache.org/jira/browse/FLEX-33779> >> . >> >> >> Best=2C >> Mihai >> >> >> On 4 October 2013 08:16=2C Miguel Ferreira >>wrote: >> >>> The difference is really big. >>> Even the colors of some item renders. >>> But the question for me is=2C that will depend of the user player? >>> For the older version is more redable but even so with the font opensan= s >>> the difference is smaller. >>> There is some font that the guy from the new renderer adivce?Because if >>> they say that is better they should have some study cases were they can >>> prove that. >>> So maybe they can advice on good font for a flex enterprise >>> application.Where the user work with it between 4 to 8 hours per day. >>> Because with that blurry foggy fonts will be a nightmare. >>> Thanks alex for be always available... almost 24/7 >>> Miguel >>>> From: aharui@adobe.com >>>> To: users@flex.apache.org >>>> Date: Thu=2C 3 Oct 2013 23:40:44 -0700 >>>> Subject: Re: blurry fonts >>>> >>>> Did you try it with an older swf version? >>>> >>>> On 10/3/13 11:08 PM=2C "Miguel Ferreira" >> >>>> wrote: >>>> >>>>>Thank you all=2C >>>>>I am trying with another font type to see if i can have a better >>>>>results.Because of the "better" rendering was one of my key issues to >>>>>update to the last version to try to keep up with the Apache >> evolution=2C >>>>>but after the project manager saw the result was really hard to >> convince >>>>>him that we are on the right path following the steps and evolution of >>>>>Apache releases. >>>>>I tried OpenSans and i have a better result but on the edges if we go >> to >>>>>detail we can see that is not perfect is still a little bit foggy! >>>>>Another font suggestion is always welcome? >>>>>@tom >>>>>"- it took some experimenting with the various hinting options for >>>>>>>the font=2C as well as embedding a few different fonts before we >> found >>> a >>>>>>>combination that worked well." >>>>>can you tell what combinations you did that worked out? >>>>>Thanks=2CMiguel >>>>> >>>>>> From: aharui@adobe.com >>>>>> To: users@flex.apache.org >>>>>> Date: Thu=2C 3 Oct 2013 09:19:11 -0700 >>>>>> Subject: Re: blurry fonts >>>>>> >>>>>> I can't find the email thread=2C but the answer I got was that there >> is >>> no >>>>>> equivalent of gridFitType because the new font rendering algorithm >> is >>>>>> "better". IIRC=2C it is "better" because it employs some anti-aliasi= ng >>>>>> algorithm on all edges=2C not just one ones that are unlucky enough = to >>> not >>>>>> fall on pixel boundaries=2C and doesn't mess with inter-character >>> spacing. >>>>>> >>>>>> That said=2C several folks are unhappy with this algorithm. One >>>>>>experiment >>>>>> for you to try now that we have more version flexibility in Apache >>> Flex >>>>>>is >>>>>> to set your player/air versions back to whatever it was in 4.1 or >> even >>>>>> 4.0. That might cause the player to select an older rendering >>>>>>algorithm. >>>>>> >>>>>> HTH=2C >>>>>> -Alex >>>>>> >>>>>> On 10/3/13 7:24 AM=2C "modjklist@comcast.net" >>>>>>wrote: >>>>>> >>>>>>>I've always had problems with embedded fonts in 4.5.1 SDK. I've >> tried >>>>>>so >>>>>>>much to overcome it. Seems no matter which version of Arial or >>>>>>Helvetica >>>>>>>I embed=2C the spark text always looks shorter and fat (e.g. blurry)= =2C >>> and >>>>>>>the mx text looks tall and skinny. The hinting options=2C while >> having >>> an >>>>>>>effect=2C don't seem to correct this. If anyone has settings that >> make >>> an >>>>>>>embedded font (Arial or Helvetica) look normal=2C I'd really like to >>> try >>>>>>>them. >>>>>>> >>>>>>>----- Original Message ----- >>>>>>>From: "Tom Chiverton" >>>>>>>To: users@flex.apache.org >>>>>>>Sent: Thursday=2C October 3=2C 2013 6:59:30 AM >>>>>>>Subject: Re: blurry fonts >>>>>>> >>>>>>>On 03/10/2013 14:54=2C Miguel Ferreira wrote: >>>>>>>> I am finalizing a updated to my costumer from flex 4.1.0 to flex >>>>>>4.10.0 >>>>>>>>and the fonts really look horrible. >>>>>>>We had the same issue when migrating up from Adobe Flex 4.1 to >> Apache >>>>>>>4.x - it took some experimenting with the various hinting options >> for >>>>>>>the font=2C as well as embedding a few different fonts before we >> found >>> a >>>>>>>combination that worked well. >>>>>>>I'd start by stripping out any relevant styles=2C then add in a >>> specific >>>>>>>embeded font=2C then have a look at the various hinting options >>>>>>available. >>>>>>> >>>>>>>Tom >>>>>> >>>>> >>>> >>> >>> >> --_0ba82749-9a4f-4144-992a-85d81d74ae37_--