4

JavaFX 2.0 nicer way to write RIA but RIA that still looks like CRAP

Posted by JOKe on 6/24/2011 11:33:00 AM in

OK don’t get me wrong. I like the new way of JavaFX 2.0 I liked the JavaFX Script but not so match so I like that they get rid of it and that they just plan to make a nice library (alternative to Swing) for creating RIA apps. But please Oracle why this JavaFX still looks like CRAP ?

I’ve posted an old post for font rendering ( http://gochev.blogspot.com/2009/08/ria-technologies-lets-compare-font.html ) not many things has been changed since then.

JavaFX was originally created in 2009 I believe 2 years ago at that time the Swing Font rendering also was looking bad on windows BUT NOW IT LOOKS AWESOME. Swing fonts are rendered as 100% cleartype native fonts you cannot make the difference, the things that make many developers use SWT instead of Swing ware gone, because Swing was looking great. But JavaFX… it was looking like CRAP the UI was having nothing RIA inside it even doesn’t have normal looking fonts.

Today … 2 years later we have JavaFX 2.0 beta… and this beta still looks like CRAP

https://lh6.googleusercontent.com/-r4-Nx7saQQA/TgRH4uC_6aI/AAAAAAAAAoM/_-DFGNwxid8/JavaFX20StillLooksLikeCrap.png

Really ??? Common Guys it is normal there is no real JavaFX application the fonts are UNREADABLE

Oki anyway the other camp Microsoft … Silvercrap … again it was release in 2007 ! The fonts still looks like NIGHTMARE.

https://lh5.googleusercontent.com/-QCgfRFTQRew/TgRJSbyvqmI/AAAAAAAAAoU/4QMDRj-7tco/silverlightCrap.png

Microsoft even successfully broke the IE9 fonts so nothing new. Maybe now when everything in the browser looks like Crap thanks Microsoft maybe now the people will not notice the silverilght crappy fonts.

I am not an adobe fan but I am starting being one because Flash/Flex fonts really looks AWESOME why Adobe can make it and the Microsoft/Oracle cant ? No idea but in any way I understand why Flash/Flex are so popular they are just made for RIA they LOOKs nice and no no they look AMAZING

Example a Flex 4.5 application:

https://lh5.googleusercontent.com/-XPYBGVdSuVk/TgRIoJHEtMI/AAAAAAAAAoQ/Uh9gFDfYZ1E/FlashFontsAreAwesome.png

What can I say ? Ok we have many frameworks for creating RIA and actually only one which is useful.

P.S. if you ask me ActionScript is a lot like Java maybe it actually really looks like the Script for Java (shame I cannot call it JavaScript because the name is taken Open-mouthed smile )



UPDATE:
I just red that the font rendering in WPF 4 has been fixed (maybe because Visual Studio 2010 is written in WPF) so .. in WPF it is fine but in silverlight it is not strange.. Still in WPF it is broken by default and you have to use TextOptions.TextFormattingMode="Display" For more info check out http://blogs.msdn.com/b/text/archive/2009/08/24/wpf-4-0-text-stack-improvements.aspx


Anyway in short normally it looks like this:


https://lh3.googleusercontent.com/-UKqYV16FWeo/TgRcfMjS_5I/AAAAAAAAAoo/_wKYKJoX49U/WPF4Crap.png



When you add this not default attribute it becomes looking nice


https://lh6.googleusercontent.com/-fuE6QKGWXoI/TgRcfDWVZDI/AAAAAAAAAos/JFA5WzOsWDI/WPFNice.png


|

4 Comments


Read this

http://weblogs.java.net/blog/opinali/archive/2011/06/18/interested-about-javafx-jira-your-friend

Hopefully it'll answer your doubts

RT-10770: Support LCD subpixel text - Yes we will have subpixel antialiasing. JavaFX can use both the platform's native text rasterizer, or its own portable rasterizer, depending on some heuristics summarized in this issue.


This comment has been removed by the author.

ok l that is good but the thing ss that beta doesnt mean anything, it was not beta in 1.0 or 1.2 or 1.3 but was never fixed and many many peoples ware complaining about that. Still thanks for the issue number i will keep watch on it will see when it will be resolved


So lamboap The JavaFX GA is available and still fonts look like crap :) This JIRA issue is still not resolved.

Copyright © 2009 JOKe's Blog All rights reserved. Theme based on the Theme by Laptop Geek with changes by JOKe. | Bloggerized by FalconHive.