bugThe FreeType Project - Bugs: bug #25842, Missing support for grayscale...

 
 

bug #25842: Missing support for grayscale bitmaps in the memory-optimized sbit loader

Submitted by:  None
Submitted on:  Thu 12 Mar 2009 10:20:52 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: ConfirmedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Open
Planned Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 15 Mar 2009 07:39:44 AM UTC, comment #1:

[Here a further comment from Alexey]

OK, I have have attached a test font (Ambrosia.ttf by George
Williams, with some modifications) to my bug report. This font
has a grayscale bitmap strike at 17 pixels. Again the glyph for
"a" is specially distorted to make the bitmap easily
distinguishable from rasterized outlines.

However please note that FontForge can generate either
bit-aligned monochrome bitmaps or byte-aligned grayscale bitmaps
with bit depth 8, and this doesn't cover all formats
theoretically allowed by the TTF specification.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Thu 12 Mar 2009 10:20:52 PM UTC, original submission:

Both tt_sbit_decoder_load_bit_aligned() and tt_sbit_decoder_load_byte_aligned() in ttsbit0.c assume they always deal with single bits and thus can handle only b&w bitmaps. There is no such problem with the code in ttsbit.c.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #17691:  Ambrosia.ttf added by None (52kB - application/x-font-ttf - A test font with a grayscale strike at 17 pixels: Ambrosia by George Williams.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 Mar 2009 07:40:15 AM UTCwlStatusNone=>Confirmed
      Assigned toNone=>wl
    Sat 14 Mar 2009 08:48:36 PM UTCNoneAttached File-=>Added Ambrosia.ttf, #17691

    Back to the top


    Powered by Savane 3.1-cleanup