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

Khaled Hosny khaledhosny at eglug.org
Fri Jul 20 16:18:19 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20120720/f28c9a72/attachment.pgp>


More information about the Pkg-fonts-devel mailing list