Changeset 719 for trunk

Show
Ignore:
Timestamp:
07/29/08 03:51:45 (5 months ago)
Author:
tom
Message:

Don't return a null point when no glyph can be found in any font.

Patch from Jon Burgess <jburgess777@…>.

Files:
1 modified

Legend:

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

    r715 r719  
    165165            } 
    166166 
    167             return glyph_ptr(); 
     167            // Final fallback to empty square if nothing better in any font 
     168            return glyph_ptr(new font_glyph(*faces_.begin(), 0)); 
    168169        } 
    169170