6 #if !defined(LST_FONTLIST_H__INCLUDED_)
7 #define LST_FONTLIST_H__INCLUDED_
17 class CFontProperties;
27 void add(
long fontindex, std::wstring fontname, vector<std::wstring>* substitutes,
bool forceSubst =
true);
35 long getMappedIndex(
long fontIndex);
48 #endif // LST_FONTLIST_H__INCLUDED_
size_t numFonts()
return number fonts in map
Definition: FontMap.h:31
long getNumberMapped()
get actual number of font indexes used. note this can be greater than number of fonts used e...
Definition: FontMap.cpp:101
CFontMap – Container for font objects of a CGM picture and used for text drawing and metrics in DrawB...
Definition: FontMap.h:20
vector< CLSTFont * > m_fonts
font list
Definition: FontMap.h:31
CLSTFont – Font object class, one per facename used in a CGM picture.
Definition: Font.h:28
CLSTFont * getFont(long fontIndex)
get font object for drawing
Definition: FontMap.cpp:67
vector< long > m_fontIndexMap
Definition: FontMap.h:44
void add(long fontindex, std::wstring fontname, vector< std::wstring > *substitutes, bool forceSubst=true)
add font to font list
Definition: FontMap.cpp:25