bugFree UCS Outline Fonts - Bugs: bug #15792, Freefont Alef and Lamed combine

 
 

bug #15792: Freefont Alef and Lamed combine

Submitted by:  Christian Perrier <bubulle>
Submitted on:  Sat 18 Feb 2006 11:18:11 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Primoz Peterlin <peterlin>
Open/Closed: ClosedRelease: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 18 Feb 2006 11:18:11 AM UTC, original submission:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349657

When the unicode character 0x05D0 (HEBREW LETTER ALEF)
is immediately followed by 0x05DC (HEBREW LETTER LAMED)
in the FreeSans or FreeSerif font, the two characters
combine and are replaced by 0xFB4F (HEBREW LIGATURE ALEF LAMED).

The ligature is an archaic form that is not used
in modern Hebrew. The combination of Alef followed by
Lamed is very common in Hebrew, so this bug renders
these fonts nearly unusable for any OOo document that
needs to include Hebrew text.

The characters become combined any time they are
next to each other - not just when they are input.
For example, when I input Alef and Lamed separated
by some other character, then delete the other character,
the Alef and Lamed then combine.

The bug occurs for FreeSans and FreeSerif, but NOT
FreeMono, from the ttf-freefont package, version
20051102-2. That package installs version 1.28 of the
fonts. The bug occurs in both Writer and Calc.

The following builds of OOo were tested by the upstream
developers using version 1.27 of freefont, downloaded from
http://download.savannah.gnu.org/releases/freefont/freefont-ttf.zip
and manually installed to OOo using spadmin, on
a Debian testing system:

a) Hebrew 2.0 from OpenOffice.org.il
b) English 2.0 from OpenOffice.org
c) English 2.0.1 from OpenOffice.org
d) Debian OOo package 2.0.0-5 (English)

The problem ONLY occured for (d), the Debian package
build.
From: Yitzchak Gale <gale@sefer.org>
To: -unavailable-
Cc: yba@tkos.co.il, -unavailable-
Subject: This is a font bug
Date: Wed, 25 Jan 2006 03:45:08 +0200

I now believe that this is a bug in
the fonts. It is still a mystery to me
why this problem only occurs in the
Debian build, though.

Please forward this bug to
ttf-freefont, and upgrade severity
to important.

In the freetype fonts, the OpenType
feature tag for the Alef-Lamed ligature (0xFB4F)
is "liga", which means "Standard Ligature".
That implies that the ligature is mandatory.

But this ligature certainly should not be
mandatory. The correct feature tag for this
ligature should be "dlig", which means
"Discretionary Ligature". See the OpenType
specification document for Hebrew at:

http://www.microsoft.com/typography/otfntdev/hebrewot/features.aspx

When I make this change in the SFD source
file and recompile using fontforge, the problem is
fixed.

Christian Perrier <bubulle>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #1895:  349657.diff added by bubulle (11KiB - text/x-diff - Patch to replace all liga/hliga by "dlig" as recommended by the inital bug submitter)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bubulle
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 22 Feb 2006 10:56:02 PM UTCpeterlinStatusNone=>Fixed
      Assigned toNone=>peterlin
      Open/ClosedOpen=>Closed
    Sat 18 Feb 2006 11:18:11 AM UTCbubulleAttached File-=>Added 349657.diff, #3414
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1