<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5450.4" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=156105919-20092006>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...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=156105919-20092006>If you are using 1.0.0 I suggest you upgrade to a later
build. Otherwise, o</SPAN></FONT><SPAN class=156105919-20092006><FONT face=Arial
color=#0000ff size=2>ne 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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156105919-20092006><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156105919-20092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=156105919-20092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=156105919-20092006><FONT face=Arial
color=#0000ff size=2>Traian</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Warren Medernach
[mailto:warren.medernach@imaginit.ca] <BR><B>Sent:</B> Wednesday, September 20,
2006 3:53 PM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B>
[mapguide-users] Opaque Labels in the AJAX viewer vs. the DWF
viewer.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=499524019-20092006><FONT face=Arial color=#0000ff size=2>Hello
all,</FONT></SPAN></DIV>
<DIV><SPAN class=499524019-20092006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=499524019-20092006><FONT face=Arial color=#0000ff size=2>Just
wondering if there is a 'fix' or workaround for the problem with Opaque labels
in the AJAX viewer?</FONT></SPAN></DIV>
<DIV><SPAN class=499524019-20092006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=499524019-20092006><FONT face=Arial color=#0000ff size=2>The
opaque block seems to be 'misplaced' above the text... more opaqueness
above the text than below the text.</FONT></SPAN></DIV>
<DIV><SPAN class=499524019-20092006>
<DIV><SPAN class=499524019-20092006><FONT face=Arial color=#0000ff size=2>See
the attached image.</FONT></SPAN></DIV>
<DIV><SPAN class=499524019-20092006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=499524019-20092006><FONT face=Arial color=#0000ff size=2>Thanks
so much</FONT></SPAN></DIV></SPAN></DIV></BODY></HTML>