Skip to content

Commit 2f9e717

Browse files
committed
Add Orbitron Font
1 parent 6399232 commit 2f9e717

19 files changed

+119
-17
lines changed

App.tsx

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import { Dropdown } from 'react-native-element-dropdown';
1111

1212
const OpenSpool = () => {
13-
const [color, setColor] = useState('black');
13+
const [color, setColor] = useState('pink');
1414
const [type, setType] = useState('pla');
1515
const [minTemp, setMinTemp] = useState('180');
1616
const [maxTemp, setMaxTemp] = useState('210');
@@ -180,7 +180,8 @@ const styles = StyleSheet.create({
180180
},
181181
title: {
182182
fontSize: 24,
183-
fontWeight: '600',
183+
fontFamily: 'Orbitron-Regular',
184+
// fontWeight: '600',
184185
textAlign: 'center',
185186
marginBottom: 20,
186187
color: '#ffffff', // White text
@@ -199,9 +200,9 @@ const styles = StyleSheet.create({
199200
color: '#999', // Lighter grey for navigation icons
200201
},
201202
circle: {
202-
width: 120,
203-
height: 120,
204-
borderRadius: 60, // Exactly half of width/height
203+
width: 140,
204+
height: 140,
205+
borderRadius: 70, // Exactly half of width/height
205206
alignContent: 'center',
206207
backgroundColor: 'black',
207208
overflow: 'hidden', // This helps with some rendering artifacts[5]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

android/link-assets-manifest.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"migIndex": 1,
3+
"data": [
4+
{
5+
"path": "assets/fonts/Orbitron-Black.ttf",
6+
"sha1": "19c4f40df75add673845967c2991ea6801442b0b"
7+
},
8+
{
9+
"path": "assets/fonts/Orbitron-Bold.ttf",
10+
"sha1": "8347020cc2c8c9f4f9ea60b9ad666c662501474c"
11+
},
12+
{
13+
"path": "assets/fonts/Orbitron-ExtraBold.ttf",
14+
"sha1": "6ebbd3aa76f99524a9818abbedaf80f015616fd7"
15+
},
16+
{
17+
"path": "assets/fonts/Orbitron-Medium.ttf",
18+
"sha1": "e97b5fd285f05ec9aa3044a0111339ec1f3ecf62"
19+
},
20+
{
21+
"path": "assets/fonts/Orbitron-Regular.ttf",
22+
"sha1": "83051c0150895de073fd1d8e97d3687070e5dfa6"
23+
},
24+
{
25+
"path": "assets/fonts/Orbitron-SemiBold.ttf",
26+
"sha1": "1cb2e91b14b62bb9c72eda60db0600feb01ce93a"
27+
}
28+
]
29+
}

assets/fonts/Orbitron-Black.ttf

22.8 KB
Binary file not shown.

assets/fonts/Orbitron-Bold.ttf

24.1 KB
Binary file not shown.

assets/fonts/Orbitron-ExtraBold.ttf

24.1 KB
Binary file not shown.

assets/fonts/Orbitron-Medium.ttf

24.2 KB
Binary file not shown.

assets/fonts/Orbitron-Regular.ttf

24.1 KB
Binary file not shown.

assets/fonts/Orbitron-SemiBold.ttf

24.2 KB
Binary file not shown.

ios/OpenSpool.xcodeproj/project.pbxproj

+40-9
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,19 @@
88

99
/* Begin PBXBuildFile section */
1010
00E356F31AD99517003FC87E /* OpenSpoolTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* OpenSpoolTests.m */; };
11+
098543F0C7AA4EBEB39131CF /* Orbitron-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 591C4798DBAB41DEA723F844 /* Orbitron-Black.ttf */; };
1112
0C80B921A6F3F58F76C31292 /* libPods-OpenSpool.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-OpenSpool.a */; };
1213
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
1314
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1415
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
16+
24115D3646B74917894144F3 /* Orbitron-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C64BF252F88448178DDB2339 /* Orbitron-Medium.ttf */; };
1517
3BD1DAF3095CCF696839AE75 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
18+
3D6E352A2E80454F8A876F7F /* Orbitron-SemiBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 68AE5C4C61274F8280552725 /* Orbitron-SemiBold.ttf */; };
19+
45273F0A4CC744058985557E /* Orbitron-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1116C7E7D8E14B3DB1940F76 /* Orbitron-Bold.ttf */; };
1620
7699B88040F8A987B510C191 /* libPods-OpenSpool-OpenSpoolTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-OpenSpool-OpenSpoolTests.a */; };
1721
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
22+
C512806EBBED416CB839F9BA /* Orbitron-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 804E4655E0A040758F59C9BB /* Orbitron-Regular.ttf */; };
23+
DBD0A697AA8D42FCA560E7EC /* Orbitron-ExtraBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7F83C7D5CADB4D549DD42175 /* Orbitron-ExtraBold.ttf */; };
1824
/* End PBXBuildFile section */
1925

