harmattan version.
[monky] / lua_scripts / piechart.lua
index e9c0464..5320cce 100644 (file)
@@ -31,7 +31,7 @@ line_space                    -- vertical space between two lines, default=10 pixels
 extend_line                    -- grow up the line (true/false) if length of text> line_length, default=true
 nb_decimals                    -- number of decimals for numbers, default=1
 show_text                      -- display text (true/false), default=true
-font_name                      -- font, default "Droid Sans Mono"
+font_name                      -- font, default "Nokia Pure"
 font_size                      -- font size, default=12
 font_color                     -- font color (for gradient) or nil (for constant color), default = nil
 font_alpha                     -- font alpha, default=1
@@ -68,7 +68,7 @@ function conky_main_pie()
 
 -- ------------------PARAMETERS TO SET-----------------------
     --theses parameters are called many times so I put them into variables
-    local font_name,font_size="Droid Sans Mono",14
+    local font_name,font_size="Nokia Pure",14
     local col0,col1,col2=0xFFFFCC,0xCCFF99,0x99FF00
     local colbg=0x99CCFF
         
@@ -365,7 +365,7 @@ function draw_pie(t)
     if t.line_space==nil then t.line_space=10 end
     if t.line_width==nil then t.line_width=1 end
     if t.extend_line==nil then t.extend_line=true end
-    if t.txt_font==nil then t.txt_font="Droid Sans Mono" end
+    if t.txt_font==nil then t.txt_font="Nokia Pure" end
     if t.font_size==nil then t.font_size=12 end
     --if t.font_color==nil then t.font_color=0xFFFFFF end
     if t.font_alpha==nil then t.font_alpha = 1 end