The PerpendicularOffset should be working. The documentation page:
http://docs.codehaus.org/display/GEOSDOC/LabelingOptions
has an example.
What version are you using? Try the latest as this was only fixed in
january.
As for the font stuff, I'm betting you're using linux. Our sys admin
solved this problem. This is what he said:
----
There's very few fonts installed by default in java, but you can
specify additional paths where to look for them. I added the
following line to my jre/lib/font.properties:
appendedfontpath=/usr/share/fonts/corefonts
Then just restart tomcat and you should be able to use the new fonts.
----
dave
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/
Sorry. I should have specified the version. I’m running GeoServer v1.3.0… is this release supposed to contain the fix for the PerpendicularOffset problem?
Yes, I am running GeoServer on Linux.
Just to clarify: I think someone mentioned that the font-family can specify either a font name or an actual truetype font file. Is this true?
Thanks for your help.
Corey
On 3/22/06, dblasby@anonymised.com <dblasby@anonymised.com > wrote:
The PerpendicularOffset should be working. The documentation page:
http://docs.codehaus.org/display/GEOSDOC/LabelingOptions
has an example.
What version are you using? Try the latest as this was only fixed in
january.
As for the font stuff, I’m betting you’re using linux. Our sys admin
solved this problem. This is what he said:
There’s very few fonts installed by default in java, but you can
specify additional paths where to look for them. I added the
following line to my jre/lib/font.properties:
appendedfontpath=/usr/share/fonts/corefonts
Then just restart tomcat and you should be able to use the new fonts.
dave
Corey Puffalt wrote:
Sorry. I should have specified the version. I'm running GeoServer v1.3.0..
is this release supposed to contain the fix for the PerpendicularOffset
problem?
Yes - it should be working. Could you make a bug report and I'll take a
look at it.
Yes, I am running GeoServer on Linux.
Just to clarify: I think someone mentioned that the font-family can specify
either a font name or an actual truetype font file. Is this true?
yes - you should be able to use /path/to/file.ttf as the font name.
dave
I’ve created a JIRA issue for this bug: http://jira.codehaus.org/browse/GEOS-602
On 3/22/06, David Blasby <dblasby@anonymised.com> wrote:
Corey Puffalt wrote:
Sorry. I should have specified the version. I’m running GeoServer v1.3.0…
is this release supposed to contain the fix for the PerpendicularOffset
problem?
Yes - it should be working. Could you make a bug report and I’ll take a
look at it.
Yes, I am running GeoServer on Linux.
Just to clarify: I think someone mentioned that the font-family can specify
either a font name or an actual truetype font file. Is this true?
yes - you should be able to use /path/to/file.ttf as the font name.
dave
okay, this is fixed in Geotools 2.1.x, 2.2.x, and trunk (2.3.x).
It'll be available in the next release.
dave
David,
Thanks a lot for the quick fix! Is this a small isolated fix that I could apply as a patch to my existing GeoServer 1.3.0 codebase?
Corey
On 3/23/06, David Blasby <dblasby@anonymised.com> wrote:
okay, this is fixed in Geotools 2.1.x, 2.2.x, and trunk (2.3.x).
It’ll be available in the next release.
dave