Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWindows Servo renders reddit text squished #15698
Comments
|
@codec-abc - that looks a lot better. Want to send a PR? If there's a better fix, the reviewers might know, but at least it gets reddit working again. |
|
After more thinking I am quite sure that my changes fix the effect and not the cause. I think the issue is that the lineGap value should be read while parsing the font file but ended at 0 for some not yet understood reason. So maybe it is better to get the opinion of people that know this stuff better than me before sending a PR. (Note that I don't mind sending a PR, it just seem not necessary in this case). |
|
@codec-abc - right. that's why I was thinking a PR would help get the discussion going with a reviewer. It gives them something to look at and go "wait a sec, I think the actual issue is..." |
Fix Windows UI and font squishing <!-- Please describe your changes on the following line: --> This PR: * updates the browserhtml dep (fixes #15255) * updates the Windows font metric calculation (fixes #15698, based on codec-abc #15937 (comment)) * may address #15933. With this PR, I was not able to repro --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because change are to UI/visual results of font drawing <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16034) <!-- Reviewable:end -->
…ndturner:fix_font); r=metajack <!-- Please describe your changes on the following line: --> This PR: * updates the browserhtml dep (fixes servo/servo#15255) * updates the Windows font metric calculation (fixes servo/servo#15698, based on codec-abc servo/servo#15937 (comment)) * may address servo/servo#15933. With this PR, I was not able to repro --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because change are to UI/visual results of font drawing <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: cea1760eb7689d88b18525fac7d53f9a12fdb8a1 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : e9654e401876e04082919212e16f185c2992cdc9
…ndturner:fix_font); r=metajack <!-- Please describe your changes on the following line: --> This PR: * updates the browserhtml dep (fixes servo/servo#15255) * updates the Windows font metric calculation (fixes servo/servo#15698, based on codec-abc servo/servo#15937 (comment)) * may address servo/servo#15933. With this PR, I was not able to repro --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because change are to UI/visual results of font drawing <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: cea1760eb7689d88b18525fac7d53f9a12fdb8a1
…ndturner:fix_font); r=metajack <!-- Please describe your changes on the following line: --> This PR: * updates the browserhtml dep (fixes servo/servo#15255) * updates the Windows font metric calculation (fixes servo/servo#15698, based on codec-abc servo/servo#15937 (comment)) * may address servo/servo#15933. With this PR, I was not able to repro --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because change are to UI/visual results of font drawing <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: cea1760eb7689d88b18525fac7d53f9a12fdb8a1 UltraBlame original commit: fad072f940ccdfb70bb1799bb256841070e0993c
…ndturner:fix_font); r=metajack <!-- Please describe your changes on the following line: --> This PR: * updates the browserhtml dep (fixes servo/servo#15255) * updates the Windows font metric calculation (fixes servo/servo#15698, based on codec-abc servo/servo#15937 (comment)) * may address servo/servo#15933. With this PR, I was not able to repro --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because change are to UI/visual results of font drawing <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: cea1760eb7689d88b18525fac7d53f9a12fdb8a1 UltraBlame original commit: fad072f940ccdfb70bb1799bb256841070e0993c
…ndturner:fix_font); r=metajack <!-- Please describe your changes on the following line: --> This PR: * updates the browserhtml dep (fixes servo/servo#15255) * updates the Windows font metric calculation (fixes servo/servo#15698, based on codec-abc servo/servo#15937 (comment)) * may address servo/servo#15933. With this PR, I was not able to repro --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because change are to UI/visual results of font drawing <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: cea1760eb7689d88b18525fac7d53f9a12fdb8a1 UltraBlame original commit: fad072f940ccdfb70bb1799bb256841070e0993c
As of #15681, the Windows build can now render reddit again (along with some other sites on the showcase that were failing). Yay!
There seems to be an issue rendering reddit with the current master, which displays reddit text like this: