Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2161] Custom font text shifted upwards

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-04-05T23:44:17.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterOleg Polyakov
AssigneeMauro Parra-Miranda
Created2012-12-21T17:59:20.000+0000
Updated2016-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

Comments

  1. Oleg Polyakov 2012-12-21

    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 } }
  2. Jamie Buckley 2013-04-05

    Hi Oleg, This site is for filing bugs, please use the community Q&A for other issues.
  3. Mauro Parra-Miranda 2013-11-24

    Invalid issue.

JSON Source