Jump to content

(Archived) Bug of Rich text in Traditional Chinese


yikeouch

Recommended Posts

Hi,

Rich text works fine on android except bold text in Traditional Chinese.

Bold text in Traditional Chinese is displayed correctly on desktop version but is not on android version.

I only see characters in normal text rather than bold text on android version. English characters works all fine.

Would you please fix this?

Thank you.

Link to comment
  • 1 month later...

After googling this problem, I found something:

Chinese ttf is too big for android system. So it doesn't have bold fonts in it.

In xml, you have to add these code to view bold type properly:

TextView tv = (TextView)findViewById(R.id.TextView01);

TextPaint tp = tv.getPaint();

tp.setFakeBoldText(true);

please fix this, thanks.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...