The FreeType Project - Patches: patch #7471, Automatically fall back to...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7471: Automatically fall back to autohinting when the font provides no hinting bytecode
Submitter: | Kevin Kofler <kevinkofler> | ||
Submitted: | Thu 17 Feb 2011 05:04:35 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Jump to the original submission
Mon 07 Mar 2011 04:22:39 AM UTC, comment #11: |
Werner LEMBERG <wl> |
Sun 06 Mar 2011 06:01:25 PM UTC, comment #10:
|
Kevin Kofler <kevinkofler> |
Sun 06 Mar 2011 05:46:04 PM UTC, comment #9: In git, I've fixed the problem reported in #6 by adding a test whether the font is really TTF and not a CFF-based OTF.
|
Werner LEMBERG <wl> |
Sun 06 Mar 2011 04:53:29 PM UTC, comment #8: About the issue of partially-hinted fonts: I've done some testing: The patch is working as expected for Inconsolata, which is really unhinted, but our CJK fonts in Fedora all seem to be partially hinted rather than unhinted, meaning the patch does not help there. :-( |
Kevin Kofler <kevinkofler> |
Sun 06 Mar 2011 04:36:01 PM UTC, comment #7: Well, I think the best solution would probably be to use the autohinter if that PARTICULAR glyph has no hinting information. That should solve both the problem in comment #6 and the issue of partially hinted fonts (e.g. fonts which have hinting info for Latin characters, but not for CJK ideographs), where this patch doesn't help.
|
Kevin Kofler <kevinkofler> |
Tue 01 Mar 2011 04:03:44 PM UTC, comment #6: Hello :).
|
NiLuJe <niluje> |
Sat 19 Feb 2011 10:13:51 PM UTC, comment #5: Applied now, thanks. |
Werner LEMBERG <wl> |
Sat 19 Feb 2011 05:33:22 PM UTC, comment #4: Silly me :-) |
Werner LEMBERG <wl> |
Sat 19 Feb 2011 03:15:03 PM UTC, comment #3: It's a logical or. It INCLUDES all non-TTF/OTF fonts.
|
Kevin Kofler <kevinkofler> |
Sat 19 Feb 2011 06:08:46 AM UTC, comment #2: Thanks for the patch. Looking at this:
|
Werner LEMBERG <wl> |
Thu 17 Feb 2011 05:32:15 PM UTC, comment #1: A more striking comparison (from http://mso-chronicles.blogspot.com/2009/10/mark-difference-ugly-fonts-in-fedora.html ):
|
Kevin Kofler <kevinkofler> |
Thu 17 Feb 2011 05:04:35 PM UTC, original submission:
This patch fixes https://bugzilla.redhat.com/show_bug.cgi?id=547532 , which is preventing enabling the (no longer patented) bytecode interpreter in Fedora.
|
Kevin Kofler <kevinkofler> |
Depends on the following items: None found
Items that depend on this one: None found
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 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-02-19 | wl | Status | Need Info | Done | |
Open/Closed | Open | Closed | |||
2011-02-19 | wl | Status | None | Need Info | |
Assigned to | None | wl | |||
2011-02-18 | mkasik | Carbon-Copy | - | Added mkasik | |
2011-02-17 | anssi | Carbon-Copy | - | Added anssi | |
2011-02-17 | kevinkofler | Attached File | - | Added freetype-2.4.4-auto-autohint.patch, #22718 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Currently, there is no hinting fallback support for unhinted CFF or Type 1 fonts at all – I've just filed a new bug report (#32696). Note that noone has ever complained about this...
Both strategies are useful for handling broken fonts (and fonts which have both hinted and unhinted glyphs are essentially broken if used for screen display). Usually, they are old, and many of them contain embedded bitmaps to compensate for the lack of hints. But people today want anti-aliased display for all sizes, making such embedded bitmaps useless. Similarly, many fonts with good hinting cause bad anti-aliased rendering since users ignore the values in the `gasp' table.