The FreeType Project - Bugs: bug #54371, Do varfont interpolation in floats
You are not allowed to post comments on this tracker with your current authentication level.
bug #54371: Do varfont interpolation in floats
Submitter: | Behdad Esfahbod <behdad> | ||
Submitted: | Wed 25 Jul 2018 04:20:01 AM UTC | ||
Severity: | 3 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Planned Release: | 2.10.1 |
Jump to the original submission
Mon 13 May 2019 08:56:50 AM UTC, comment #15: |
Dominik Röttsches <drott> |
Sat 11 May 2019 08:03:49 AM UTC, comment #14: I've fixed this now in git (using a different approach), please test. |
Werner LEMBERG <wl> |
Wed 24 Apr 2019 02:47:06 PM UTC, comment #13: Can you try the attached untested patch? |
Alexei Podtelezhnikov <podtelez> |
Wed 24 Apr 2019 01:48:39 PM UTC, comment #12: My point is that hairline is not an arbitrary concept. Microsoft used to render with 8 levels of gray, i.e. any thickness below 1/8 of a pixel is the same. Therefore any feature (thickness) variations below 1/8 of a pixel is invisible, useless, and possibly mistaken.
|
Alexei Podtelezhnikov <podtelez> |
Wed 24 Apr 2019 01:08:46 PM UTC, comment #11:
|
Dominik Röttsches <drott> |
Wed 24 Apr 2019 12:55:32 PM UTC, comment #10: I very much doubt that you can see 1 funit thickness difference at the normal sizes where 1 funit is a small fraction of a pixel. Of course, you are talking about huge sizes (and a poorly designed variable font).
|
Alexei Podtelezhnikov <podtelez> |
Wed 24 Apr 2019 08:35:12 AM UTC, comment #9: An additional use case we have received from underware, paraphrasing what they have said:
|
Dominik Röttsches <drott> |
Thu 01 Nov 2018 06:03:05 PM UTC, comment #8: On modern high-end displays 200 ppem becomes a normal half-inch title size, with the quantum of stem width of 200/2048 = 6/64 of a pixel. This is still a hardly noticeable quantum of brightness.
|
Alexei Podtelezhnikov <podtelez> |
Thu 01 Nov 2018 05:10:27 PM UTC, comment #7: I mean, that's one way to address the issue. |
Behdad Esfahbod <behdad> |
Thu 01 Nov 2018 05:09:40 PM UTC, comment #6:
|
Behdad Esfahbod <behdad> |
Thu 01 Nov 2018 05:06:37 PM UTC, comment #5: Behdad, I still do not follow, sorry.
|
Alexei Podtelezhnikov <podtelez> |
Thu 01 Nov 2018 05:51:20 AM UTC, comment #4: My request is simple.
|
Behdad Esfahbod <behdad> |
Thu 01 Nov 2018 04:18:59 AM UTC, comment #3: I was just inviting you to explain the bug better...
|
Alexei Podtelezhnikov <podtelez> |
Thu 01 Nov 2018 02:18:15 AM UTC, comment #2: Link, or summary, or something? |
Behdad Esfahbod <behdad> |
Thu 01 Nov 2018 02:06:17 AM UTC, comment #1: I do not know what exactly you are complaining about but I committed some optimizations, which might help. |
Alexei Podtelezhnikov <podtelez> |
Wed 25 Jul 2018 04:20:01 AM UTC, original submission:
By limiting interpolation output to whole FUnits, we are basically limiting the stem-width to whole FUnits. When you think about the kind of hairline fonts people are designing with varfonts now, and rendered at high-DPI, or large sizes that such hairlines will be useful, I think supporting fractional stem widths is worthwhile. |
Behdad Esfahbod <behdad> |
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 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-05-11 | wl | Status | None | Fixed | |
Assigned to | None | wl | |||
Open/Closed | Open | Closed | |||
Planned Release | None | 2.10.1 | |||
2019-04-24 | podtelez | Attached File | - | Added interpolate_after_scale.diff, #46824 |
Powered by Savane 3.13-758e.
Corresponding source code
Thanks Werner, I've retested this (with your help re disabling hinting by pressing 'h') in ftmulti with the internal repro font and I can confirm this is working, I see much increased interpolation precision. Thanks for the fix. We will roll FreeType into Chromium.