Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-722] height/width auto on a label = blurry text

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:02.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:35:08.000+0000
Updated2012-02-02T07:45:03.000+0000

Description

see kitchen sink - just switch tabs or run Base UI => Custom Events

Comments

  1. James K 2011-04-15

    See also https://appcelerator.lighthouseapp.com/projects/32238/tickets/539-text-anti-aliasing-on-tableview-labels-after-scrolling-back-on-to-the-screen"> this thread.

  2. Stephen Tramer 2011-04-15

    Issue appears to show up when using odd width (or height) values, which sets the center point of the label on a fractional value. This seems to have the same effect as having the origin point on a fractional value - text is presented 'blurred'.

    We handle this by rounding the center point to its nearest integer value for text display (something which [UILabel setFrame:] seems to do on its own).

  3. Jeff Haynie 2011-04-15

    (from [c21b7ca945bc2b6fc5e60f91028ede80d7451604]) Closes #722. Force UILabels to be centered on integer values. http://github.com/appcelerator/titanium_mobile/commit/c21b7ca945bc2b6fc5e60f91028ede80d7451604"> http://github.com/appcelerator/titanium_mobile/commit/c21b7ca945bc2...

  4. kosso 2011-04-15

    Hi,

    See my comment on this thread - I am still seeing some inconsistency with the anti-aliasing/blurring when labels are used in a tableView within a vertical layour view in each row.

    https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/539-text-anti-aliasing-on-tableview-labels-after-scrolling-back-on-to-the-screen#ticket-539-5"> https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...

  5. Stephen Tramer 2011-04-15

    See my comments on #539. TableRowViews may require special code to prevent blur due to dynamic loading. This should be considered a separate issue.

  6. Rob Griffiths 2012-02-02

    I think we're seeing this issue again in recent versions of Ti Mobile (1.8.0.1) http://developer.appcelerator.com/question/131415/blurry-text-fix

JSON Source