Just as a side note, textfields rendered with device fonts can be
'captured' by way of BitmapData instances and manipulated as an image,
so on most aspects, they can still be manipulated although you'd need a
few more steps for that (and Flash Player 8+).
Can this be done with embedded fonts too ?
It can, but shouldn't be needed, since that's just a workaround so
you're able to manipulate textfields with device fonts as if they were
normal textfields.
I've had to use that a few times when using textfields with japanese fonts.
but borderColor and backgroundColor being honoured). Can anyone confirm ?
I haven't tested these properties specifically, but I think they do
work.
It has been reported that they do NOT work with LNX 9,0,31,0 (Adobe's)
Does it have to be considered a bug or is it known practice among flash
coders to switch code based on some sort of versioning ?
Well, it's not normal. There has been issues between versions in the
past - specially some differences between Mac and PC - so we've had to
decide against some practices in the past (ie, getTextExtent() return
values). But they're rare and should be considered a bug, IMO.
Plus they can have filters (Flash 8+ feature) applied to force
antialias. So yes, it's a bit confusing.
Gnash also support antialias for device fonts for free (another "problem" ?)
In this case, I'm not sure if that's a problem. The way I see it, this
option - rendering with or without antialias - depends a lot on the
current system and the system options in regards to screen antialasing.
I've seen the same text with the same font be rendered with antialias on
a Mac, and without antialias on a PC; so there's not much consistency,
and whichever option Gnash picks would make sense... althought it'd be
best if it could read the global OS setting related to that: for
example, my windows PC is set with "Smooth edges of screen fonts" as off
so I think the Flash player is simply respecting that.
Zeh
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com