public static KingdomTextContext ToKh2EuSystemTextContext(this kh2.FontContext fontContext) => new KingdomTextContext { Font = fontContext.ImageSystem, Font2 = fontContext.ImageSystem2, Icon = fontContext.ImageIcon, FontSpacing = fontContext.SpacingSystem, IconSpacing = fontContext.SpacingIcon, Encoder = Encoders.InternationalSystem, FontWidth = Constants.FontEuropeanSystemWidth, FontHeight = Constants.FontEuropeanSystemHeight, TableHeight = Constants.FontTableSystemHeight, };
public static KingdomTextContext ToKh2JpEventTextContext(this kh2.FontContext fontContext) => new KingdomTextContext { Font = fontContext.ImageEvent, Font2 = fontContext.ImageEvent2, Icon = fontContext.ImageIcon, FontSpacing = fontContext.SpacingEvent, IconSpacing = fontContext.SpacingIcon, Encoder = Encoders.JapaneseSystem, FontWidth = Constants.FontJapaneseEventWidth, FontHeight = Constants.FontJapaneseEventHeight, TableHeight = Constants.FontTableEventHeight, };