added not_bitmap_chars at TileFont

This commit is contained in:
2022-02-18 20:30:50 +08:00
parent 6a039b8a51
commit 14269369be
4 changed files with 22 additions and 21 deletions

View File

@@ -22,6 +22,8 @@ namespace hgl
TileResPool to_res;
SortedSets<u32char> not_bitmap_chars;
public:
FontSource *GetFontSource (){return source;}
@@ -33,7 +35,7 @@ namespace hgl
TileFont(TileData *td,FontSource *fs);
virtual ~TileFont();
bool Registry(TileUVFloatMap &,const u32char *ch_list,const int ch_count); ///<注册要使用的字符
bool Registry(TileUVFloatMap &,SortedSets<u32char> &chars_sets); ///<注册要使用的字符
void Unregistry(const List<u32char> &); ///<注销要使用的字符
};//class TileFont
}//namespace graph