Skip to content

Commit

Permalink
Merge branch 'fix/#5-fontIssue' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
chaentopia committed Jun 1, 2023
2 parents 0ecd454 + 99943a5 commit f72423a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
14 changes: 8 additions & 6 deletions BiBaBoo-iOS/BiBaBoo-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
C3B5534D29CE8EE3002D3467 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C3B5534C29CE8EE3002D3467 /* SceneDelegate.swift */; };
C3B5535429CE8EE7002D3467 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C3B5535329CE8EE7002D3467 /* Assets.xcassets */; };
C3B5535729CE8EE7002D3467 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C3B5535529CE8EE7002D3467 /* LaunchScreen.storyboard */; };
C3C19AEE2A24A5D10005984D /* NanumSquareB.otf in Resources */ = {isa = PBXBuildFile; fileRef = C3C19AED2A24A5D10005984D /* NanumSquareB.otf */; };
C3C19AF02A24A5D60005984D /* NanumSquareR.otf in Resources */ = {isa = PBXBuildFile; fileRef = C3C19AEF2A24A5D60005984D /* NanumSquareR.otf */; };
DD462BC529F7915B0043F105 /* CategoryCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD462BC429F7915B0043F105 /* CategoryCollectionViewCell.swift */; };
C3D23E582A27B25100FBC019 /* NanumSquareR.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C3D23E562A27B25100FBC019 /* NanumSquareR.ttf */; };
C3D23E592A27B25100FBC019 /* NanumSquareB.otf in Resources */ = {isa = PBXBuildFile; fileRef = C3D23E572A27B25100FBC019 /* NanumSquareB.otf */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -63,8 +63,8 @@
C3B5535329CE8EE7002D3467 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
C3B5535629CE8EE7002D3467 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
C3B5535829CE8EE7002D3467 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
C3C19AED2A24A5D10005984D /* NanumSquareB.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = NanumSquareB.otf; sourceTree = "<group>"; };
C3C19AEF2A24A5D60005984D /* NanumSquareR.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = NanumSquareR.otf; sourceTree = "<group>"; };
C3D23E562A27B25100FBC019 /* NanumSquareR.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = NanumSquareR.ttf; sourceTree = "<group>"; };
C3D23E572A27B25100FBC019 /* NanumSquareB.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = NanumSquareB.otf; sourceTree = "<group>"; };
DD462BC429F7915B0043F105 /* CategoryCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CategoryCollectionViewCell.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -114,8 +114,8 @@
C37605B029D2BED00051BA18 /* Fonts */ = {
isa = PBXGroup;
children = (
C3C19AED2A24A5D10005984D /* NanumSquareB.otf */,
C3C19AEF2A24A5D60005984D /* NanumSquareR.otf */,
C3D23E572A27B25100FBC019 /* NanumSquareB.otf */,
C3D23E562A27B25100FBC019 /* NanumSquareR.ttf */,
C37605C729D2C6E00051BA18 /* Pretendard-Regular.otf */,
);
path = Fonts;
Expand Down Expand Up @@ -346,10 +346,12 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C3D23E592A27B25100FBC019 /* NanumSquareB.otf in Resources */,
C37605C829D2C6E00051BA18 /* Pretendard-Regular.otf in Resources */,
C3C19AF02A24A5D60005984D /* NanumSquareR.otf in Resources */,
C3B5535729CE8EE7002D3467 /* LaunchScreen.storyboard in Resources */,
C37605CA29D2CBF30051BA18 /* Colors.xcassets in Resources */,
C3D23E582A27B25100FBC019 /* NanumSquareR.ttf in Resources */,
C3B5535429CE8EE7002D3467 /* Assets.xcassets in Resources */,
C3C19AEE2A24A5D10005984D /* NanumSquareB.otf in Resources */,
);
Expand Down
1 change: 1 addition & 0 deletions BiBaBoo-iOS/BiBaBoo-iOS/Application/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
self.window?.makeKeyAndVisible()
}


func sceneDidDisconnect(_ scene: UIScene) {
// Called as the scene is being released by the system.
// This occurs shortly after the scene enters the background, or when its session is discarded.
Expand Down
6 changes: 3 additions & 3 deletions BiBaBoo-iOS/BiBaBoo-iOS/Common/Consts/Font.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ extension UIFont {
}

class var title: UIFont {
return UIFont(name: "NanumSquareB", size: 18.0) ?? UIFont.boldSystemFont(ofSize: 18)
return UIFont(name: "NanumSquareOTFB", size: 18.0)!
}

class var btn: UIFont {
return UIFont(name: "NanumSquareB", size: 14.0) ?? UIFont.boldSystemFont(ofSize: 14)
return UIFont(name: "NanumSquareOTFB", size: 14.0)!
}

class var explain: UIFont {
return UIFont(name: "NanumSquareB", size: 16.0) ?? UIFont.boldSystemFont(ofSize: 16)
return UIFont(name: "NanumSquareOTFB", size: 16.0)!
}

class var tabBarDefault: UIFont {
Expand Down
12 changes: 6 additions & 6 deletions BiBaBoo-iOS/BiBaBoo-iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<!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-Regular.otf</string>
<string>NanumSquareR.ttf</string>
<string>NanumSquareB.otf</string>
</array>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
Expand All @@ -19,11 +25,5 @@
</array>
</dict>
</dict>
<key>UIAppFonts</key>
<array>
<string>NanumSquareR</string>
<string>NanumSquareB</string>
<string>Pretendard-Regular.otf</string>
</array>
</dict>
</plist>

0 comments on commit f72423a

Please sign in to comment.