diff --git a/TheNoiseClock/Core/Utilities/FontUtils.swift b/TheNoiseClock/Core/Utilities/FontUtils.swift index 3b464c4..cb10555 100644 --- a/TheNoiseClock/Core/Utilities/FontUtils.swift +++ b/TheNoiseClock/Core/Utilities/FontUtils.swift @@ -44,11 +44,11 @@ enum FontUtils { if isPortrait { // In portrait, height is the limiting factor // Account for separators and spacing - let separatorHeight = availableHeight * 0.05 // 5% for separators (reduced further) + let separatorHeight = availableHeight * 0.08 // 8% for separators (more conservative) let contentHeight = availableHeight - separatorHeight let estimatedLines = showSeconds ? 3 : 2 // HH, MM, SS or HH, MM let lineHeight = contentHeight / CGFloat(estimatedLines) - optimalSize = lineHeight * 0.9 // 90% of line height for actual text (increased) + optimalSize = lineHeight * 0.75 // 75% of line height for actual text (more conservative) } else { // In landscape, be more aggressive with space usage // Account for separators and spacing @@ -409,16 +409,16 @@ enum FontUtils { let optimalSize: CGFloat if isPortrait { // In portrait, use most of the available height - let contentHeight = availableHeight * 0.95 // Use 95% of available height (increased) + let contentHeight = availableHeight * 0.95 let estimatedLines = showSeconds ? 3 : 2 let lineHeight = contentHeight / CGFloat(estimatedLines) - optimalSize = lineHeight * 0.9 // Use 90% of line height (increased) + optimalSize = lineHeight * 0.8 } else { // In landscape, use most of the available width - let contentWidth = availableWidth * 0.90 // Use 90% of available width (reduced for safety) + let contentWidth = availableWidth * 0.93 let estimatedColumns = showSeconds ? 3 : 2 let columnWidth = contentWidth / CGFloat(estimatedColumns) - optimalSize = columnWidth * 0.75 // Use 75% of column width (reduced for safety) + optimalSize = columnWidth * 0.75 } // Apply reasonable bounds