Re: [Flashcoders] getTextExtent weirdness

2006-06-27 Thread erixtekila
Pixel-accurate width is correctly returned every time. The same method can be used for multiple entry fields, even with different typefaces or type styles as long as those style parameters are passed to the auto-sized, off-stage measurement field. Do you mean those used with FlashType

RE: [Flashcoders] getTextExtent weirdness

2006-06-27 Thread Ville Walveranta
:[EMAIL PROTECTED] On Behalf Of erixtekila Sent: Tuesday, June 27, 2006 08:50 To: Flashcoders mailing list Subject: Re: [Flashcoders] getTextExtent weirdness Pixel-accurate width is correctly returned every time. The same method can be used for multiple entry fields, even with different typefaces

Re: [Flashcoders] getTextExtent weirdness

2006-06-27 Thread erixtekila
Primarily the main formatting characteristics such as font name, size and style if applicable; with embedded/bitmap fonts the style is what it is, of course. Anti aliasing or sharpness likely are not going to make a big difference in the width, and they do not apply anyway with bitmap fonts.

RE: [Flashcoders] getTextExtent weirdness

2006-06-27 Thread Ville Walveranta
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of erixtekila Sent: Tuesday, June 27, 2006 13:33 To: Flashcoders mailing list Subject: Re: [Flashcoders] getTextExtent weirdness Primarily the main formatting characteristics such as font name, size and style if applicable; with embedded/bitmap fonts

RE: [Flashcoders] getTextExtent weirdness

2006-06-24 Thread Ville Walveranta
are passed to the auto-sized, off-stage measurement field. Ville -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ville Walveranta Sent: Thursday, June 22, 2006 13:23 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] getTextExtent weirdness I

Re: [Flashcoders] getTextExtent weirdness

2006-06-23 Thread michal jaworski
i had this problem a while ago. the text would be rendred exactly the same on all platforms buth the numbers returned from textExtend varied depending on os, browser, i don't know what else. with a tendency to cut off lines/letters on mac. i came up with the following: took a largish block of

Re: [Flashcoders] getTextExtent weirdness

2006-06-22 Thread Danny Kodicek
I've noticed a post about this in the archives, but it was described as a Mac issue and I'm getting it on a PC. I'm trying to use TextFormat.getTextExtent() to do some image calculations, but I'm getting enormous values. I suspect it's because my text includes newline characters, but that's

Re: [Flashcoders] getTextExtent weirdness

2006-06-22 Thread janosch
Hello, i always use textfield.autoSize, and it works fine. But you have to be carefull, to set the correct styles to the textfield, before measuring. Janosch Danny Kodicek schrieb: I've noticed a post about this in the archives, but it was described as a Mac issue and I'm getting it

RE: [Flashcoders] getTextExtent weirdness

2006-06-22 Thread Ville Walveranta
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of janosch Sent: Thursday, June 22, 2006 11:09 To: Flashcoders mailing list Subject: Re: [Flashcoders] getTextExtent weirdness Hello, i always use textfield.autoSize, and it works fine. But you have