Center text within a field?
Joe Lewis Wilkins
pepetoo at cox.net
Thu Jun 7 12:34:18 EDT 2007
Congrats, Trevor. If you've come up with an acceptable handler that
performs well, then my suggestion is entirely moot at this time. I'm
surprised that you were able to come up with a good solution in the
time frame you mention. Great!
Joe Wilkins
On Jun 7, 2007, at 9:24 AM, Trevor DeVore wrote:
> On Jun 6, 2007, at 5:09 PM, Joe Lewis Wilkins wrote:
>
>> I realize it would take a lot of initial work, but you guys seem
>> up for it: why not just use a lookup table with the exact values
>> you need for each font "condition" listed?
>
> Hi Joe,
>
> I think the time to research all of the possible scenarios would
> take longer then it did to right the image analyzer handler (~1/2
> hr) as I would have to do this for Mac/Win and even then I wouldn't
> know if it would work with fonts I don't have installed. The
> problem I kept running into is that different fonts at the same
> size can have very different heights.
>
>> Of course, you can limit the amount of preparation by just
>> limiting the acceptable fonts and perhaps some of the other ranges
>> as well. This way the table of values could be expanded over time
>> and by others if need be without coming up with any "exact"
>> formulation at the outset. Just a thought!
>
> Limiting the text size ranges and fonts would have been an option
> and I almost went that route. But now that I have a handler to
> analyze the glyph I don't have to worry about it no matter what the
> user throws at it.
>
> Thanks,
>
> --
> Trevor DeVore
> Blue Mango Learning Systems
> www.bluemangolearning.com - www.screensteps.com
> trevor at bluemangolearning.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list