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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  None
Submitted:  Mon 16 Feb 2015 10:48:00 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  unifoundry
Open/Closed:  Closed

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>
Group administrator
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>
Group administrator
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.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-20 unifoundry Open/ClosedOpen Closed
    2015-06-29 unifoundry StatusIn Progress Fixed
    2015-02-17 unifoundry StatusNone In Progress
        Assigned toNone unifoundry

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code