1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

- Unbreak after the recent print/freetype2 update

MFH:		2014Q4
This commit is contained in:
Marcus von Appen 2014-12-13 09:06:09 +00:00
parent 2f4abff960
commit 338af90f12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374641

View File

@ -0,0 +1,13 @@
--- source/blender/blenfont/intern/blf_glyph.c.orig 2014-12-11 06:47:44 UTC
+++ source/blender/blenfont/intern/blf_glyph.c
@@ -262,8 +262,8 @@ GlyphBLF *blf_glyph_add(FontBLF *font, u
g->xoff = -1;
g->yoff = -1;
bitmap = slot->bitmap;
- g->width = bitmap.width;
- g->height = bitmap.rows;
+ g->width = (int)bitmap.width;
+ g->height = (int)bitmap.rows;
if (g->width && g->height) {
if (sharp) {