Fixed font issues by replacing acknowledge2 completely.
[multipass-eu.git] / src / player-display-track.rb
index 6c037c6d948930573e9e474f691bb7b2ee8bb355..ebad32cf076cc946d9c16207be5991a67fa91d15 100644 (file)
@@ -6,19 +6,20 @@ OUTLINE_COLOR = "#01366bc1"
 
 c.part("player.time", :text) do |p|
        p.effect = :outline
+       p.use_alternate_font_metrics = true
 
        p.description do |d|
                d.rel[0].to = d.rel[1].to = parent
-               d.rel[0].set_offset(15, 9)
+               d.rel[0].set_offset(15, 6)
                d.rel[1].set_rel(0.0, 0.0)
-               d.rel[1].set_offset(75, 24)
+               d.rel[1].set_offset(75, 21)
 
                d.color = TEXT_COLOR
                d.outline_color = OUTLINE_COLOR
 
                d.text = "00:06:35"
-               d.font = "acknowledge2.ttf"
-               d.font_size = 15
+               d.font = "multipass_digits.ttf"
+               d.font_size = 12
                d.set_text_align(1.0, 0.5)
        end
 end
@@ -33,8 +34,8 @@ c.part("player.songname", :text) do |p|
                d.set_align(0.0)
 
                d.text = "Metallica - Battery"
-               d.font = "acknowledge2.ttf"
-               d.font_size = 14
+               d.font = "slkscrb.ttf"
+               d.font_size = 8
                d.set_text_min(true, true)
                d.set_text_align(0.0)
        end
@@ -43,9 +44,9 @@ end
 c.part("player.songname.clip", :rect) do |p|
        p.description do |d|
                d.rel[0].to = d.rel[1].to = parent
-               d.rel[0].set_offset(13, 66)
+               d.rel[0].set_offset(13, 67)
                d.rel[1].set_rel(0.0, 0.0)
-               d.rel[1].set_offset(154, 78)
+               d.rel[1].set_offset(154, 79)
        end
 
        c.part("player.songname").clip = p