This is really two commits but the first one is very small and affects one
file I modified for the other patch. So I'm being bad and combining them together. First one is added -lXi to LLIBS for solaris. (Makes it so it compiles again with the tablet stuff added) Second one is the real commit its an expansion of patch #4458 This adds optional ICONV lining to support international fonts in the file selector. Thanks to wisit venita (dripstone) I mostly just cleaned it up a little and made it optional via defines. Its currently turned off for all platforms except for solaris on scons. For scons see your config/(platform).py file look for WITH_BF_ICONV For the Makefiles look at source/nan_definitions.mk look for WITH_ICONV (basically you'll want to export WITH_ICONV=true and possibly set some other stuff) Let me know if there are any problems. Kent -- mein@cs.umn.edu
This commit is contained in:
@@ -1565,7 +1565,7 @@ static void ui_draw_text_icon(uiBut *but)
|
||||
if(but->type==LABEL && but->min!=0.0) BIF_ThemeColor(TH_BUT_TEXT_HI);
|
||||
|
||||
ui_rasterpos_safe(x, (but->y1+but->y2- 9.0)/2.0, but->aspect);
|
||||
if(but->type==TEX || but->type==IDPOIN) transopts= 0; // no translation, of course!
|
||||
if(but->type==IDPOIN) transopts= 0; // no translation, of course!
|
||||
else transopts= (U.transopts & USER_TR_BUTTONS);
|
||||
BIF_DrawString(but->font, but->drawstr+but->ofs, transopts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user