Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25688] parity for android for the fontWeight of fonts

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsparity
Reportercstefaniga
AssigneeUnknown
Created2018-01-18T08:45:29.000+0000
Updated2019-12-04T09:14:55.000+0000

Description

According to appcelerator docs for the fontWeights property of font there are available values like "semibold", "thin", "light", "ultralight" but these can be used only on iOS so what I need is to make them available on android also. https://docs.appcelerator.com/platform/latest/#!/api/Font here is the code with which you can test different fontWeights var win = Ti.UI.createWindow({ backgroundColor: 'white', exitOnClose: true, fullscreen: false, layout: 'vertical', title: 'Label Demo' }); var normal = Ti.UI.createLabel({ color: 'black', font: { fontSize : 40, fontWeight : 'normal' }, text: 'A simple label' }); var bold = Ti.UI.createLabel({ color: 'black', font: { fontSize : 40, fontWeight : 'bold' }, text: 'A simple label' }); win.add(normal); win.add(bold); win.open();

Comments

  1. Sharif AbuDarda 2018-01-21

    Thanks for the ticket, Our engineers will look into it.
  2. cstefaniga 2018-03-09

    any progress?
  3. cstefaniga 2019-12-04

    you can close it

JSON Source