[TIMOB-27638] Windows app fonts become small when titanium sdk version changed from 7.0.2.GA to 8.2.1 GA
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-01-14T18:39:03.000+0000 |
Affected Version/s | Release 8.2.1 |
Fix Version/s | Release 8.3.1 |
Components | Windows |
Labels | engSchedule, windows |
Reporter | shishir.roy |
Assignee | Gary Mathews |
Created | 2019-11-27T12:43:23.000+0000 |
Updated | 2020-07-16T05:07:33.000+0000 |
Description
Hi ,
I have upgraded the titanium SDK 7.0.2.GA to 8.2.1 GA in Windows Desktop application. After upgrade the application font becomes smaller than the previous. Also font changes happen in all pages in the application
Find below tiapp.xml details:
dp
true
false
false
false
true
8.2.1.GA
10.0.16299.0
10.0.14393.0
Can you please provide the reason for smaller font and how to fix
I have added the property tag explicity in tiapp.xml
[~shishir.roy] Could you provide sample program that reproduce the issue? Could you also provide more environmental information (output from
ti info -o json
) which would be so appreciated. Did the font become smaller when you run it under older versions such as Titanium 7.5.2.GA and 8.0.0.GA?I found that font size becomes smaller when you specify unit specifier such as
dp
explicitly forfontSize
property. I think this is a parity issue...Label should ignore unit specifier in order to keep consistency between iOS. Created TIMOB-27640 to track this. For a workaround you might want to remove unit specifier fromfontSize
.Is it fixed in any version of SDK. Because it is very difficult to change every place in the code. So please provide some appropriate solution.
I already made a fix PR for TIMOB-27640. It is in review now and it is scheduled to be merged in next release (9.0.0).
But you have any release 9 with GA? I have not seen in download section. If not can you please provide the estimated date of release 9 with GA
I actually don't know much about the official release date...I would suggest consulting with sales or support guys
https://github.com/appcelerator/titanium_mobile_windows/pull/1440
8_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1445
FR Passed for 8_3_X. Waiting on Jenkins build.
Merged to 8_3_X for 8.3.1 release
Verified the fix in SDK 8.3.1.v20200115102433. Closing.