From 182b6ab1544840ac1827dc95e7f6cd0f1c8d4862 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 28 Jul 2016 22:29:00 +0200 Subject: [PATCH] Cleanup mocked fonts --- music_sampler/music_sampler.kv | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/music_sampler/music_sampler.kv b/music_sampler/music_sampler.kv index afb99e4..4a91896 100644 --- a/music_sampler/music_sampler.kv +++ b/music_sampler/music_sampler.kv @@ -109,21 +109,8 @@ play_list_y: self.border play_list_x: self.action_list_width + self.key_list_width + 3 * self.border - max_height: max(mock_symbola.height, mock_ubuntu_regular.height, mock_ubuntu_bold.height) - min_height: min(mock_symbola.height, mock_ubuntu_regular.height, mock_ubuntu_bold.height) - symbola_line_height: self.min_height / max(mock_symbola.height,1) - ubuntu_regular_line_height: self.min_height / max(mock_ubuntu_regular.height,1) - ubuntu_bold_line_height: self.min_height / max(mock_ubuntu_bold.height,1) + max_height: 1.3 * math.ceil(2 * math.sqrt(self.key_size or 10)) - Label: - id: mock_symbola - font_name: "Symbola" - font_size: math.ceil(2 * math.sqrt(self.parent.key_size or 10)) - color: 0, 0, 0, 0 - text: "A" - text_size: None, None - size_hint: None, None - size: self.texture_size Label: id: mock_ubuntu_regular font_name: "Ubuntu" @@ -133,16 +120,6 @@ text_size: None, None size_hint: None, None size: self.texture_size - Label: - id: mock_ubuntu_bold - font_name: "Ubuntu" - bold: True - font_size: math.ceil(2 * math.sqrt(self.parent.key_size or 10)) - color: 0, 0, 0, 0 - text: "A" - text_size: None, None - size_hint: None, None - size: self.texture_size Mapping: id: Mapping -- 2.41.0