{ "id": "61133", "key": "TIMOB-501", "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": [ { "id": "11223", "name": "Release 1.3.0", "archived": true, "released": true, "releaseDate": "2010-05-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:18.000+0000", "created": "2011-04-15T02:30:24.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "font", "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:18.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": "{html}

self-explanatory

{html}", "attachment": [], "flagged": false, "summary": "add support for fontStyle:'italic' on Labels", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123399", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

iPhone font's don't have the concept of font weight (bold) or\nitalics. It's all driven by the font face you choose.

\n

The way we compensate for this for bold is to simply cycle\nthrough all the fonts that match the font family passed looking for\nthe first font that has bold in the font name (filtering out\nitalics/oblique).

\n

I can do the same for italics.

\n

However, I suppose i'll need to allow for both bold and\nitalics.

\n

One thing to note, is that if you ask for italics and their's\nnot an italics (or bold) version of that font, it will simply\nreturn the first font in the font family specified.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:24.000+0000", "updated": "2011-04-15T02:30:24.000+0000" }, { "id": "123400", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [9ffc66304bff9a30d7b6bea67606e5b4580fc47b])\nCloses #501: Fonts now support 'fontStyle:' flag, which\ntakes 'italic' or 'normal'. Able to combine with 'fontWeight:'.\n\nhttp://github.com/appcelerator/titanium_mobile/commit/9ffc66304bff9...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:26.000+0000", "updated": "2011-04-15T02:30:26.000+0000" }, { "id": "123401", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Brief comment: Users should be aware that Helvetica does not\nsupport 'bold italic', meaning that the (usual?) system default\nwon't accept this. Code is there anyway.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:26.000+0000", "updated": "2011-04-15T02:30:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }