MapTools.org

[rosa-users] Weird behaviour of Rosa with scaled fonts...

Vinko Vrsalovic vinko@cprsig.cl
Wed, 31 Jul 2002 19:03:18 -0400
Hello, I'm using Rosa (devel version) with PNG support.

It usually works fine, with the labels at various scales, but,
sometimes, when you zoom in too close, the colors of the fonts get
distorted, for instance a blue gets red or green borders...

I've detected this as a Rosa problem because the image generated, seen
in the browser, looks fine.

You can see an example in

http://www.cprsig.cl/sixlegs.html

The params I'm feeding the applet are (they're almost the same as the
GMap ones):

<applet archive="/rosa/class/rosa.jar" width="300" code="Rosa2000"
height="300" name="RosaApplet" MAYSCRIPT>
<param name="IMG_URL" value="http://www.cprsig.cl/tmp/1028156034134151.png">
<PARAM NAME="INP_FORM_NAME" VALUE="map">
<PARAM NAME="INP_TYPE_NAME" VALUE="INPUT_TYPE">
<PARAM NAME="INP_COORD_NAME" VALUE="INPUT_COORD">
<PARAM NAME="TB_ALIGN" VALUE="bottom">
<PARAM NAME="LOADING_MSG" VALUE="Cargando el mapa...  Por favor, espere.">
<PARAM NAME="TB_BUTTONS" VALUE="zoomin|zoomout|recentre|pquery">
<PARAM NAME="TB_SELECTED_BUTTON" VALUE="zoomin"> 
<PARAM NAME="TB_BUT_zoomin_IMG" VALUE="./images/tool_zoomin_1.gif">
<PARAM NAME="TB_BUT_zoomin_IMG_PR" VALUE="./images/tool_zoomin_2.gif">
<PARAM NAME="TB_BUT_zoomin_HINT" VALUE="Zoom in: Aprete este botón|y se hará zoom in">
<PARAM NAME="TB_BUT_zoomin_INPUT" VALUE="auto_rect"> 
<PARAM NAME="TB_BUT_zoomin_NAME" VALUE="CMD"> 
<PARAM NAME="TB_BUT_zoomin_VALUE" VALUE="ZOOM_IN"> 
<PARAM NAME="TB_BUT_zoomout_IMG" VALUE="./images/tool_zoomout_1.gif"> 
<PARAM NAME="TB_BUT_zoomout_IMG_PR" VALUE="./images/tool_zoomout_2.gif"> 
<PARAM NAME="TB_BUT_zoomout_HINT" VALUE="Zoom out: Aprete este botón|y se hará zoom out"> 
<PARAM NAME="TB_BUT_zoomout_INPUT" VALUE="submit"> 
<PARAM NAME="TB_BUT_zoomout_NAME" VALUE="CMD"> 
<PARAM NAME="TB_BUT_zoomout_VALUE" VALUE="ZOOM_OUT"> 
<PARAM NAME="TB_BUT_recentre_IMG" VALUE="./images/tool_recentre_1.gif"> 
<PARAM NAME="TB_BUT_recentre_IMG_PR" VALUE="./images/tool_recentre_2.gif"> 
<PARAM NAME="TB_BUT_recentre_HINT" VALUE="Recentrar: Aprete este botón|y el mapa se recentrará"> 
<PARAM NAME="TB_BUT_recentre_INPUT" VALUE="auto_point"> 
<PARAM NAME="TB_BUT_recentre_NAME" VALUE="CMD"> 
<PARAM NAME="TB_BUT_recentre_VALUE" VALUE="RECENTER"> 
<PARAM NAME="TB_BUT_pquery_IMG" VALUE="./images/tool_info_1.gif"> 
<PARAM NAME="TB_BUT_pquery_IMG_PR" VALUE="./images/tool_info_2.gif"> 
<PARAM NAME="TB_BUT_pquery_HINT" VALUE="Consultar punto: Aprete este botón|y se hará una consulta sobre el punto"> 
<PARAM NAME="TB_BUT_pquery_INPUT" VALUE="auto_rect"> 
<PARAM NAME="TB_BUT_pquery_NAME" VALUE="CMD"> 
<PARAM NAME="TB_BUT_pquery_VALUE" VALUE="QUERY_POINT"> 
</applet>

-- 
Vinko Vrsalovic <vinko[|-@-|]cprsig.cl>
http://www.cprsig.cl


This archive was generated by Pipermail.