[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-fonts-devel] Bug in fontforge when generate i with accent in SVG font



On Fri, Jul 20, 2012 at 05:28:45PM +0200, pecita.net Archive Automatic Signing Key wrote:
> Hello.
> 
> There is a bug in the package fontforge 0.0.20120101+g
> It concerns the generation of small letters i with an accent in SVG
> fonts.
>   Example: for iacute FontForge generates
>     <glyph glyph-name="igrave" unicode="i&#x300;" ...
>   when it should generate
>     <glyph glyph-name="igrave" unicode="#xED;" ...

Your font mrks igrave as a ligature of i + gravecomb, and according to
the SVG fonts spec, ligatures are represented by a sequence of
characters in the "unicode" property, which is what FontForge is doing:

http://www.w3.org/TR/SVG/fonts.html#GlyphElementUnicodeAttribute

> Combined with ligatures the result is disastrous, since we are left with
> the letters i with a point and a focus instead of letters i with an
> accent. (+ in XML each attribute must have sense). 

SVG fonts a very dumb font format, if you want to build fonts with
complex substitutions you shouldn't be using SVG fonts.

Regards,
 Khaled

Attachment: signature.asc
Description: Digital signature


Reply to: