FontLab Forum
2012-02-22, 23:03:23 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: embedded Arabic font  (Read 9922 times)
sylvain
Sr. Member
****

Karma: +0/-0
Posts: 12


Email
« on: 2010-10-15, 11:40:49 »

Hello,

One of our clients wants to embed an Arabic font on his website.
By using eot, and woff he could manage to make the font visible on most recent browsers.
Still, Safari Mobile and Chrome don’t support woff, and even if the new Webkit supports it, we don’t know when it will be included in Safari / Safari Mobile.

So I tried to make svg font and I could embed it into an html page, but with very annoying shaping problems.
The Arabic letters alef, heh, waw, yeh won’t get the right shape or won’t connect properly. (See 1st screenshot)
I looked deep into the svg file and could manage to find out the glyphs for waw were missing but ofr everything else I am quite sure the font is ok.
Every glyph has an Arabic form properly attached:
Ex:
<glyph unicode="&#x64a;" horiz-adv-x="338" arabic-form="medial" d="M-15 0q-8...
(Medial form for yeh)

So I suppose there is a bug in the shaping engine of svg ??.
I found very good document on the w3c website explaining the shaping process for Arabic letters:

http://www.w3.org/TR/SVGTiny12/fonts.html#GlyphElement

It works with the example svg file but I tried to change the Unicode in the example from  &#x62e to &#x64A and the letters stays disconnected (See 2nd screenshot)

So here is my question:
Does anyone know how the svg Arabic glyph-shaping-engine works? Or where can I find documentation or help on this?

Thank you so much.

Sylvain.



Uploaded with ImageShack.us



Uploaded with ImageShack.us
Logged
Tags: svg webfont arabic  
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!