The calculations you mention are typically performed by Windows/driver
code -- the app issues Windows API calls such as "GetTextExtent", passing a
printer device context handle, and gets back the value it needs. (At least
that's the way we code apps here!)

> -----Original Message-----
> From: Jason Morgan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 06, 2002 8:36 AM
>
> The position, width and length of the line has to be calculated based on
the
> font metrics for the current font with the given scale, resolution etc.
>
> So, after being given information about capabilities and metrics of the
> current printer from the driver, Protel is probably simply doing the sums
wrong!!


************************************************************************
* Tracking #: 263432991AA67F418C37A71F7B0C5A65C3A87342
*
************************************************************************

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* To post a message: mailto:[EMAIL PROTECTED]
*
* To leave this list visit:
* http://www.techservinc.com/protelusers/leave.html
*
* Contact the list manager:
* mailto:[EMAIL PROTECTED]
*
* Forum Guidelines Rules:
* http://www.techservinc.com/protelusers/forumrules.html
*
* Browse or Search previous postings:
* http://www.mail-archive.com/proteledaforum@techservinc.com
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to