{ "id": "165001", "key": "TIMOB-24217", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": null, "resolutiondate": null, "created": "2016-12-13T16:02:11.000+0000", "priority": null, "labels": [ "font", "label,", "titanium" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:31.000+0000", "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" } }, "components": [], "description": "Not exactly a new issue but it keeps on coming back. Some letters get cut with specific fonts that appear fine on desktop and web use. An example of this is Charter-BoldItalic.ttf. As you can see in the screenshot the lower left corner of the first letter A is clipped no matter how the label is placed or the text alignment mode or clipMode is set. In CharterBoldItalic.png you can see that Titanium clips the part that it's out of the inner boundaries.\r\n\r\nExample code\r\n{code}\r\nvar self = Ti.UI.createWindowView();\r\n\t\r\n\tvar label = Ti.UI.createLabel({\r\n\t\tcolor:'#000000',\r\n\t\ttext:'An example label',\r\n\t\theight:'auto',\r\n\t\tborderColor:'black',\r\n\t\ttextAlign:'center',\r\n\t\twidth:Ti.UI.FILL,\r\n\t\tfont:{\r\n\t\t\tfontFamily:'Charter-BoldItalic',\r\n\t\t\tfontSize:'23dp'\r\n\t\t}\r\n\t});\r\n\t\r\n\tself.add(label);\r\n\tself.open();\r\n{code}", "attachment": [ { "id": "61078", "filename": "CharterBoldItalic.png", "author": { "name": "nipoul", "key": "nipoul", "displayName": "Nikos Poulios", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-13T16:00:44.000+0000", "size": 58353, "mimeType": "image/png" }, { "id": "61077", "filename": "Charter-BoldItalic.ttf", "author": { "name": "nipoul", "key": "nipoul", "displayName": "Nikos Poulios", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-13T16:00:44.000+0000", "size": 40436, "mimeType": "application/x-font-ttf" }, { "id": "61076", "filename": "Simulator Screen Shot Dec 13, 2016, 4.46.44 PM.png", "author": { "name": "nipoul", "key": "nipoul", "displayName": "Nikos Poulios", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-13T16:00:44.000+0000", "size": 29204, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Label clips letters for some fonts", "creator": { "name": "nipoul", "key": "nipoul", "displayName": "Nikos Poulios", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "nipoul", "key": "nipoul", "displayName": "Nikos Poulios", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti SDK 6.0.0.GA ", "comment": { "comments": [ { "id": "403274", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Thanks for submitting the ticket. I have tested the issue with your sample code with the font. I have observed the same behavior. I will forward this to engineering to work on for a fix. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-12-13T16:41:43.000+0000", "updated": "2016-12-13T16:41:43.000+0000" }, { "id": "403354", "author": { "name": "nipoul", "key": "nipoul", "displayName": "Nikos Poulios", "active": true, "timeZone": "Europe/Berlin" }, "body": "Rendering issue exists also on Android, with the same result", "updateAuthor": { "name": "nipoul", "key": "nipoul", "displayName": "Nikos Poulios", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-14T09:03:29.000+0000", "updated": "2016-12-14T09:03:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }