Skip to content

Commit 03b4e41

Browse files
committed
Add link to font
Signed-off-by: Ben Chamberland <[email protected]>
1 parent 1acd41a commit 03b4e41

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

src/lib/ui/TwkGLText/TwkGLText/courier.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@
55
//
66
//******************************************************************************
77

8-
#ifndef __COURIER_H__
9-
#define __COURIER_H__
8+
#pragma once
109

1110
//
1211
// This font is from /usr/X11R6/lib/X11/fonts/TTF/cour.ttf
1312
//
1413

1514
extern const unsigned char courierFont[];
16-
const unsigned int courierFontSize = 297660;
17-
18-
#endif // End #ifdef __COURIER_H__
15+
const unsigned int courierFontSize = 297660;

src/lib/ui/TwkGLText/TwkGLText/noto.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
//
66
//******************************************************************************
77

8-
#ifndef __NOTO_H__
9-
#define __NOTO_H__
8+
#pragma once
109

11-
extern const unsigned char notoFont[];
12-
const unsigned int notoFontSize = 10560380;
10+
// Sourced from Noto Sans Simplified: https://fonts.google.com/noto/specimen/Noto+Sans+SC
1311

14-
#endif // End #ifdef __NOTO_H__
12+
extern const unsigned char notoFont[];
13+
const unsigned int notoFontSize = 10560380;

src/lib/ui/TwkGLText/TwkGLText/tweakFont.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@
55
//
66
//******************************************************************************
77

8-
#ifndef __TWEAKFONT_H__
9-
#define __TWEAKFONT_H__
8+
#pragma once
109

1110
// Nedian Medium
1211

1312
extern const unsigned char tweakFont[];
14-
const unsigned int tweakFontSize = 62376;
15-
16-
#endif // End #ifdef __TWEAKFONT_H__
13+
const unsigned int tweakFontSize = 62376;

0 commit comments

Comments
 (0)