mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user