-
移动端会切换阿拉伯语,pag文件特效是否能支持RTL. |
Beta Was this translation helpful? Give feedback.
Answered by
domchen
Aug 16, 2022
Replies: 2 comments
-
这个目前还没有支持,预计文本的国际化要很久,但其实目前是有办法实现的。你可以在PAG文件里需要替换文本的地方改成放一个占位图,然后在外部把特殊排版的文本用系统API画到一个图片上,替换到PAG里的占位图上就可以了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
domchen
-
感谢回复,我们这边采用了对特殊场景下使用的pagview控件做了左右镜像翻转处理。其他必要场景可能需要我们这边做两套pag资源适配。
471309445
***@***.***
…---- 回复的原邮件 ----发件人Dom ***@***.***>发送日期2022年08月16日 17:19 ***@***.***> ***@***.******@***.***>主题Re: [Tencent/libpag] 移动端语言切换,能否支持RTL布局处理. (Discussion #476)
这个目前还没有支持,预计文本的国际化要很久,但其实目前是有办法实现的。你可以在PAG文件里需要替换文本的地方改成放一个占位图,然后在外部把特殊排版的文本用系统API画到一个图片上,替换到PAG里的占位图上就可以了。
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#476 (comment)",
"url": "#476 (comment)",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个目前还没有支持,预计文本的国际化要很久,但其实目前是有办法实现的。你可以在PAG文件里需要替换文本的地方改成放一个占位图,然后在外部把特殊排版的文本用系统API画到一个图片上,替换到PAG里的占位图上就可以了。