[AC-2161] Custom font text shifted upwards
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2013-04-05T23:44:17.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | n/a |
| Reporter | Oleg Polyakov |
| Assignee | Mauro Parra-Miranda |
| Created | 2012-12-21T17:59:20.000+0000 |
| Updated | 2016-03-08T07:41:08.000+0000 |
Description
Hi, I'm using embedded custom fonts (HelveticaNeueLTPro-Bd for example) and all my labels and button titles are shifted top (depending on font size from 5 to 15px). What could cause it? And could I specify offset for button text so I won't need to create a separate label in case I won't fix the problem in general?
There is a question on QA - http://developer.appcelerator.com/question/145971/for-custom-font-text-shifted-top
Please note that if you uncomment fontFamily it will push it up "#adopt":{ top: 812, left: 98, width: 436, height: 116, backgroundImage: '/img/adopt/btnAdoptNormal.png', backgroundSelectedImage:'/img/adopt/btnAdoptTapped.png', color: "#fff", textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER, font:{ //fontFamily:'HelveticaNeueLTPro-Bd', fontSize: 25 } }
Hi Oleg, This site is for filing bugs, please use the community Q&A for other issues.
Invalid issue.