File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Sources/SwiftRichString/Style
SwiftRichString.xcodeproj Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -616,6 +616,9 @@ public class Style: StyleProtocol {
616616 // string to generate a single attributes dictionary for `NSAttributedString`.
617617 let fontAttributes = self . fontData? . attributes ?? [ : ]
618618 self . cachedAttributes = self . innerAttributes. merging ( fontAttributes) { ( _, new) in return new }
619+ if let font = self . fontData? . font {
620+ self . cachedAttributes ? [ . font] = font
621+ }
619622 return self . cachedAttributes!
620623 }
621624
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "SwiftRichString"
3- s . version = "3.0.3 "
3+ s . version = "3.0.4 "
44 s . summary = "Elegant Strings & Attributed Strings Toolkit for Swift"
55 s . description = <<-DESC
66 SwiftRichString is the best toolkit to work easily with Strings and Attributed Strings.
Original file line number Diff line number Diff line change 16991699 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
17001700 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
17011701 MACOSX_DEPLOYMENT_TARGET = 10.10;
1702- MARKETING_VERSION = 3.0.3 ;
1702+ MARKETING_VERSION = 3.0.4 ;
17031703 PRODUCT_BUNDLE_IDENTIFIER = "com.SwiftRichString.SwiftRichString-macOS";
17041704 PRODUCT_NAME = SwiftRichString;
17051705 SDKROOT = macosx;
17251725 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
17261726 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
17271727 MACOSX_DEPLOYMENT_TARGET = 10.10;
1728- MARKETING_VERSION = 3.0.3 ;
1728+ MARKETING_VERSION = 3.0.4 ;
17291729 PRODUCT_BUNDLE_IDENTIFIER = "com.SwiftRichString.SwiftRichString-macOS";
17301730 PRODUCT_NAME = SwiftRichString;
17311731 SDKROOT = macosx;
You can’t perform that action at this time.
0 commit comments