2026
/* Begin PBXContainerItemProxy section */
@@ -31,6 +37,7 @@
3137
00E356EE1AD99517003FC87E /* OpenSpoolTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OpenSpoolTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3238
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3339
00E356F21AD99517003FC87E /* OpenSpoolTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OpenSpoolTests.m; sourceTree = "<group>"; };
40+
1116C7E7D8E14B3DB1940F76 /* Orbitron-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Orbitron-Bold.ttf"; path = "../assets/fonts/Orbitron-Bold.ttf"; sourceTree = "<group>"; };
3441
13B07F961A680F5B00A75B9A /* OpenSpool.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OpenSpool.app; sourceTree = BUILT_PRODUCTS_DIR; };
3542
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = OpenSpool/AppDelegate.h; sourceTree = "<group>"; };
3643
13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = OpenSpool/AppDelegate.mm; sourceTree = "<group>"; };
@@ -41,10 +48,15 @@
4148
19F6CBCC0A4E27FBF8BF4A61 /* libPods-OpenSpool-OpenSpoolTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OpenSpool-OpenSpoolTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4249
3B4392A12AC88292D35C810B /* Pods-OpenSpool.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenSpool.debug.xcconfig"; path = "Target Support Files/Pods-OpenSpool/Pods-OpenSpool.debug.xcconfig"; sourceTree = "<group>"; };
4350
5709B34CF0A7D63546082F79 /* Pods-OpenSpool.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenSpool.release.xcconfig"; path = "Target Support Files/Pods-OpenSpool/Pods-OpenSpool.release.xcconfig"; sourceTree = "<group>"; };
51+
591C4798DBAB41DEA723F844 /* Orbitron-Black.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Orbitron-Black.ttf"; path = "../assets/fonts/Orbitron-Black.ttf"; sourceTree = "<group>"; };
4452
5B7EB9410499542E8C5724F5 /* Pods-OpenSpool-OpenSpoolTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenSpool-OpenSpoolTests.debug.xcconfig"; path = "Target Support Files/Pods-OpenSpool-OpenSpoolTests/Pods-OpenSpool-OpenSpoolTests.debug.xcconfig"; sourceTree = "<group>"; };
4553
5DCACB8F33CDC322A6C60F78 /* libPods-OpenSpool.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OpenSpool.a"; sourceTree = BUILT_PRODUCTS_DIR; };
54+
68AE5C4C61274F8280552725 /* Orbitron-SemiBold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Orbitron-SemiBold.ttf"; path = "../assets/fonts/Orbitron-SemiBold.ttf"; sourceTree = "<group>"; };
55+
7F83C7D5CADB4D549DD42175 /* Orbitron-ExtraBold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Orbitron-ExtraBold.ttf"; path = "../assets/fonts/Orbitron-ExtraBold.ttf"; sourceTree = "<group>"; };
56+
804E4655E0A040758F59C9BB /* Orbitron-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Orbitron-Regular.ttf"; path = "../assets/fonts/Orbitron-Regular.ttf"; sourceTree = "<group>"; };
4657
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = OpenSpool/LaunchScreen.storyboard; sourceTree = "<group>"; };
4758
89C6BE57DB24E9ADA2F236DE /* Pods-OpenSpool-OpenSpoolTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenSpool-OpenSpoolTests.release.xcconfig"; path = "Target Support Files/Pods-OpenSpool-OpenSpoolTests/Pods-OpenSpool-OpenSpoolTests.release.xcconfig"; sourceTree = "<group>"; };
59+
C64BF252F88448178DDB2339 /* Orbitron-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Orbitron-Medium.ttf"; path = "../assets/fonts/Orbitron-Medium.ttf"; sourceTree = "<group>"; };
4860
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
4961
/* End PBXFileReference section */
5062

