Преглед на файлове

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

Julian Prud'homme преди 17 години
родител
ревизия
f822b97b3a
променени са 2 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. BIN
      main/inc/lib/fckeditor/FreeSans.ttf
  2. 1 1
      main/inc/lib/fckeditor/fcktemplates.xml.php

BIN
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']);