File tree 3 files changed +6
-3
lines changed
Sources/SwiftRichString/Style
SwiftRichString.xcodeproj
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 {
616
616
// string to generate a single attributes dictionary for `NSAttributedString`.
617
617
let fontAttributes = self . fontData? . attributes ?? [ : ]
618
618
self . cachedAttributes = self . innerAttributes. merging ( fontAttributes) { ( _, new) in return new }
619
+ if let font = self . fontData? . font {
620
+ self . cachedAttributes ? [ . font] = font
621
+ }
619
622
return self . cachedAttributes!
620
623
}
621
624
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "SwiftRichString"
3
- s . version = "3.0.3 "
3
+ s . version = "3.0.4 "
4
4
s . summary = "Elegant Strings & Attributed Strings Toolkit for Swift"
5
5
s . description = <<-DESC
6
6
SwiftRichString is the best toolkit to work easily with Strings and Attributed Strings.
Original file line number Diff line number Diff line change 1699
1699
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1700
1700
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
1701
1701
MACOSX_DEPLOYMENT_TARGET = 10.10;
1702
- MARKETING_VERSION = 3.0.3 ;
1702
+ MARKETING_VERSION = 3.0.4 ;
1703
1703
PRODUCT_BUNDLE_IDENTIFIER = "com.SwiftRichString.SwiftRichString-macOS";
1704
1704
PRODUCT_NAME = SwiftRichString;
1705
1705
SDKROOT = macosx;
1725
1725
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1726
1726
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
1727
1727
MACOSX_DEPLOYMENT_TARGET = 10.10;
1728
- MARKETING_VERSION = 3.0.3 ;
1728
+ MARKETING_VERSION = 3.0.4 ;
1729
1729
PRODUCT_BUNDLE_IDENTIFIER = "com.SwiftRichString.SwiftRichString-macOS";
1730
1730
PRODUCT_NAME = SwiftRichString;
1731
1731
SDKROOT = macosx;
You can’t perform that action at this time.
0 commit comments