If you display Japanese text on weex iOS, there will be a margin under the text.

Asked 2 years ago, Updated 2 years ago, 97 views

I am creating an application with wex.
When I display Japanese text on iOS, there is a blank space under the text.
There is no problem with viewing on the web or Android.
If you look at the demo below on iOS weekx playground, you'll see a blank space under the text like a capture.
The underline will also be misaligned if you include both English and Japanese text (see Capture).

Demo:
http://dotwe.org/vue/8180c47f84522b0466e3e78d412283b0

Does anyone know the solution?

javascript vue.js

2022-09-30 21:34

1 Answers

The default webx designation font seems to be a Chinese font.
Therefore, in the case of iOS, the original font on the iPhone, Hiragino Kaku Gothic ProN, is
I specified it in the css font-family and it came out well.

Below is the sample code.

.Class name {
     font-family —Hiragino Kaku Gothic ProN;
 }


2022-09-30 21:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.