when i start this discussion i also did not know about this format WOFF,
smaller size then the normal format with improved qualitiy.
I created a jira issue to see if we can also embed this type of font.After 2010 
almost all the browser already accept this format.
https://issues.apache.org/jira/browse/FLEX-33817

Also there is in the jira issue a link that explains better this type when the 
pros of using it.
Resuming this type of font:- is like a zip of the otf/ttf- can include some 
metada because of the rights of the font- improved readability
 
best regards,Miguel Ferreira

> From: miguel.cd.ferre...@hotmail.com
> To: users@flex.apache.org
> Subject: RE: blurry fonts
> Date: Thu, 10 Oct 2013 16:13:37 +0100
> 
> 1-fonthttp://www.fontsquirrel.com/fonts/download/source-sans-pro
> 2-fonthttp://www.fontsquirrel.com/fonts/download/source-code-pro
> I had the same problem with you i raised the question.. but until no one had 
> something to say because with the WOFF will be great for flex application is 
> some kind of zipped file so we should have a font embed with small size.
> Miguel
> 
> > Date: Thu, 10 Oct 2013 14:59:06 +0000
> > From: modjkl...@comcast.net
> > To: users@flex.apache.org
> > Subject: Re: blurry fonts
> > 
> > Thanks Miguel, I was excited to try the CFF fonts from the 2nd link, but 
> > when I downloaded them I noticed they have either an .ttf.woff or an 
> > .otf.woff extension. I don't think that's compatible with Flex. I'd be 
> > interested if anyone is able to get them working somehow. 
> > 
> > ----- Original Message -----
> > 
> > From: "Miguel Ferreira" <miguel.cd.ferre...@hotmail.com> 
> > To: users@flex.apache.org 
> > Sent: Thursday, October 10, 2013 1:26:18 AM 
> > Subject: RE: blurry fonts 
> > 
> > links 
> > 1 - 
> > http://blogs.adobe.com/typblography/2013/05/adobe-contributes-cff-rasterizer-to-freetype.html
> >  
> > 
> > 2 - 
> > http://blogs.adobe.com/typblography/2010/12/the-benefits-of-opentypecff-over-truetype.html----------------------------------------
> >  
> > > From: miguel.cd.ferre...@hotmail.com 
> > > To: users@flex.apache.org 
> > > Subject: RE: blurry fonts 
> > > Date: Thu, 10 Oct 2013 09:23:48 +0100 
> > > 
> > > still about the subject here a post that i invite everyone to read, 
> > > 
> > > <a 
> > > href="http&&58;&&47;&&47;blogs.adobe.com&&47;typblography&&47;2013&&47;05&&47;adobe-contributes-cff-rasterizer-to-freetype.html"
> > >  target="_blank" 
> > > class="newlyinsertedlink">http&&58;&&47;&&47;blogs.adobe.com&&47;typblography&&47;2013&&47;05&&47;adobe-contributes-cff-rasterizer-to-freetype.html</a>
> > >  
> > > 
> > > 
> > > also on the end we have some links to cff font type only. 
> > > 
> > > also that post have some reference to this post: "The Benefits Of 
> > > OpenType/CFF Over TrueType" 
> > > 
> > > <a 
> > > href="http&&58;&&47;&&47;blogs.adobe.com&&47;typblography&&47;2010&&47;12&&47;the-benefits-of-opentypecff-over-truetype.html"
> > >  target="_blank" 
> > > class="newlyinsertedlink">http&&58;&&47;&&47;blogs.adobe.com&&47;typblography&&47;2010&&47;12&&47;the-benefits-of-opentypecff-over-truetype.html</a>
> > >  
> > > 
> > > another site to download cff: 
> > > <a href="http&&58;&&47;&&47;fontcache.com&&47;tag&&47;opentype-cff&&47;" 
> > > target="_blank" 
> > > class="newlyinsertedlink">http&&58;&&47;&&47;fontcache.com&&47;tag&&47;opentype-cff&&47;</a>
> > >  
> > > 
> > > Miguel 
> > > 
> > > ---------------------------------------- 
> > > > To: users@flex.apache.org 
> > > > From: miguel.cd.ferre...@hotmail.com 
> > > > Subject: RE: blurry fonts 
> > > > Date: Thu, 10 Oct 2013 00:02:07 +0200 
> > > > 
> > > > But this info is really top. 
> > > > And can really make all the difference. 
> > > > And in all the post, forums or mail list is the first time that was 
> > > > mentioned and tomorrow i really want to try this 
> > > > 
> > > > Sent from my Windows Phone 
> > > > ________________________________ 
> > > > From: Alex Harui<mailto:aha...@adobe.com> 
> > > > Sent: ‎09.‎10.‎2013 23:39 
> > > > To: users@flex.apache.org<mailto:users@flex.apache.org> 
> > > > Subject: RE: blurry fonts 
> > > > 
> > > > I'm not an expert in this area, but my understanding is that an OTF 
> > > > file can contain TTF or CFF data. CFF uses different curvature control 
> > > > points than TTF. If the data is in TTF format, the curves have to be 
> > > > converted and there could be fidelity issues. If the data is already in 
> > > > CFF format then you should be seeing it as good as it gets. 
> > > > 
> > > > -Alex 
> > > > ________________________________________ 
> > > > From: modjkl...@comcast.net [modjkl...@comcast.net] 
> > > > Sent: Wednesday, October 09, 2013 10:11 AM 
> > > > To: users@flex.apache.org 
> > > > Subject: Re: blurry fonts 
> > > > 
> > > > Thanks Alex, 
> > > > 
> > > > My font source file is .otf 
> > > > 
> > > > How I embed for MX: 
> > > > 
> > > > 
> > > > @font-face { 
> > > > fontFamily:arial_mx; 
> > > > src:url("Fonts/ArialUnicodeMS_Regular.otf"); 
> > > > unicodeRange: U+0020-007E, U+03A9; 
> > > > embedAsCFF: false; 
> > > > fontStyle:normal; 
> > > > fontWeight:normal; 
> > > > } 
> > > > 
> > > > How I embed for Spark: 
> > > > 
> > > > @font-face { 
> > > > fontFamily:arial_s; 
> > > > src:url("Fonts/ArialUnicodeMS_Regular.otf"); 
> > > > unicodeRange: U+0020-007E; 
> > > > embedAsCFF: true; 
> > > > fontWeight:normal; 
> > > > fontStyle:normal; 
> > > > } 
> > > > 
> > > > Doesn't the "embedAsCFF:true;" line above implement the glyph 
> > > > conversion requirement that you're referring to? 
> > > > 
> > > > Or, are you saying I need to use a source file having a .cff extension 
> > > > instead of .otf (or .ttf)? 
> > > > All the documentation I've seen just says to set the embedAsCFF switch 
> > > > as above. 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" <aha...@adobe.com> 
> > > > To: users@flex.apache.org 
> > > > Sent: Wednesday, October 9, 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 Spark components use the underlying flash.text.engine classes which 
> > > > use CFF fonts. If you are embedding TTF, then I believe a glyph 
> > > > conversion has to happen. It may be that if you can find a font file 
> > > > that has its glyphs encoded as CFF it will look better. 
> > > > 
> > > > -Alex 
> > > > ________________________________________ 
> > > > From: modjkl...@comcast.net [modjkl...@comcast.net] 
> > > > Sent: Wednesday, October 09, 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 
> > > > successfully 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 skinny. 
> > > > 
> > > > Ideally, someone could refer me to a Helvetica/Arial font that they 
> > > > know embeds fine. However, assuming I don't get that feedback and I 
> > > > need to find a new font, I'm hoping anyone with good embed results can 
> > > > share their favorite font (for Enterprise desktop applications, in my 
> > > > case) to benefit all users. 
> > > > 
> > > > Someone mentioned earlier Google Roboto, which I'll try out soon. For 
> > > > reference below, Miguel mentions OpenSans, and Mihai mentions Myriad 
> > > > Pro. 
> > > > 
> > > > Thanks in advance for any feedback. 
> > > > 
> > > > ----- Original Message ----- 
> > > > 
> > > > From: "Miguel Ferreira" <miguel.cd.ferre...@hotmail.com> 
> > > > To: users@flex.apache.org 
> > > > Sent: Tuesday, October 8, 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, i will write a resume of my working solution. 
> > > > 
> > > > Font: OpenSans link:<a 
> > > > href="http&&58;&&47;&&47;www.google.com&&47;fonts&&47;specimen&&47;Open&&43;Sans"
> > > >  target="_blank" 
> > > > class="newlyinsertedlink">http&&58;&&47;&&47;www.google.com&&47;fonts&&47;specimen&&47;Open&&43;Sans</a>
> > > >  
> > > > 
> > > > on the global css turned off the kerning: 
> > > > 
> > > > global 
> > > > { 
> > > > kerning: off; 
> > > > fontFamily: main; 
> > > > fontSize: 11; 
> > > > } 
> > > > 
> > > > how the fonts are embebed: 
> > > > 
> > > > @font-face 
> > > > { 
> > > > src: url("assets/fonts/OpenSans-Regular.ttf"); 
> > > > fontFamily: AppFont; 
> > > > fontStyle: normal; 
> > > > fontWeight: normal; 
> > > > embedAsCFF: true; 
> > > > } 
> > > > 
> > > > @font-face 
> > > > { 
> > > > src: url("assets/fonts/OpenSans-Italic.ttf"); 
> > > > fontFamily: AppFont; 
> > > > fontStyle: italic; 
> > > > fontWeight: normal; 
> > > > embedAsCFF: true; 
> > > > } 
> > > > ... 
> > > > 
> > > > @Alex: Thanks for the info about the playerglobal. 
> > > > i tried with the version 10.2 when it worked well,but when i tried the 
> > > > configuration 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, 
> > > > datagrid, images, spacers, 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, 
> > > > Miguel 
> > > > 
> > > > 
> > > > 
> > > >> From: mihai.ch...@gmail.com 
> > > >> Date: Fri, 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<http://www.cr8software.net/typelight.html>. 
> > > >> I went into Font->Font Options..., deselected Kerning and saved it on 
> > > >> top 
> > > >> of the original font file. With this treatment, the font does not 
> > > >> trigger 
> > > >> the bug I mentioned, 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 now 
> > > >> that the font did not have this information to begin with. 
> > > >> 
> > > >> If you're using another OS, 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, Maurice Amsellem 
> > > >> <maurice.amsel...@systar.com>wrote: 
> > > >> 
> > > >>> Ah, ok. 
> > > >>> 
> > > >>> -----Message d'origine----- 
> > > >>> De : modjkl...@comcast.net [mailto:modjkl...@comcast.net] 
> > > >>> Envoyé : vendredi 4 octobre 2013 19:42 
> > > >>> À : users@flex.apache.org 
> > > >>> Objet : Re: blurry fonts 
> > > >>> 
> > > >>> Thanks Maurice, 
> > > >>> 
> > > >>> 
> > > >>> Mihai's post below states to remove kerning to avoid a bug: 
> > > >>> 
> > > >>> 
> > > >>> However, if you're going to use it, 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" <maurice.amsel...@systar.com> 
> > > >>> To: users@flex.apache.org 
> > > >>> Sent: Friday, October 4, 2013 10:29:42 AM 
> > > >>> Subject: RE: blurry fonts 
> > > >>> 
> > > >>> global { 
> > > >>> kerning: off; 
> > > >>> } 
> > > >>> 
> > > >>> However, usually text is more readable when kerning is on, especially 
> > > >>> for 
> > > >>> some letters combinations, eg AV and things like that. 
> > > >>> So why would you turn it off? 
> > > >>> 
> > > >>> Maurice 
> > > >>> 
> > > >>> -----Message d'origine----- 
> > > >>> De : modjkl...@comcast.net [mailto:modjkl...@comcast.net] 
> > > >>> Envoyé : vendredi 4 octobre 2013 19:12 
> > > >>> À : users@flex.apache.org 
> > > >>> Objet : Re: blurry fonts 
> > > >>> 
> > > >>> I like peoples suggestions for embedded fonts that look nice. 
> > > >>> 
> > > >>> 
> > > >>> Just curious though, how does one remove the kerning? Do you need 
> > > >>> special 
> > > >>> font software to manipulate this? Or, is it done directly in the font 
> > > >>> file 
> > > >>> somehow? Or, done using actionscript code? etc. 
> > > >>> 
> > > >>> ----- Original Message ----- 
> > > >>> From: "Mihai Chira" <mihai.ch...@gmail.com> 
> > > >>> To: users@flex.apache.org 
> > > >>> Sent: Friday, October 4, 2013 1:15:27 AM 
> > > >>> Subject: Re: blurry fonts 
> > > >>> 
> > > >>> Hey Miguel, 
> > > >>> 
> > > >>> 
> > > >>> we're using Myriad Web 
> > > >>> Pro<http://www.azfonts.net/load_font/myriadwebpro.html>with the 
> > > >>> latest 
> > > >>> version of the SDK and it looks just fine. We also make software 
> > > >>> meant for 
> > > >>> many hours' use. 
> > > >>> 
> > > >>> However, if you're going to use it, 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, 
> > > >>> Mihai 
> > > >>> 
> > > >>> 
> > > >>> On 4 October 2013 08:16, Miguel Ferreira 
> > > >>> <miguel.cd.ferre...@hotmail.com 
> > > >>>>wrote: 
> > > >>> 
> > > >>>> The difference is really big. 
> > > >>>> Even the colors of some item renders. 
> > > >>>> But the question for me is, that will depend of the user player? 
> > > >>>> For the older version is more redable but even so with the font 
> > > >>>> opensans 
> > > >>>> 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: aha...@adobe.com 
> > > >>>>> To: users@flex.apache.org 
> > > >>>>> Date: Thu, 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, "Miguel Ferreira" 
> > > >>>>> <miguel.cd.ferre...@hotmail.com 
> > > >>>> 
> > > >>>>> wrote: 
> > > >>>>> 
> > > >>>>>>Thank you all, 
> > > >>>>>>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, 
> > > >>>>>>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, 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,Miguel 
> > > >>>>>> 
> > > >>>>>>> From: aha...@adobe.com 
> > > >>>>>>> To: users@flex.apache.org 
> > > >>>>>>> Date: Thu, 3 Oct 2013 09:19:11 -0700 
> > > >>>>>>> Subject: Re: blurry fonts 
> > > >>>>>>> 
> > > >>>>>>> I can't find the email thread, but the answer I got was that 
> > > >>>>>>> there 
> > > >>> is 
> > > >>>> no 
> > > >>>>>>> equivalent of gridFitType because the new font rendering 
> > > >>>>>>> algorithm 
> > > >>> is 
> > > >>>>>>> "better". IIRC, it is "better" because it employs some 
> > > >>>>>>> anti-aliasing 
> > > >>>>>>> algorithm on all edges, not just one ones that are unlucky enough 
> > > >>>>>>> to 
> > > >>>> not 
> > > >>>>>>> fall on pixel boundaries, and doesn't mess with inter-character 
> > > >>>> spacing. 
> > > >>>>>>> 
> > > >>>>>>> That said, 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, 
> > > >>>>>>> -Alex 
> > > >>>>>>> 
> > > >>>>>>> On 10/3/13 7:24 AM, "modjkl...@comcast.net" 
> > > >>>>>>> <modjkl...@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, the spark text always looks shorter and fat (e.g. 
> > > >>>>>>>>blurry), 
> > > >>>> and 
> > > >>>>>>>>the mx text looks tall and skinny. The hinting options, while 
> > > >>> having 
> > > >>>> an 
> > > >>>>>>>>effect, don't seem to correct this. If anyone has settings that 
> > > >>> make 
> > > >>>> an 
> > > >>>>>>>>embedded font (Arial or Helvetica) look normal, I'd really like 
> > > >>>>>>>>to 
> > > >>>> try 
> > > >>>>>>>>them. 
> > > >>>>>>>> 
> > > >>>>>>>>----- Original Message ----- 
> > > >>>>>>>>From: "Tom Chiverton" <t...@extravision.com> 
> > > >>>>>>>>To: users@flex.apache.org 
> > > >>>>>>>>Sent: Thursday, October 3, 2013 6:59:30 AM 
> > > >>>>>>>>Subject: Re: blurry fonts 
> > > >>>>>>>> 
> > > >>>>>>>>On 03/10/2013 14:54, 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, 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, then add in a 
> > > >>>> specific 
> > > >>>>>>>>embeded font, then have a look at the various hinting options 
> > > >>>>>>>available. 
> > > >>>>>>>> 
> > > >>>>>>>>Tom 
> > > >>>>>>> 
> > > >>>>>> 
> > > >>>>> 
> > > >>>> 
> > > >>>> 
> > > >>> 
> > > > 
> > > > 
> > 
>                                         
                                          

Reply via email to