realbasic-nug
[Top] [All Lists]

Re: Printing at 72dpi, but no Jaggies!

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Printing at 72dpi, but no Jaggies!
From: Andy Dent <dent at oofile dot com dot au>
Date: Thu, 31 May 2007 07:35:52 +0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <465DC1E1 dot 9040900 at kinnor dot com>
On 31/05/2007, at 2:26 AM, tbuchler wrote:

> By default, OpenPrinterDialog is returning a graphics object with a
> resolution of 72dpi...
> When I draw on the page at 72dpi, specifying graphic objects'  
> locations
> based on 72dpi, the objects are being printed where I expect them  
> to be.
> Fonts and lines are being drawn without jaggies, as though they were
> being drawn at 600 dpi.

which OS?

This may be fine for drawing objects but it is a PITA when you are  
compositing things into a final picture, eg: if masking or doing  
rotated text. Then you really DO need something at the correct  
resolution. Otherwise, you have to just guess at a decent resolution  
or require the user to specify it.

OS/X correctly handles vector-based operations and even seems to do  
the right thing with high-res bitmap pictures, which is why Apple  
probably haven't bothered fixing the OS-level bug with the incorrect  
reporting of resolution for some printers (from the last time I  
explored this issue, the problem is an API-level problem in the OS,  
not a RB problem).

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>