SVG 乌尔都语/阿拉伯语字母表处理?
所以我想用我定制的字形创建全新的 Unicode,但问题是如何管理字母的连接,我的意思是在阿拉伯语中,有很多字母表连接在一起,形成一个与英语不同的单词,其中每个字母都连接在一起。字母表与其他字母表是分开的,所以现在我的问题是乌尔都语字母表有一个 Unicode 定义,但相同的字母表与许多其他字母表连接,如何处理它?我的意思是该字母表只有一个 unicode,但一个 unicode 由许多连接形状组成,如何管理连接字母的问题?
我的问题的答案就在这个魔法属性中吗? :阿拉伯语形式=“初始|中间|终端|隔离”
So i was looking that i am going to create whole new Unicode with my custom made glyph but the problem is that how to manage the Joining of letters i mean in Arabic there are lots of alphabet joined together and make a word unlike English in which each alphabet is separated from other so now my problem is that there is a Unicode define for a Urdu alphabet but very same alphabet join with lots of other alphabets how to handle it ? i mean there is only one unicode for that alphabet but one unicode consist lots of its shapes of join how to manage this problem of joining letters??
and is the answer of my Problem is in This Magic Attribute ?? : arabic-form = "initial | medial | terminal | isolated"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果阿拉伯字母是孤立的,或者位于单词的开头、中间或结尾,那么它们的外观就会改变。所以一个角色最多有4种表现形式。在 Unicode 中,每一种语言都有自己的代码,为了区分它们,使用了“arabic-form”属性。
此网站包含如何使用 SVG 中的不同字形的示例:
http://www.w3 .org/TR/SVGTiny12/fonts.html(参见示例“Font02.svg”)
Arabic letters change their look if they are isolated, or stand at the beginning, middle or end of a word. So a character has up to 4 presentation forms. In Unicode every one of them has it's own code and to disdinguish them the property "arabic-form" is used.
This website contains an example how to use the different glyphs from SVG:
http://www.w3.org/TR/SVGTiny12/fonts.html (see example "Font02.svg")