[mapguide-users] LayerDefinition: Alignment of Font not as expected

torrini maria.kallbach at geoplanteam.ch
Thu Aug 15 06:00:58 PDT 2013


Hi list,

in my MapGuide-application the border points are a bit offset in comparison
to the Map3D-application. They are both described the same: as a composite
style with a font (symbol).

AutoCAD Map3D 2012 (right-click -> show Image to view larger):
<http://osgeo-org.1560.x6.nabble.com/file/n5072695/acad.png> 

MapGuide 2.5 (right-click -> show Image to view larger):
<http://osgeo-org.1560.x6.nabble.com/file/n5072695/mapguide.png> 

Code:
<SymbolInstance>
  <SimpleSymbolDefinition>
    <Name>Normaler Text</Name>
    <Graphics>
      <Text>
        <Content>'I'</Content>
        <FontName>'CadastraSymbol'</FontName>
        <Bold>false</Bold>
        <Italic>false</Italic>
        <Underlined>false</Underlined>
        <Overlined>false</Overlined>
        <Height>1200</Height>
        <HorizontalAlignment>'Center'</HorizontalAlignment>
        <VerticalAlignment>'Baseline'</VerticalAlignment>
        <Justification>'FromAlignment'</Justification>
        <LineSpacing>1.05</LineSpacing>
        <TextColor>0xff686868</TextColor>
        <GhostColor></GhostColor>
        <Frame>
          <LineColor></LineColor>
          <FillColor></FillColor>
        </Frame>
      </Text>
    </Graphics>
    <PointUsage>
      <Angle>0</Angle>
    </PointUsage>
    <ParameterDefinition/>
    </SimpleSymbolDefinition>
  <ParameterOverrides/>
  <SizeContext>MappingUnits</SizeContext>
  <ScaleX>1.36</ScaleX>
  <ScaleY>1.36</ScaleY>
  <AddToExclusionRegion>true</AddToExclusionRegion>
  <UsageContext>Point</UsageContext>
  <GeometryContext>Point</GeometryContext>
</SymbolInstance>


Can anybode explain this effect or even solve it?

Thanks in advance!
-torrini



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/LayerDefinition-Alignment-of-Font-not-as-expected-tp5072695.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list