Index: source/blender/src/drawipo.c =================================================================== --- source/blender/src/drawipo.c (revision 11154) +++ source/blender/src/drawipo.c (working copy) @@ -44,7 +44,6 @@ #include #endif -#include "BMF_Api.h" #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" @@ -80,6 +79,7 @@ #include "BIF_glutil.h" #include "BIF_editseq.h" #include "BIF_editaction.h" +#include "BIF_language.h" #include "BSE_drawipo.h" #include "BSE_view.h" @@ -133,8 +133,10 @@ str[len+1]= 0; } - glRasterPos2f(x, y); - BMF_DrawString(G.fonts, str); + BIF_SetScale(1.0); + glRasterPos2f(x, y); + BIF_RasterPos(x, y); + BIF_DrawString(G.fonts, str, 0); } static void step_to_grid(float *step, int *macht) @@ -707,8 +709,8 @@ ei= sipo->editipo; for(a=0; atotipo; a++, ei++) { - if (BMF_GetStringWidth(G.font, ei->name) + 18 > ipowidth) - ipowidth = BMF_GetStringWidth(G.font, ei->name) + 18; + if (BIF_GetStringWidth(G.font, ei->name, 0) + 18 > ipowidth) + ipowidth = BIF_GetStringWidth(G.font, ei->name, 0) + 18; } return ipowidth;