[jira] Created: (GEOT-2820) Missing fonts used in SLDs should be cached

1 message Options
Embed this post
Permalink
JIRA jira@codehaus.org

[jira] Created: (GEOT-2820) Missing fonts used in SLDs should be cached

Reply Threaded More More options
Print post
Permalink
Missing fonts used in SLDs should be cached
-------------------------------------------

                 Key: GEOT-2820
                 URL: http://jira.codehaus.org/browse/GEOT-2820
             Project: GeoTools
          Issue Type: Improvement
          Components: core styling
    Affects Versions: 2.6.0
            Reporter: Stefan Alfons Krüger
             Fix For: 2.6.1


Imagine the SLD TextSymbolizer describes a font that doesn't exist on the computer. At the moment, GeoTools will look for that font every time it's used.. throwing a lot of exceptions while rendering and using the default font at the end. Throwing and catching these exceptions makes rendering pretty slow.

My proposal is:

Extend the FontCache to also cache "FontNotFound" states to avoid multiple, repeating FontNotFound exceptions while rendering.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel