Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

위젯 한글 글씨체 pretendard-black으로 변경 #43

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions PlantingMind/PlantingMind.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
7B0E1BCE2BAD57940060458D /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 7B95D1792BA1645C00484F9D /* Localizable.xcstrings */; };
7B0E1BCF2BAD57A70060458D /* StringExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B95D17B2BA166AC00484F9D /* StringExtension.swift */; };
7B0E1BD32BAD6C240060458D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B11F82B2B4549E000346A41 /* Assets.xcassets */; };
7B0E1BD62BB15A220060458D /* Pretendard-Black.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7B0E1BD52BB15A220060458D /* Pretendard-Black.otf */; };
7B0E1BD72BB15A220060458D /* Pretendard-Black.otf in Resources */ = {isa = PBXBuildFile; fileRef = 7B0E1BD52BB15A220060458D /* Pretendard-Black.otf */; };
7B11F8282B4549DF00346A41 /* PlantingMindApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B11F8272B4549DF00346A41 /* PlantingMindApp.swift */; };
7B11F82A2B4549DF00346A41 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B11F8292B4549DF00346A41 /* ContentView.swift */; };
7B11F82C2B4549E000346A41 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B11F82B2B4549E000346A41 /* Assets.xcassets */; };
Expand Down Expand Up @@ -99,6 +101,8 @@
7B0A76CD2B904A1200ADC039 /* MoodRecords.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = MoodRecords.xcdatamodel; sourceTree = "<group>"; };
7B0A76D02B906FE100ADC039 /* CoreDataStack.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CoreDataStack.swift; sourceTree = "<group>"; };
7B0A77102B93196D00ADC039 /* MoodRecordViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MoodRecordViewModel.swift; sourceTree = "<group>"; };
7B0E1BD52BB15A220060458D /* Pretendard-Black.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Pretendard-Black.otf"; sourceTree = "<group>"; };
7B0E1BD82BB15AAD0060458D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
7B11F8242B4549DF00346A41 /* PlantingMind.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PlantingMind.app; sourceTree = BUILT_PRODUCTS_DIR; };
7B11F8272B4549DF00346A41 /* PlantingMindApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlantingMindApp.swift; sourceTree = "<group>"; };
7B11F8292B4549DF00346A41 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -197,6 +201,14 @@
path = MoodRecord;
sourceTree = "<group>";
};
7B0E1BD42BB159CD0060458D /* Font */ = {
isa = PBXGroup;
children = (
7B0E1BD52BB15A220060458D /* Pretendard-Black.otf */,
);
path = Font;
sourceTree = "<group>";
};
7B11F81B2B4549DF00346A41 = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -225,6 +237,7 @@
7B11F8262B4549DF00346A41 /* PlantingMind */ = {
isa = PBXGroup;
children = (
7B0E1BD82BB15AAD0060458D /* Info.plist */,
7BA079902BAAD5CB009B5E46 /* PlantingMind.entitlements */,
7B11F8272B4549DF00346A41 /* PlantingMindApp.swift */,
7B11F8292B4549DF00346A41 /* ContentView.swift */,
Expand All @@ -236,6 +249,7 @@
7B0A76D22B92DA3200ADC039 /* MoodRecord */,
7B0A76CF2B906FCF00ADC039 /* CoreData */,
7B95D1762BA1627500484F9D /* Localization */,
7B0E1BD42BB159CD0060458D /* Font */,
7B11F82D2B4549E000346A41 /* Preview Content */,
7B11F82B2B4549E000346A41 /* Assets.xcassets */,
);
Expand Down Expand Up @@ -461,6 +475,7 @@
files = (
7B11F82F2B4549E000346A41 /* Preview Assets.xcassets in Resources */,
7B11F82C2B4549E000346A41 /* Assets.xcassets in Resources */,
7B0E1BD62BB15A220060458D /* Pretendard-Black.otf in Resources */,
7B95D17A2BA1645C00484F9D /* Localizable.xcstrings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -485,6 +500,7 @@
files = (
7B0E1BCE2BAD57940060458D /* Localizable.xcstrings in Resources */,
7B0E1BD32BAD6C240060458D /* Assets.xcassets in Resources */,
7B0E1BD72BB15A220060458D /* Pretendard-Black.otf in Resources */,
7B63CAA72BA9CB4700943DED /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -711,6 +727,7 @@
DEVELOPMENT_TEAM = PS5XYD2TU9;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = PlantingMind/Info.plist;
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
Expand Down Expand Up @@ -745,6 +762,7 @@
DEVELOPMENT_TEAM = PS5XYD2TU9;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = PlantingMind/Info.plist;
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
Expand Down
Binary file not shown.
10 changes: 10 additions & 0 deletions PlantingMind/PlantingMind/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIAppFonts</key>
<array>
<string>Pretendard-Black.otf</string>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions PlantingMind/PlantingWidget/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIAppFonts</key>
<array>
<string>Pretendard-Black.otf</string>
</array>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
2 changes: 1 addition & 1 deletion PlantingMind/PlantingWidget/PlantingWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct PlantingWidgetEntryView : View {
.frame(width: 15)
.overlay {
Text(day[count - 1].localized)
.font(.system(size: 11))
.font(.custom("Pretendard-Black", size: 11))
.fontWeight(.heavy)
.foregroundStyle(count == 1 ? .red : Color.Custom.point)
}
Expand Down
Loading