{ "id": "148344", "key": "TIMOB-18968", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2019-08-13T21:30:38.000+0000", "created": "2015-05-29T16:23:22.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "regression" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-08-13T21:30:38.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Android custom font support appears to be broken in Titanium 4.x\r\n\r\nFollowing the guide found on the wiki https://wiki.appcelerator.org/display/guides2/Custom+Fonts results in proper custom fonts when using SDK 3.5.1.GA on Android, but no visible custom fonts on SDK 4.1.0. iOS custom fonts work properly.\r\n\r\nYou can easily test this by downloading the CustomFonts example application on the wiki page and changing the SDK version.", "attachment": [ { "id": "55670", "filename": "iOS Simulator Screen Shot Jun 1, 2015, 12.59.35 PM.png", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-06-01T07:03:28.000+0000", "size": 37689, "mimeType": "image/png" }, { "id": "55669", "filename": "Screen Shot 2015-06-01 at 12.59.56 PM.png", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-06-01T07:03:28.000+0000", "size": 42785, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Custom fonts not working ", "creator": { "name": "Yissachar Radcliffe", "key": "yissachar radcliffe", "displayName": "Yissachar Radcliffe", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "Yissachar Radcliffe", "key": "yissachar radcliffe", "displayName": "Yissachar Radcliffe", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 5\r\nTitanium SDK 4.1.0\r\nMac OS X", "comment": { "comments": [ { "id": "355113", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "body": "Where are you putting your font file?\r\n\r\nTry: \r\n\r\n/Resources/android/fonts/yourfont.ttf \r\n\r\n(ie: within the 'android' folder).\r\n", "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2015-06-15T10:03:51.000+0000", "updated": "2015-06-15T10:03:51.000+0000" }, { "id": "355127", "author": { "name": "Yissachar Radcliffe", "key": "yissachar radcliffe", "displayName": "Yissachar Radcliffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The CustomFonts example app is Alloy so the fonts are in /assets/android/fonts. I've also tried non-alloy versions with the fonts in /Resources/fonts and /Resources/android fonts, but neither of those attempts changed anything.", "updateAuthor": { "name": "Yissachar Radcliffe", "key": "yissachar radcliffe", "displayName": "Yissachar Radcliffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-15T15:05:09.000+0000", "updated": "2015-06-15T15:05:09.000+0000" }, { "id": "355128", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "body": "Are you using the correct font name in fontFamily? You use a different name than with iOS. \r\n\r\nI think these instructions might be the same as on the Wiki : http://docs.appcelerator.com/platform/latest/#!/guide/Custom_Fonts\r\n", "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2015-06-15T15:11:58.000+0000", "updated": "2015-06-15T15:11:58.000+0000" }, { "id": "355130", "author": { "name": "Yissachar Radcliffe", "key": "yissachar radcliffe", "displayName": "Yissachar Radcliffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, I am using the correct font name. As mentioned, you can see everything that's going on the CustomFonts app linked above. It is a really simple app that just displays a line of custom text, so you can easily determine that everything is done correctly. Again, this works exactly as expected on TiSDK 3.5.1 so it seems to be something broken with 4.x as opposed to user error.", "updateAuthor": { "name": "Yissachar Radcliffe", "key": "yissachar radcliffe", "displayName": "Yissachar Radcliffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-15T15:18:58.000+0000", "updated": "2015-06-15T15:18:58.000+0000" }, { "id": "355184", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-06-16T07:13:09.000+0000", "updated": "2015-06-16T07:15:46.000+0000" }, { "id": "358003", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does this work in 4.0?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-20T18:14:56.000+0000", "updated": "2015-07-20T18:14:56.000+0000" }, { "id": "358019", "author": { "name": "Yissachar Radcliffe", "key": "yissachar radcliffe", "displayName": "Yissachar Radcliffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It does not work in 4.0.0 for me.", "updateAuthor": { "name": "Yissachar Radcliffe", "key": "yissachar radcliffe", "displayName": "Yissachar Radcliffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-20T19:28:12.000+0000", "updated": "2015-07-20T19:28:12.000+0000" }, { "id": "450460", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce with 8.0.2.GA SDK. ", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-13T21:30:20.000+0000", "updated": "2019-08-13T21:30:20.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }