@nativescript/core 8.4.3 → 8.4.4-next-01-04-2023-3840390479
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nativescript/core",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.4-next-01-04-2023-3840390479",
|
|
4
4
|
"description": "A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.",
|
|
5
5
|
"main": "index",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -49,8 +49,11 @@
|
|
|
49
49
|
|
|
50
50
|
BOOL actualItalic = result.fontDescriptor.symbolicTraits & UIFontDescriptorTraitItalic;
|
|
51
51
|
if ([[font valueForKey:@"isItalic"] boolValue] && !actualItalic) {
|
|
52
|
+
#if TARGET_OS_MACCATALYST
|
|
53
|
+
#else
|
|
52
54
|
// The font we got is not actually italic so emulate that with a matrix
|
|
53
55
|
result = [UIFont fontWithDescriptor:[descriptor fontDescriptorWithMatrix:CGAffineTransformMake(1, 0, 0.2, 1, 0, 0)] size:size];
|
|
56
|
+
#endif
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
// Check if the resolved font has the correct font-family
|