Use draw_text instead of text when making symbol images for HTML export

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@927 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-06-01 00:04:22 +00:00
parent 4baf647b83
commit 17a43ec164
+1 -1
View File
@@ -355,7 +355,7 @@ Image SymbolFont::getImage(double font_size, const DrawableSymbol& sym) {
// align text
RealPoint text_pos = align_in_rect(sym.symbol->text_alignment, ts, sym_rect);
// draw text
rdc.DrawTextWithShadow(sym.text, *sym.symbol->text_font, text_pos, font_size, stretch);
rdc.DrawTextWithShadow(sym.draw_text, *sym.symbol->text_font, text_pos, font_size, stretch);
// done
dc.SelectObject(wxNullBitmap);
return bmp.ConvertToImage();