Flex 3 - 完整的 unicode 支持字体和 CSS
我正在开发一个将在欧洲或亚洲(特别是日本 - 平假名、汉字和武士刀 -、中国和韩国)使用的 Web 应用程序。
我正在使用以下字体: - ericssonga628.TTF - HelveticaNeueLTStd-Lt.otf - HelveticaNeueLTStd-LtEx.otf - HelveticaNeueLTStd-Bd.otf - HelveticaNeueLTStd-BdEx.otf
当我尝试显示日语字符时,我什么也没得到。 我猜这些字体不支持东亚字符...您知道有等效的字体吗?
另外,我正在考虑当用户更改显示语言时为每种语言(或语言包)创建一个 CSS。 例如,如果用户选择“日语”,我将使用日语样式表。 但是,如何从 CSS 切换到另一个 CSS?
预先感谢您的回答。
问候,
I'm developping a web application that will be used either in Europe or in Asia (specially Japan -Hiragana, Kanji and Katana-, China and Korea).
I'm using the following fonts:
- ericssonga628.TTF
- HelveticaNeueLTStd-Lt.otf
- HelveticaNeueLTStd-LtEx.otf
- HelveticaNeueLTStd-Bd.otf
- HelveticaNeueLTStd-BdEx.otf
When I tried to display Japanese characters, I don't get anything.
I guess these fonts don't support East Asian characters... Do you know of any equivalent fonts?
Also, I was thinking of creating a CSS for each language (or pack of languages) when the user changes the display language.
For example, if the user selects "japanese", I'll use the japanese stylesheet.
However, how do I switch from a CSS to another?
Thanks in advance for your answers.
Regards,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可能是错的,但我的猜测是这些字体根本不包含您需要的字符和符号。我在一个包含印度和中文字符的应用程序上做了一些工作,它运行得很好。
您可以使用 StyleManager 类加载样式 SWF。 Adobe Docs 上有一些不错的信息关于那个。
I might be wrong on this, but my guess is that these fonts simply do not contain the characters and symbols you need. I worked a bit on an application that had Indian and Chinese characters in them and it worked just fine.
You can load style SWFs using the StyleManager class. There's some good info up on Adobe Docs about that.