0

I am dealing with the Japanese text. I am able to display the English text with medium textStyle by following this link Android text style. However, when I replace the text (which already displayed in medium style) by Japanese, the medium style has gone.

Please let me know if there are other ways to display medium style for Japanese text. Any help would be appreciated, thank you in advance!

Community
  • 1
  • 1
Luong Truong
  • 1,953
  • 2
  • 27
  • 46

1 Answers1

0

Typefacing also needs to be supplied with the Other Styles as well so double check your Japanese Typeface and check if they have other styles like medium, Italic or Bold. The Styles for this cannot be magically set by just the parameter, it also needs the raw Characters files for it. In short, even English characters have Different types of typeface for Bold, Italic etc. The only dynamic that can be set for Typeface that doesn't require the files to be different is the size of the text. So if in some cases, you just want to be a little bigger than the normal.

Just use the textSize property.

Aizen
  • 1,807
  • 2
  • 14
  • 28
  • thank you for your answer, it turns out to be more difficult that I have to download the specific Japanese font which has medium style in order to use it. – Luong Truong Apr 07 '16 at 07:35