[mapguide-users] Opaque Labels in the AJAX viewer vs. the DWF viewer.

Traian Stanev traian.stanev at autodesk.com
Wed Sep 20 17:28:48 EDT 2006


I remember improving the opaque background code slightly in artifact
MG233 to take into account the font descent. So it depends on which
version of the code you are working with...
If you are using 1.0.0 I suggest you upgrade to a later build.
Otherwise, one simple thing to try would be to use a different font and
see if it results in less of a problem. The rendering of the background
rectangle in the AJAX viewer is somewhat approximate, since not all
information about the font is available to the code that draws the
rectangle.
If that fails, consider using ghosted background rather than solid. I
know it's not the same, but that's all I can think of that doesn't
involve modifying the source code to the font renderer.
 
 
Traian

  _____  

From: Warren Medernach [mailto:warren.medernach at imaginit.ca] 
Sent: Wednesday, September 20, 2006 3:53 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Opaque Labels in the AJAX viewer vs. the DWF
viewer.


Hello all,
 
Just wondering if there is a 'fix' or workaround for the problem with
Opaque labels in the AJAX viewer?
 
The opaque block seems to be 'misplaced' above the text...  more
opaqueness above the text than below the text.
See the attached image.
 
Thanks so much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060920/49ae73af/attachment.html


More information about the Mapguide_users mailing list