I continued translating some Elm examples and today I went through this element sorting/layout of an array of strings and I decided to represent them as TextFields because, they seem customizable and fit in a Sprite; however I am unable to render properly the text in Html5 or Neko; it always looks blurry and transform it to a bitmap makes it worse also in flash. AntiAlias makes some effects on Neko but also not really nice (I would not implement a text processor App in OpenFL).
See screenshot (left browser, down neko, right flash). For sure -dDom makes it better but I think it is not always a choice.
With size 40 it looks much better but that’s not the size I want, so if I scale to something smaller in neko and CPP looks almost as good as flash; in the other hand html5 becomes just unusable…
txt.scaleX = txt.scaleY = 0.25;
I use a retina display, and together with those scaling imrpovements I though it could it be that the density of pixels or DPI is detected wrong, the only I found on the topic is this API which in the comment speaks only about the Flash target: