The FreeType Project - Bugs: bug #25842, Missing support for grayscale...
You are not allowed to post comments on this tracker with your current authentication level.
bug #25842: Missing support for grayscale bitmaps in the memory-optimized sbit loader
Submitter: | None | ||
Submitted: | Thu 12 Mar 2009 10:20:52 PM UTC | ||
Severity: | 3 - Normal | Item Group: | Incorrect behaviour |
Status: | Confirmed | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Open |
Planned Release: | None |
Sun 15 Mar 2009 07:39:44 AM UTC, comment #1: |
Werner LEMBERG <wl> |
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 |
Attached Files
file #17691: Ambrosia.ttf added by None (52KiB - 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
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2009-03-15 | wl | Status | None | Confirmed | |
Assigned to | None | wl | |||
2009-03-14 | None | Attached File | - | Added Ambrosia.ttf, #17691 |
Powered by Savane 3.13-4448.
Corresponding source code
[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.