Size of text in Flash?
"William L. Thomson Jr." <[email protected]> 10 Dec 2002 21:34:05 -0800
| Newsgroups | gmane.comp.java.jgenerator.devel |
|---|---|
| Message-ID | <[email protected]> |
What is the conversion ratio of the 1024 EM box to font points/twips? How do you scale the EM box for Flash? Sorry to ask again, but I am having no luck. I have tried all sorts of things from fontHeightInTwips/1024 and fontWidthInTwips/1024. I can get the different characters rect, advance, and etc. but I can't seem to get the proper proportions. From playing around I have a range of fixed numbers I have and idea of the width and heights I need for certain characters. But it changes depending on the amount of characters, font type, etc. I have not found any consistencies that I could use for all. No ratio? Any advice. I have looked through several other objects but I have not seen a solution to my problem? This is with the TextField object using HTML if it matters? -- Sincerely, William L. Thomson Jr. Support Group Obsidian-Studios Inc. 439 Amber Way Petaluma, Ca. 94952 Phone 707.766.9509 Fax 707.766.8989 http://www.obsidian-studios.com ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/