Show
Ignore:
Timestamp:
06/29/08 06:58:48 (6 months ago)
Author:
artem
Message:

applied font fallback patch from Beau Gunderson

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/include/mapnik/map.hpp

    r702 r704  
    4545        boost::optional<Color> background_; 
    4646        std::map<std::string,feature_type_style> styles_; 
     47        std::map<std::string,FontSet> fontsets_; 
    4748        std::vector<Layer> layers_; 
    4849        Envelope<double> currentExtent_; 
     
    129130         */ 
    130131        feature_type_style const& find_style(std::string const& name) const; 
     132 
     133        /*! \brief Insert a fontset into the map. 
     134         *  @param name The name of the fontset. 
     135         *  @param style The fontset to insert. 
     136         *  @return true If success. 
     137         *  @return false If failure. 
     138         */ 
     139        bool insert_fontset(std::string const& name, FontSet const& fontset); 
     140        
     141        /*! \brief Find a fontset. 
     142         *  @param name The name of the fontset. 
     143         *  @return The fontset if found. If not found return the default map fontset. 
     144         */ 
     145        FontSet const& find_fontset(std::string const& name) const; 
    131146 
    132147        /*! \brief Get number of all layers.