{ "id": "139592", "key": "TIMOB-19240", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-07-08T22:18:19.000+0000", "created": "2014-11-12T13:25:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "TCSupportTriage", "font", "fontFamily", "fontSize", "fontWeight", "label" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-19T21:25:11.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The following test case shows that on iOS changing only a Label's fontWeight or fontFamily will also change the fontSize. I'd expect the fontSize to stay the same, just like it does on Android.\r\n\r\nh1. Test case\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n backgroundColor: '#ddd',\r\n});\r\n\r\nwin.add(Ti.UI.createLabel({\r\n top: 100,\r\n text: 'No font property',\r\n}));\r\n\r\nwin.add(Ti.UI.createLabel({\r\n top: 200,\r\n text: 'Font property for fontWeight only',\r\n font: {\r\n fontWeight: 'bold'\r\n }\r\n}));\r\n\r\nwin.add(Ti.UI.createLabel({\r\n top: 300,\r\n text: 'Font property for fontFamily only',\r\n font: {\r\n fontFamily: Ti.Platform.name === 'android' ? 'Roboto' : 'AmericanTypewriter'\r\n }\r\n}));\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "52503", "filename": "Screen Shot 2014-11-12 at 14.24.32.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-11-12T13:25:29.000+0000", "size": 58979, "mimeType": "image/png" }, { "id": "52504", "filename": "Screen Shot 2014-11-12 at 14.24.50.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-11-12T13:25:29.000+0000", "size": 33753, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Change of fontWeight or fontFamily also changes fontSize", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "3.4.1.RC", "comment": { "comments": [ { "id": "348100", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Uh... yes, that's not the issue. The issue is that the second label shows smaller while only the fontWeight is different from the first.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-04-01T11:20:51.000+0000", "updated": "2015-04-01T11:20:51.000+0000" }, { "id": "423725", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed in 6.2.0!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-07-08T22:18:19.000+0000", "updated": "2017-07-08T22:18:19.000+0000" }, { "id": "424408", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-19T21:25:11.000+0000", "updated": "2017-07-19T21:25:11.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }