Skip to content

Commit

Permalink
[NUI] Update FontSizeScale values
Browse files Browse the repository at this point in the history
- Except for TV and wearable profiles, FontSizeScale values are updated.

Signed-off-by: Seoyeon Kim <[email protected]>
  • Loading branch information
Seoyeon2Kim committed Jul 4, 2023
1 parent 69a9ad9 commit 99e38a3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Tizen.NUI/src/public/BaseComponents/TextUtils.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/*
* Copyright(c) 2020 Samsung Electronics Co., Ltd.
*
Expand Down Expand Up @@ -1137,13 +1138,13 @@ public static List<FontInfo> GetFontInfoList(PropertyArray fontArray)
private const float FontSizeScaleGiant = 2.5f;
#else // PROFILE_MOBILE and etc
// The following values from 'system-settings/libutil/sstu.c'
private const float FontSizeScaleSmall = 0.8f;
private const float FontSizeScaleSmall = 0.87f;
private const float FontSizeScaleNormal = 1.0f;
// TODO: Profile Separation
private const float FontSizeScaleLarge = 1.0f;
private const float FontSizeScaleLarge = 1.1f;
//private const float FontSizeScaleLarge = 1.5f;
private const float FontSizeScaleHuge = 1.9f;
private const float FontSizeScaleGiant = 2.5f;
private const float FontSizeScaleHuge = 1.12f;
private const float FontSizeScaleGiant = 1.4f;
#endif

/// <summary>
Expand Down

0 comments on commit 99e38a3

Please sign in to comment.