[mapguide-trac] #714: Non-Horizontal Text Labels Poor in GD and Mince in AGG

MapGuide Open Source trac_mapguide at osgeo.org
Fri Oct 17 09:19:33 EDT 2008


#714: Non-Horizontal Text Labels Poor in GD and Mince in AGG
-------------------------------+--------------------------------------------
 Reporter:  crispinatime       |         Owner:       
     Type:  defect             |        Status:  new  
 Priority:  medium             |     Milestone:  2.1  
Component:  Rendering Service  |       Version:  2.0.2
 Severity:  major              |    Resolution:       
 Keywords:                     |   External_id:       
-------------------------------+--------------------------------------------
Comment (by crispinatime):

 Hi - I understand... please see below...

 I have also seen labelling issues on horizontal lines where the first word
 of a label string appears above the line (correctly) but with a short line
 the second word in the string is rendered upsidedown and in reverse along
 the bottom of the line... which I can understand but think it should be
 rendered in the same direction as the first word.


 {{{
 <?xml version="1.0" encoding="utf-8"?>
 <LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xsi:noNamespaceSchemaLocation="LayerDefinition-1.1.0.xsd" version="1.1.0">
   <VectorLayerDefinition>
 <ResourceId>Library://NR/Data/Ora_Hades_NETWORK_RAIL.FeatureSource</ResourceId>
 <FeatureName>KingOra:NETWORK_RAIL~SCHEMATIC_BRIDGE_TEXT~GEOM</FeatureName>
     <FeatureNameType>FeatureClass</FeatureNameType>
     <Filter />
     <Geometry>GEOM</Geometry>
     <Url />
     <ToolTip>TEXT</ToolTip>
     <VectorScaleRange>
       <MaxScale>20000</MaxScale>
       <LineTypeStyle>
         <LineRule>
           <LegendLabel />
           <Label>
             <Unit>Meters</Unit>
             <SizeContext>MappingUnits</SizeContext>
             <SizeX>30</SizeX>
             <SizeY>30</SizeY>
             <Rotation>0</Rotation>
             <MaintainAspect>true</MaintainAspect>
             <Text>TEXT</Text>
             <FontName>Arial</FontName>
             <ForegroundColor>000000</ForegroundColor>
             <BackgroundColor>ffffff</BackgroundColor>
             <BackgroundStyle>Transparent</BackgroundStyle>
             <HorizontalAlignment>'Right'</HorizontalAlignment>
             <VerticalAlignment>'Baseline'</VerticalAlignment>
             <Bold>false</Bold>
             <Italic>false</Italic>
             <Underlined>false</Underlined>
           </Label>
           <LineSymbolization2D>
             <LineStyle>Solid</LineStyle>
             <Thickness>0</Thickness>
             <Color>8b0000</Color>
             <Unit>Points</Unit>
             <SizeContext>MappingUnits</SizeContext>
           </LineSymbolization2D>
         </LineRule>
       </LineTypeStyle>
     </VectorScaleRange>
   </VectorLayerDefinition>
 </LayerDefinition>

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/714#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list