Subject Re: Metric conversion
From Richard <rclark4@ncap.rr.com>
Date Sun, 26 Mar 2023 12:15:46 -0400
Newsgroups dbase.getting-started

The solution to all problems like this is probably buried more or less
deeply within Vic McClung's dbPrint routine.

On Sun, 26 Mar 2023 08:06:17 -0400, Tom <IHaveNoEmail@ddress> wrote:

>On 3/26/23 4:23 AM, Mervyn Bick wrote:
>> On 2023/03/25 22:16, Tom wrote:
>>
>>> Too late Mervyn. That is exactly how I went about figuring out what I
>>> wanted. I did spend a bit of time scratching my head about why the
>>> startup window with metric of characters with a height of 16 and a
>>> width of 40 could possibly be taller than it was wide when ,to my eye,
>>> the opposite was true. I made the assumption that both dimensions
>>> would have the same conversion factor. My error.
>>>
>>> If anyone might have use for it ...
>>>
>>> multiply a character metric object's width by 7 to get pixel width
>>>
>>> multiply a character metric object's height by 22 to get pixel height
>>>
>>> Thanks for your response.
>>
>> As Richard has pointed out, those values are only valid where the form's
>> scaleFontName property is set to Arial and the scaleFontSize is set to 10.
>>
>> How are you going to use the values now that you have them?
>>
>> Mervyn.
>>
>>
>*
>Hi Mervyn,
>
>As Romain would say :-)
>
>Still working on that ...
>
>Tom