Trammell Hudson avatar Trammell Hudson committed 947fb16

remove black font

Comments (0)

Files changed (2)

calendar/src/Makefile

 
 FONTS := \
 	fonts/SourceCodePro-Light.otf:16 \
-	fonts/SourceCodePro-Black.otf:16 \
-	fonts/SourceCodePro-Black.otf:20 \
+	fonts/SourceCodePro-Light.otf:20 \
 
 IMAGES := \
 	images/menu_icon.png \

calendar/src/main.c

 
 #define FONT_H 16
 #define FONT_W 7
-#define ROWS 9
+#define ROWS 8
 #define COLS 7
-#define FONT_ON		RESOURCE_ID_FONT_SOURCECODEPRO_BLACK_16
-#define FONT_OFF	RESOURCE_ID_FONT_SOURCECODEPRO_LIGHT_16
-static GFont font_on;
+#define FONT_OFF	RESOURCE_ID_FONT_SOURCECODEPRO_LIGHT_18
 static GFont font_off;
 
 static Window window;
 	window_stack_push(&window, true);
 	window_set_background_color(&window, GColorBlack);
 
-	font_on = fonts_load_custom_font(resource_get_handle(FONT_ON));
 	font_off = fonts_load_custom_font(resource_get_handle(FONT_OFF));
 
 	resource_init_current_app(&RESOURCES);
 	text_layer_init(&time_layer, GRect(40, -4, 80, 25));
 	text_layer_set_text_color(&time_layer, GColorWhite);
 	text_layer_set_background_color(&time_layer, GColorClear);
-	text_layer_set_font(&time_layer, fonts_load_custom_font(resource_get_handle(RESOURCE_ID_FONT_SOURCECODEPRO_BLACK_20)));
+	text_layer_set_font(&time_layer, fonts_load_custom_font(resource_get_handle(RESOURCE_ID_FONT_SOURCECODEPRO_LIGHT_20)));
 
 	text_layer_set_text(&time_layer, "");
 	layer_add_child(&window.layer, &time_layer.layer);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.