The FreeType Project - Bugs: bug #45596, FT_Outline_Embolden produces...
You are not allowed to post comments on this tracker with your current authentication level.
bug #45596: FT_Outline_Embolden produces artifacts for a number of fonts
Submitter: | Stephan Deutsch <dp4> | ||
Submitted: | Tue 21 Jul 2015 11:50:28 AM UTC | ||
Severity: | 3 - Normal | Item Group: | Wishlist |
Status: | Confirmed | Privacy: | Public |
Assigned to: | podtelez | Open/Closed: | Open |
Planned Release: | None |
Jump to the original submission
Tue 18 Aug 2015 12:19:16 PM UTC, comment #7: |
Alexei Podtelezhnikov <podtelez> |
Tue 18 Aug 2015 04:27:35 AM UTC, comment #6: Thanks. I'm now changing the status of this report to `wishlist'.
|
Werner LEMBERG <wl> |
Tue 18 Aug 2015 03:07:41 AM UTC, comment #5: It should be much better now after my last commit: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=a0172d10e816fdd7b8d7b748f570ba16d9e753bd
|
Alexei Podtelezhnikov <podtelez> |
Sat 15 Aug 2015 06:38:54 PM UTC, comment #4: I acknowledge that this is rather fundamental problem with the current algorithm and its refusal to move zero-length segments. I'll see what I can do. This is important to fix with a perspective of future improvements. IT is also rather important for stem darkening at small sizes. |
Alexei Podtelezhnikov <podtelez> |
Sat 01 Aug 2015 07:37:23 AM UTC, comment #3: Alexei, have you looked at the font 03963_BAUHAUS.TTF? I think there's something fishy, as the attached image (bauhaus-emboldened.png) shows... What's the reason that even those simple glyph shapes are distorted by the emboldening? |
Werner LEMBERG <wl> |
Wed 22 Jul 2015 03:14:03 AM UTC, comment #2: This problem is not new. It's been documented in the function notes for ever. The current and the old algorithms work until they don't. I am tempted to close as "won't fix" but I will let you decide. Yes, it is possible to fix but the algorithm needs to be a lot more complex, require more memory, and be very careful and slow when dealing with vanishing features. Imagine how hard it is to figure out when inside of glyph 'O' needs to disappear, or when 'V' becomes more like a triangle. It is not easy. |
Alexei Podtelezhnikov <podtelez> |
Tue 21 Jul 2015 04:27:44 PM UTC, comment #1: Alexei, please have a look! |
Werner LEMBERG <wl> |
Tue 21 Jul 2015 11:50:28 AM UTC, original submission:
the FT_Outline_Embolden routine produces glitches in the emboldened outline for a number of fonts.
|
Stephan Deutsch <dp4> |
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 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-08-18 | wl | Item Group | Incorrect behaviour | Wishlist | |
Status | In Progress | Confirmed | |||
2015-08-15 | podtelez | Status | Need Info | In Progress | |
2015-08-01 | wl | Attached File | - | Added bauhaus-emboldened.png, #34562 | |
Status | None | Need Info | |||
2015-07-21 | wl | Assigned to | None | podtelez | |
2015-07-21 | dp4 | Attached File | - | Added sample fonts.zip, #34479 | |
Attached File | - | Added sample artifact.bmp, #34480 |
Powered by Savane 3.13-cf05.
Corresponding source code
The emboldener now can deal with long and zero-length segments correctly. The remaining issue is short segments that have to collapse in the emboldened outline. The intermediate case is always the most difficult.