[Bf-blender-cvs] [b07c296] master: Don't scale metadata font with zoom - makes strings not consistently adhere to the string length
Antony Riakiotakis
noreply at git.blender.org
Mon May 4 12:30:44 CEST 2015
Commit: b07c2961fac3a461c4bc42115dc05d87df4b7143
Author: Antony Riakiotakis
Date: Mon May 4 12:30:26 2015 +0200
Branches: master
https://developer.blender.org/rBb07c2961fac3a461c4bc42115dc05d87df4b7143
Don't scale metadata font with zoom - makes strings not consistently
adhere to the string length
===================================================================
M source/blender/editors/screen/area.c
===================================================================
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 89b6d3b..a0ab8de 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -2208,7 +2208,7 @@ void ED_region_image_metadata_draw(int x, int y, ImBuf *ibuf, rctf frame, float
glTranslatef(x, y, 0.0f);
glScalef(zoomx, zoomy, 1.0f);
- BLF_size(blf_mono_font, style->widgetlabel.points * zoomy * 1.5f, U.dpi);
+ BLF_size(blf_mono_font, style->widgetlabel.points * 1.5f, U.dpi);
/* *** upper box*** */
More information about the Bf-blender-cvs
mailing list