浏览代码

[svn r13940] I forgot to submit the font file for the user's template

Julian Prud'homme 17 年之前
父节点
当前提交
f822b97b3a
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 二进制
      main/inc/lib/fckeditor/FreeSans.ttf
  2. 1 1
      main/inc/lib/fckeditor/fcktemplates.xml.php

二进制
main/inc/lib/fckeditor/FreeSans.ttf


+ 1 - 1
main/inc/lib/fckeditor/fcktemplates.xml.php

@@ -41,7 +41,7 @@ $css = loadCSS(api_get_setting('stylesheets'));
 		
 		$im = @ImageCreate($width, $height);
 		$bg_color = ImageColorAllocate($im, 255, 255, 255);
-		$ttfont   = "/usr/share/fonts/truetype/freefont/FreeSans.ttf";
+		$ttfont   = api_get_path(LIBRARY_PATH).'fckeditor/FreeSans.ttf';
 		$text_color = ImageColorAllocate($im, 0, 0, 0);
 		
 		$a_text=explode(' ',$a_template['title']);