Title: textAscent() rendering issue post-changes in Processing 4.3 · Issue #21 · processing/processing-examples · GitHub
Open Graph Title: textAscent() rendering issue post-changes in Processing 4.3 · Issue #21 · processing/processing-examples
X Title: textAscent() rendering issue post-changes in Processing 4.3 · Issue #21 · processing/processing-examples
Description: Description After the processing/processing4@c57069f update to use calculated text height instead of OS ascent for vertical centering, the textAscent() example seems to be broken in Processing 4.3. The function no longer aligns correctly...
Open Graph Description: Description After the processing/processing4@c57069f update to use calculated text height instead of OS ascent for vertical centering, the textAscent() example seems to be broken in Processing 4.3....
X Description: Description After the processing/processing4@c57069f update to use calculated text height instead of OS ascent for vertical centering, the textAscent() example seems to be broken in Processing 4.3....
Opengraph URL: https://github.com/processing/processing-examples/issues/21
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"textAscent() rendering issue post-changes in Processing 4.3","articleBody":"## Description\r\nAfter the https://github.com/processing/processing4/commit/c57069fdca888e614bf52caa4cb7999277ae32e0 update to use calculated text height instead of OS ascent for vertical centering, the `textAscent()` example seems to be broken in Processing 4.3. The function no longer aligns correctly with the top of the letter 'd' as described in the official documentation.\r\n\r\n## Expected Behavior\r\nThe horizontal line generated from the `textAscent()` example should align with the top of the letter 'd' as shown in the documentation: https://processing.org/reference/textAscent_.html.\r\n\r\n## Current Behavior\r\nIn Processing 4.3, the horizontal line is rendered below the top of the letter 'd'. \r\nIn Processing 4.2, the line was above the top of the letter 'd'. \r\nNeither version aligns with the official documentation.\r\n\r\n## Steps to Reproduce\r\n1. Run the provided [`textAscent()`](https://processing.org/reference/textAscent_.html) example code in both Processing 4.2 and 4.3.\r\n2. Observe the misalignment of the horizontal line with the letter 'd'.\r\n3. Compare the output with the expected outcome from the documentation.\r\n\r\n## Your Environment\r\n* Processing version: 4.3\r\n* Operating System and OS version: MacOS 13.4 (22F66)\r\n* Other information: Apple Silicon (M1)\r\n\r\n## Screenshots\r\n\r\n### Expected outcome (from [textAscent() documentation](https://processing.org/reference/textAscent_.html))\r\n\r\n\r\n### textAscent() example on Processing 4.2\r\n\r\n\r\n### textAscent() example on Processing 4.3\r\n\r\n","author":{"url":"https://github.com/SableRaf","@type":"Person","name":"SableRaf"},"datePublished":"2023-08-03T08:20:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/21/processing-examples/issues/21"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c856d1e8-9716-2938-78e5-6a38ebde97df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A38:3CD5B7:16CF3B7:1FECDCD:6970D611 |
| html-safe-nonce | 08620fde9d770b81a80f7205c5fd9f2017d6cd08ebfec9c00af607f8acc14ceb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTM4OjNDRDVCNzoxNkNGM0I3OjFGRUNEQ0Q6Njk3MEQ2MTEiLCJ2aXNpdG9yX2lkIjoiODc4MjE0NTExNzY4MzI0MjUxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f3a9ee340b1c91308c6e311d3f76f76d5bc6b116d9d7a49bee69605d6324587c |
| hovercard-subject-tag | issue:1834565579 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing-examples/21/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3e31cd26023f62d8954bd1e80b24a8f3b5eca0fcf7ec9e5b96a4061f80b09227/processing/processing-examples/issues/21 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3e31cd26023f62d8954bd1e80b24a8f3b5eca0fcf7ec9e5b96a4061f80b09227/processing/processing-examples/issues/21 |
| og:image:alt | Description After the processing/processing4@c57069f update to use calculated text height instead of OS ascent for vertical centering, the textAscent() example seems to be broken in Processing 4.3.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SableRaf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 034aaee9edccd455c18591b13122193c6e12dc773e8a203be73abe934f3e3a72 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing-examples git https://github.com/processing/processing-examples.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 394096315 |
| octolytics-dimension-repository_nwo | processing/processing-examples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 394096315 |
| octolytics-dimension-repository_network_root_nwo | processing/processing-examples |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 52d1d534d0b88c64972e852deb460d09b433b8b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width