Skip to content

Commit

Permalink
🔥 Remove Doldam Font
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHyun committed Jan 30, 2024
1 parent fac79a3 commit b3ff1f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@ import Foundation

/// `FontRegistrar` 열거형은 커스텀 폰트를 등록하는 데 사용됩니다.
public enum FontRegistrar {
/// 이 메서드는 `Pretendard`와 `DolDam` 폰트를 등록합니다.
/// 이 메서드는 편행 폰트인 `Pretendard` 등록합니다.
/// 각각의 폰트 이름을 순회하면서 `registerFont` 메서드를 호출하여 폰트를 등록합니다.
public static func registerFonts() {
// Pretendard 폰트 등록
for fontName in Pretendard.allCases.map(\.rawValue) {
registerFont(bundle: .module, fontName: fontName, fontExtension: "otf")
}

// DolDam 폰트 등록
for fontName in DolDam.allCases.map(\.rawValue) {
registerFont(bundle: .module, fontName: fontName, fontExtension: "otf")
}
}

/// 주어진 폰트 이름과 확장자를 사용하여 폰트를 동적으로 등록합니다.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// PretendardDolDamFonts.swift
// PretendardFont.swift
//
//
// Created by 홍승현 on 1/30/24.
Expand All @@ -25,9 +25,3 @@ enum Pretendard: String, CaseIterable {

case thin = "Pretendard-Thin"
}

// MARK: - DolDam

enum DolDam: String, CaseIterable {
case `default` = "EF_jejudoldam"
}

0 comments on commit b3ff1f0

Please sign in to comment.