@@ -109,6 +121,19 @@
109121
name = Frameworks;
110122
sourceTree = "<group>";
111123
};
124+
38426B0A27654BF79C71C6D5 /* Resources */ = {
125+
isa = PBXGroup;
126+
children = (
127+
591C4798DBAB41DEA723F844 /* Orbitron-Black.ttf */,
128+
1116C7E7D8E14B3DB1940F76 /* Orbitron-Bold.ttf */,
129+
7F83C7D5CADB4D549DD42175 /* Orbitron-ExtraBold.ttf */,
130+
C64BF252F88448178DDB2339 /* Orbitron-Medium.ttf */,
131+
804E4655E0A040758F59C9BB /* Orbitron-Regular.ttf */,
132+
68AE5C4C61274F8280552725 /* Orbitron-SemiBold.ttf */,
133+
);
134+
name = Resources;
135+
sourceTree = "<group>";
136+
};
112137
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
113138
isa = PBXGroup;
114139
children = (
@@ -125,6 +150,7 @@
125150
83CBBA001A601CBA00E9B192 /* Products */,
126151
2D16E6871FA4F8E400B85C8A /* Frameworks */,
127152
BBD78D7AC51CEA395F1C20DB /* Pods */,
153+
38426B0A27654BF79C71C6D5 /* Resources */,
128154
);
129155
indentWidth = 2;
130156
sourceTree = "<group>";
@@ -202,7 +228,8 @@
202228
83CBB9F71A601CBA00E9B192 /* Project object */ = {
203229
isa = PBXProject;
204230
attributes = {
205-
LastUpgradeCheck = 1210;
231+
BuildIndependentTargetsInParallel = YES;
232+
LastUpgradeCheck = 1620;
206233
TargetAttributes = {
207234
00E356ED1AD99517003FC87E = {
208235
CreatedOnToolsVersion = 6.2;
@@ -247,6 +274,12 @@
247274
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
248275
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
249276
3BD1DAF3095CCF696839AE75 /* PrivacyInfo.xcprivacy in Resources */,
277+
098543F0C7AA4EBEB39131CF /* Orbitron-Black.ttf in Resources */,
278+
45273F0A4CC744058985557E /* Orbitron-Bold.ttf in Resources */,
279+
DBD0A697AA8D42FCA560E7EC /* Orbitron-ExtraBold.ttf in Resources */,
280+
24115D3646B74917894144F3 /* Orbitron-Medium.ttf in Resources */,
281+
C512806EBBED416CB839F9BA /* Orbitron-Regular.ttf in Resources */,
282+
3D6E352A2E80454F8A876F7F /* Orbitron-SemiBold.ttf in Resources */,
250283
);
251284
runOnlyForDeploymentPostprocessing = 0;
252285
};
@@ -523,6 +556,7 @@
523556
isa = XCBuildConfiguration;
524557
buildSettings = {
525558
ALWAYS_SEARCH_USER_PATHS = NO;
559+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
526560
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
527561
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
528562
CLANG_CXX_LIBRARY = "libc++";
@@ -552,6 +586,7 @@
552586
COPY_PHASE_STRIP = NO;
553587
ENABLE_STRICT_OBJC_MSGSEND = YES;
554588
ENABLE_TESTABILITY = YES;
589+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
555590
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
556591
GCC_C_LANGUAGE_STANDARD = gnu99;
557592
GCC_DYNAMIC_NO_PIC = NO;
@@ -588,10 +623,7 @@
588623
"-DFOLLY_CFG_NO_COROUTINES=1",
589624
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
590625
);
591-
OTHER_LDFLAGS = (
592-
"$(inherited)",
593-
" ",
594-
);
626+
OTHER_LDFLAGS = "$(inherited) ";
595627
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
596628
SDKROOT = iphoneos;
597629
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -603,6 +635,7 @@
603635
isa = XCBuildConfiguration;
604636
buildSettings = {
605637
ALWAYS_SEARCH_USER_PATHS = NO;
638+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
606639
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
607640
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
608641
CLANG_CXX_LIBRARY = "libc++";
@@ -632,6 +665,7 @@
632665
COPY_PHASE_STRIP = YES;
633666
ENABLE_NS_ASSERTIONS = NO;
634667
ENABLE_STRICT_OBJC_MSGSEND = YES;
668+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
635669
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
636670
GCC_C_LANGUAGE_STANDARD = gnu99;
637671
GCC_NO_COMMON_BLOCKS = YES;
@@ -660,10 +694,7 @@
660694
"-DFOLLY_CFG_NO_COROUTINES=1",
661695
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
662696
);
663-
OTHER_LDFLAGS = (
664-
"$(inherited)",
665-
" ",
666-
);
697+
OTHER_LDFLAGS = "$(inherited) ";
667698
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
668699
SDKROOT = iphoneos;
669700
USE_HERMES = true;

ios/OpenSpool.xcodeproj/xcshareddata/xcschemes/OpenSpool.xcscheme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1210"
3+
LastUpgradeVersion = "1620"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ios/OpenSpool/Info.plist

+10-2
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,13 @@
3232
<true/>
3333
<key>NSAppTransportSecurity</key>
3434
<dict>
35-
<!-- Do not change NSAllowsArbitraryLoads to true, or you will risk app rejection! -->
3635
<key>NSAllowsArbitraryLoads</key>
3736
<false/>
3837
<key>NSAllowsLocalNetworking</key>
3938
<true/>
4039
</dict>
4140
<key>NSLocationWhenInUseUsageDescription</key>
42-
<string></string>
41+
<string/>
4342
<key>UILaunchStoryboardName</key>
4443
<string>LaunchScreen</string>
4544
<key>UIRequiredDeviceCapabilities</key>
@@ -54,5 +53,14 @@
5453
</array>
5554
<key>UIViewControllerBasedStatusBarAppearance</key>
5655
<false/>
56+
<key>UIAppFonts</key>
57+
<array>
58+
<string>Orbitron-Black.ttf</string>
59+
<string>Orbitron-Bold.ttf</string>
60+
<string>Orbitron-ExtraBold.ttf</string>
61+
<string>Orbitron-Medium.ttf</string>
62+
<string>Orbitron-Regular.ttf</string>
63+
<string>Orbitron-SemiBold.ttf</string>
64+
</array>
5765
</dict>
5866
</plist>

ios/link-assets-manifest.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"migIndex": 1,
3+
"data": [
4+
{
5+
"path": "assets/fonts/Orbitron-Black.ttf",
6+
"sha1": "19c4f40df75add673845967c2991ea6801442b0b"
7+
},
8+
{
9+
"path": "assets/fonts/Orbitron-Bold.ttf",
10+
"sha1": "8347020cc2c8c9f4f9ea60b9ad666c662501474c"
11+
},
12+
{
13+
"path": "assets/fonts/Orbitron-ExtraBold.ttf",
14+
"sha1": "6ebbd3aa76f99524a9818abbedaf80f015616fd7"
15+
},
16+
{
17+
"path": "assets/fonts/Orbitron-Medium.ttf",
18+
"sha1": "e97b5fd285f05ec9aa3044a0111339ec1f3ecf62"
19+
},
20+
{
21+
"path": "assets/fonts/Orbitron-Regular.ttf",
22+
"sha1": "83051c0150895de073fd1d8e97d3687070e5dfa6"
23+
},
24+
{
25+
"path": "assets/fonts/Orbitron-SemiBold.ttf",
26+
"sha1": "1cb2e91b14b62bb9c72eda60db0600feb01ce93a"
27+
}
28+
]
29+
}

react-native.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
assets: ['./assets/fonts']
3+
};
4+

0 commit comments

Comments
 (0)