[Geoserver-devel] [jira] (GEOS-6263) The quality of TTF mark rendering could be better

Sakari Puhakka created BugGEOS-6263
The quality of TTF mark rendering could be better

Issue Type:

BugBug

Affects Versions:

2.4.3

Assignee:

Andrea Aime

Attachments:

dot-markers.ttf, image1.png, image2.png

Created:

09/Jan/14 9:08 AM

Description:

There seems to be some lack of accuracy when rendering curved parts of TTF marks as point symbolizers. See the attachments pictures: The first image should contain perfect circles and the second one is otherwise distorted.

Other font rendering software don’t have similar effects with my TTF file. Also, an example main program of the TTFMarkFactory.java file seems to render the symbols correctly. I have tried to adjust internal parameters of the font without effect.

The attached images are from the bugsites example using the attached TTF file as follows:

<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>ttf://dot-markers#0xe005</WellKnownName>
<Fill>
<CssParameter name=“fill”>#ffffff</CssParameter>
</Fill>
<Stroke>
<CssParameter name=“stroke”>#B4B4B4</CssParameter>
</Stroke>
</Mark>
<Size>
<ogc:Literal>200</ogc:Literal>
</Size>
</Graphic>
</PointSymbolizer>

and

<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>ttf://dot-markers#0xe000</WellKnownName>
<Fill>
<CssParameter name=“fill”>#ffffff</CssParameter>
</Fill>
<Stroke>
<CssParameter name=“stroke”>#B4B4B4</CssParameter>
</Stroke>
</Mark>
<Size>
<ogc:Literal>200</ogc:Literal>
</Size>
</Graphic>
</PointSymbolizer>

Environment:

Various

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Sakari Puhakka

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)