Title: net.sf.j2s.java.core generated canvas seems not considering windowPixelRatio · Issue #284 · BobHanson/java2script · GitHub
Open Graph Title: net.sf.j2s.java.core generated canvas seems not considering windowPixelRatio · Issue #284 · BobHanson/java2script
X Title: net.sf.j2s.java.core generated canvas seems not considering windowPixelRatio · Issue #284 · BobHanson/java2script
Description: I have a bit of code in JSGraphics2D to handle this, but it may not be enough. There have been no reports that I know of regarding this.
Open Graph Description: I have a bit of code in JSGraphics2D to handle this, but it may not be enough. There have been no reports that I know of regarding this.
X Description: I have a bit of code in JSGraphics2D to handle this, but it may not be enough. There have been no reports that I know of regarding this.
Opengraph URL: https://github.com/BobHanson/java2script/issues/284
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"net.sf.j2s.java.core generated canvas seems not considering windowPixelRatio","articleBody":"I have a bit of code in [JSGraphics2D](https://github.com/BobHanson/java2script/blob/498a740761380191658cf127ed77be145de0bad3/sources/net.sf.j2s.java.core/src/swingjs/JSGraphics2D.java#L104) to handle this, but it may not be enough. \n\nThere have been no reports that I know of regarding this. \n\n\n","author":{"url":"https://github.com/BobHanson","@type":"Person","name":"BobHanson"},"datePublished":"2025-04-29T13:45:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/284/java2script/issues/284"}
| 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:e3e1ce11-0ae9-8ac7-67fd-07becaa6a98d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B588:24B668:B03562:ECB750:69698318 |
| html-safe-nonce | 0739fea3964a09df2d6a926af7cb87e6e7c0ceec7965454c1185ea1ad53d6123 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTg4OjI0QjY2ODpCMDM1NjI6RUNCNzUwOjY5Njk4MzE4IiwidmlzaXRvcl9pZCI6IjE3NTM1MjM3NTAxNTg1NjYxNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d97c384b30a5adef6ae5049a3ee50490ca5e85b70c12139750a5035e934ae719 |
| hovercard-subject-tag | issue:3028421939 |
| 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/BobHanson/java2script/284/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cbb54c9c680308f04cb9eb41700aa9e34eb681137ec49807655e32710585db7a/BobHanson/java2script/issues/284 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cbb54c9c680308f04cb9eb41700aa9e34eb681137ec49807655e32710585db7a/BobHanson/java2script/issues/284 |
| og:image:alt | I have a bit of code in JSGraphics2D to handle this, but it may not be enough. There have been no reports that I know of regarding this. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BobHanson |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| turbo-cache-control | no-preview |
| go-import | github.com/BobHanson/java2script git https://github.com/BobHanson/java2script.git |
| octolytics-dimension-user_id | 17748315 |
| octolytics-dimension-user_login | BobHanson |
| octolytics-dimension-repository_id | 93647660 |
| octolytics-dimension-repository_nwo | BobHanson/java2script |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 32129080 |
| octolytics-dimension-repository_parent_nwo | java2script/java2script |
| octolytics-dimension-repository_network_root_id | 32129080 |
| octolytics-dimension-repository_network_root_nwo | java2script/java2script |
| 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 | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width