{ "id": "168409", "key": "TIMOB-24823", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2020-09-21T11:29:48.000+0000", "created": "2017-06-14T22:36:11.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule", "qe-6.1.0", "qe-6.1.1" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [ { "id": "55214", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "158131", "key": "TIMOB-22181", "fields": { "summary": "Ti.UI.Label Test Suite: Titanium.UI.Label Acceptance TIMOB-6053", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } }, { "id": "55212", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "118202", "key": "TIMOB-14796", "fields": { "summary": "iOS: fontStyle not supported on iOS", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-21T11:29:48.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "*Description*\r\nWhen setting fontStyle for a label to italic in combination with fontWeight to bold, the resulting text shows up in bold as expected, but the style is displayed in normal instead of italic.\r\n\r\n*Steps to reproduce*\r\n1. Create a classic app, use the demo code below.\r\n2. Launch app in either simulator or device.\r\n3. Observe the the fontstyle and fontweight as indicated in the label text.\r\n\r\n*Result*\r\n1. For scenarios where either the fontStyle or the fontWeight is normal the font appears as expected.\r\n2. For the last scenario where fontStyle is italic and fontWeight is bold, the text is appearing as bold but the style is not italic.\r\n\r\n*Expected Result*\r\nIn the case where fontStyle is italic and fontWeight is bold, the text should appear bold and italic.\r\n\r\n*Demo Code*\r\n{code}\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n });\r\nwindow.layout = 'vertical';\r\n\r\nfunction makeLabel(labelText, labelFont) {\r\n return Titanium.UI.createLabel({\r\n top: 20,\r\n text: labelText,\r\n font: labelFont,\r\n width: 'auto',\r\n height: 'auto'\r\n });\r\n}\r\n\r\nvar theTestFont = 'serif';\r\n\r\n window.add(makeLabel('Font normal normal', {\r\n fontFamily: theTestFont,\r\n fontWeight: 'normal',\r\n fontStyle: 'normal'\r\n}));\r\n window.add(makeLabel('Font bold normal', {\r\n fontFamily: theTestFont,\r\n fontWeight: 'bold',\r\n fontStyle: 'normal'\r\n}));\r\n window.add(makeLabel('Font normal italic', {\r\n fontFamily: theTestFont,\r\n fontWeight: 'normal',\r\n fontStyle: 'italic'\r\n}));\r\n window.add(makeLabel('Font bold italic', {\r\n fontFamily: theTestFont,\r\n fontWeight: 'bold',\r\n fontStyle: 'italic'\r\n}));\r\nwindow.open();\r\n{code}", "attachment": [ { "id": "67518", "filename": "9_2_0.png", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-03T17:36:48.000+0000", "size": 42942, "mimeType": "image/png" }, { "id": "67563", "filename": "iOS14.png", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-09-21T11:29:22.000+0000", "size": 42532, "mimeType": "image/png" }, { "id": "62666", "filename": "Screen Shot 2017-06-14 at 3.21.20 PM.png", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-14T22:34:03.000+0000", "size": 31868, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Label font style does not show italic when bold", "creator": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Node Version: 6.10.3\r\nNPM Version: 3.10.10\r\nMac OS: 10.12.4\r\nAppc CLI: 6.2.2\r\nAppc CLI NPM: 4.2.9\r\nTitanium SDK version: 6.0.0.GA, 6.1.0.GA\r\nAppcelerator Studio, build: 4.9.0.201705302345-39\r\nXcode 8.3.2\r\n", "comment": { "comments": [ { "id": "456735", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Yeah this looks to be fixed when building with Xcode 12 to an iOS 14 sim/device but not on Xcode 11/iOS 13. So I guess we can close this as not our bug", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-09-04T09:58:38.000+0000", "updated": "2020-09-04T09:58:38.000+0000" }, { "id": "456961", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Closing as not our bug as issue is now fixed in iOS 14", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-09-21T11:29:48.000+0000", "updated": "2020-09-21T11:29:48.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }