Commit 63623741 authored by Chancellier Pierre-Jean's avatar Chancellier Pierre-Jean
Browse files

Remplacement de Arial par Liberation Sans

parent d2fff03e
......@@ -33,9 +33,9 @@ function hex2RGB($hexStr, $returnAsString = false, $seperator = ',') {
}
function display_column($img,$font_file,$icon_file,$icone,$txt1,$txt2,$x,$y,$color){
$fontsize_icon = 15;
$font_size1 = 12;
$font_size2 = 8;
$fontsize_icon = 20;
$font_size1 = 15;
$font_size2 = 10;
$type_space = imagettfbbox($fontsize_icon, 0, $icon_file, json_decode($icone));
$icon_width = abs($type_space[4] - $type_space[0]);
$font = 3;
......@@ -72,9 +72,9 @@ $logo = 'img/logos/' . $logo . '.png';
if (!file_exists($logo)){$logo='img/logos/junes.png';}
$content_x = 200;
$content_y = 30;
$arial_font = './lib/webfonts/arial.ttf';
$arial_font = './lib/webfonts/LiberationSans-Regular.ttf';
$font_size = 15;
$fontsize_icon = 15;
$fontsize_icon = 20;
$font_error = 2;
$font900 = './lib/webfonts/900/fa-solid-900.ttf';
$font400 = './lib/webfonts/400/fa-regular-400.ttf';
......@@ -308,7 +308,7 @@ display_column($source,$arial_font,$font400,'""',$donors,utf8_decode(tr(
// Colonne 3
$unit = ($unit=='relative') ? tr('ud').'Ğ1' : 'Ğ1';
$txt_target = tr('label_ontotal_short', array('total'=>$target, 'unit'=>($unit)));
$total = $total . ' ' . $unit;
$total = round($total) . ' ' . $unit;
display_column($source,$arial_font,$font400,'""',$total,$txt_target,$content_x+2*$column+$mid_column,$icone_pos_y,$font_color);
// Colonne 4
if ($nb_col==4){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment