Skip to content

Commit

Permalink
Change RPI default font to NotoMono-Regular
Browse files Browse the repository at this point in the history
- Previously was NotoSans-Regular
- NotoMono is more likely to be installed by default in Raspbian distribution
- NotoMono is a more crisp font at small sizes
  • Loading branch information
ImpulseAdventure committed Jan 13, 2019
1 parent 6a4b272 commit 10889b2
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/linux/ex02_lnx_btn_txt.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


// Defines for resources
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

// Enumerations for pages, elements, fonts, images
enum {E_PG_MAIN};
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex04_lnx_ctrls.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <time.h> // For clock() (frame rate reporting)

// Defines for resources
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

// Enumerations for pages, elements, fonts, images
enum {E_PG_MAIN};
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex05_lnx_pages.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// Defines for resources
#define MAX_PATH 255
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"
#define IMG_BKGND "/res/bkgnd1_320x240.bmp"
char m_strImgBkgnd[MAX_PATH];

Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex06_lnx_callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// Defines for resources
#define MAX_PATH 255
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"
#define IMG_LOGO "/res/logo1-200x40.bmp"
char m_strImgLogo[MAX_PATH];

Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex07_lnx_slider.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


// Defines for resources
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

// Enumerations for pages, elements, fonts, images
enum {E_PG_MAIN};
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex08_lnx_tuner.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

// Defines for resources
#define MAX_PATH 255
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"
#define IMG_GRAD_BACK "/res/grad-blue1.bmp"
#define IMG_GRADBAR_TOP "/res/gradbar-purple-top.bmp"
#define IMG_GRADBAR_BOT "/res/gradbar-purple-bot.bmp"
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex09_lnx_radial.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "unistd.h" // For usleep() //xxx

// Defines for resources
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

// Enumerations for pages, elements, fonts, images
enum {E_PG_MAIN};
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex10_lnx_textbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "unistd.h" // For usleep() //xxx

// Defines for resources
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

// Enumerations for pages, elements, fonts, images
enum {E_PG_MAIN};
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex11_lnx_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "unistd.h" // For usleep() //xxx

// Defines for resources
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

// Enumerations for pages, elements, fonts, images
enum {E_PG_MAIN};
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex15_lnx_foreign.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


// Defines for resources
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"
// Define additional font with foreign characters
// - NOTE: This font will require manual installation
#define FONT_AMIKO "/usr/share/fonts/truetype/amiko/Amiko-Regular.ttf"
Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex18_lnx_compound.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

// Defines for resources
#define MAX_PATH 255
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"
#define IMG_BKGND "/res/bkgnd1_320x240.bmp"
char m_strImgBkgnd[MAX_PATH];

Expand Down
2 changes: 1 addition & 1 deletion examples/linux/ex22_lnx_input_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <time.h> // For clock() (frame rate reporting)

// Defines for resources
#define FONT1 "/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf"
#define FONT1 "/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

// Enumerations for pages, elements, fonts, images
enum {E_PG_MAIN};
Expand Down

0 comments on commit 10889b2

Please sign in to comment.