Andrei Veselov
unread,Jan 8, 2009, 11:05:48 PM1/8/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MapInfo-L
Since there has been a lot of questions on MapInfo-L about printing
maps with vector translucency and printing to PDF in particular, I
would like to take an opportunity and explain some of the changes
that we made in 9.5.1 and get into details how MapInfo Professional
users can control it.
In 9.5.1. we added a new way of rendering which we call Enhanced
Rendering. Enhanced Rendering is based on Microsoft GDI+ capabilities.
Until 9.5.1 we have been using GDI, which stands for Graphic Device
Interface. GDI+ is an improved 2D graphics environment and allows
Windows software developers like us to use advanced rendering features
like alpha blending (vector translucency) , smoothing of raster
images, anti-aliasing, etc. Enhanced rendering means that window is
drawn using GDI+. If enhanced rendering is not enabled, a window is
drawn with GDI. It is possible to draw a window (map, layout, browser
or legend) in enhanced mode (GDI+) without using of any new features
(vector translucency, anti-aliasing, raster smoothing). It should look
very close to GDI drawing.
Enhanced rendering in MapInfo Professional 9.5.1 allows to create
translucent labels, themes, and layers, as well as apply anti-aliasing
to smooth the jagged edges of text, labels, lines, curves, region
borders and raster images. It also provide a new way of drawing
selections and two new export formats as a result of using the new
enhanced rendering.
In certain cases, rendering mechanism is automatically promoted to
enhanced rendering. For example, when vector translucency is turned
on, enhanced rendering is turned on.
We also provide a new printing method for maps and layouts containing
translucent content and anti-alias settings. This method renders the
map or layout “behind the scenes” to an offscreen bitmap prior to
sending it to your printer or plotter. The use of offscreen bitmaps is
invoked depending on the type of translucent content in the map and
the enhanced rendering state of the window, as follows:
• Invoked when your map or layout contains translucent vectors (e.g.,
map layers, themes, or labels) and enhanced rendering has been
enabled.
• Invoked if your map contains images with either High or Low Quality
smoothing enabled.
• Invoked for translucent raster and grid images provided enhanced
rendering is enabled.
In all above mentioned cases map and layouts will be automatically
printed using offscreen bitmap method. There is no need to set any
registry settings to invoke offscreen bitmap printing mechanism.
In some cases, users would be interested to enforce new offscreen
bitmap printing mechanism. Good example would be printing of large
high-resolution maps or layouts that contain raster layers. Currently
it is not possible to control it through User Interface. For cases
like this, we introduced new registry setting called PrintOSBM,
located under HKEY_LOCAL_MACHINE\SOFTWARE\MapInfo\MapInfo\Common. The
values are dword:00000000 (auto) and dword:00000001 (forced on). Auto,
the default, means that printing will use offscreen bitmaps only for
the translucency and anti-alias conditions listed above. Forced on
means printing will use offscreen bitmaps regardless of the
translucency and anti-alias settings. If this registry settings is
absent, then MapInfo professional will be using “auto” setting.
For the future, we are planning to expose this new printing mechanism
through the user interface and have it available in addition to “print
directly to device” and “print using Enhance Metafile (EMF)” methods.
Whenever MapInfo Professional is used to create PDF files by using PDF
printing drivers, the same logic will apply. Basically, if you have
translucent vector layers on a map, there is no need to create a
registry setting to enforce offscreen bitmap printing method., it will
happen automatically.
If you need to check if offscreen bitmap printing method is used or
not, you can do it by going into File > Print > Advanced dialog. If
you see that both “print directly to device” and “print using Enhance
Metafile (EMF)” options are disabled in a dialog, it means that
“offscreen bitmap” method is used.
Regards,
Andrei Veselov Product Architect
Pitney Bowes Business Insight (MapInfo)
One Global View |Troy, NY 12180