bugUnifont - Bugs: bug #44271, The bitmap variants of...

 
 

bug #44271: The bitmap variants of "Unifont Upper" as misencoded as BMP fonts

Submitted by:  None
Submitted on:  Mon 16 Feb 2015 10:48:00 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Paul Hardy <unifoundry>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 29 Jun 2015 05:23:42 AM UTC, comment #2:

As of today's release of Unifont 8.0.01, the BDF and PCF versions of Unifont above the Unicode Basic Multilingual Plane are no longer part of the distribution.

Paul Hardy <unifoundry>
Project AdministratorIn charge of this item.
Tue 17 Feb 2015 09:18:12 PM UTC, comment #1:

Thanks for catching this and for the reference link you provided. I'll plan to remove the BDF and PCF upper-plane fonts from the next release.

I will have to think about whether or not to let hex2bdf reject upper-plane code points with a start-of-line anchor. I might let hex2bdf allow conversion of everything to let people experiment, but warn that it isn't supported.

Paul Hardy <unifoundry>
Project AdministratorIn charge of this item.
Mon 16 Feb 2015 10:48:00 AM UTC, original submission:

The culprit is the hex2bdf utility:

while (<>) { chomp; $glyph{$1} = $2 if /(....):(.+)/; }

Since the regex pattern isn't anchored, it always matches the last four digits of the code point number, thus interpreting it as inside the BMP.

However, the proper fix should probably be disabling building bitmap variants of Unifont Upper altogether. As it turns out, the BDF and PCF formats do not actually support encodings wider than 16 bits. There have been discussions on mailing lists from 2000s about standardising on per-plane XLFD encoding descriptions (e.g. <http://thread.gmane.org/gmane.comp.internationalization.linux/1542/focus=1552>), but they seem inconclusive.

The only bitmap font format capable of straightforwardly encoding astral planes that I'm aware of would be GRUB's PFF2, specified in "GNU GRUB Developers Manual" (grub-dev info page) ยง10.2.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by unifoundry (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 20 Jul 2015 12:53:40 AM UTCunifoundryOpen/ClosedOpen=>Closed
    Mon 29 Jun 2015 05:23:42 AM UTCunifoundryStatusIn Progress=>Fixed
    Tue 17 Feb 2015 09:18:12 PM UTCunifoundryStatusNone=>In Progress
      Assigned toNone=>unifoundry

    Back to the top


    Powered by Savane 3.1-cleanup1