Commit db765f75 authored by Michal Čihař's avatar Michal Čihař

Use bold font for project name

parent 0d5e0257
...@@ -137,8 +137,6 @@ def widget_287(request, project): ...@@ -137,8 +137,6 @@ def widget_287(request, project):
# Setup # Setup
ctx.set_line_width(0.2) ctx.set_line_width(0.2)
ctx.select_font_face("Sans")
ctx.set_font_size(14)
# Progressbar params # Progressbar params
p_x = 72 p_x = 72
...@@ -162,7 +160,10 @@ def widget_287(request, project): ...@@ -162,7 +160,10 @@ def widget_287(request, project):
ctx.set_source_rgb (0, 0, 0) ctx.set_source_rgb (0, 0, 0)
ctx.new_path() ctx.new_path()
ctx.move_to(p_x, 19) ctx.move_to(p_x, 19)
ctx.select_font_face("Sans", cairo.FONT_SLANT_NORMAL, cairo.FONT_WEIGHT_BOLD)
ctx.set_font_size(14)
ctx.text_path(obj.name) ctx.text_path(obj.name)
ctx.select_font_face("Sans", cairo.FONT_SLANT_NORMAL, cairo.FONT_WEIGHT_NORMAL)
ctx.set_font_size(10) ctx.set_font_size(10)
ctx.move_to(p_x, 32) ctx.move_to(p_x, 32)
ctx.text_path("translating %(count)d strings into %(languages)d languages" % { ctx.text_path("translating %(count)d strings into %(languages)d languages" % {
......
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