René's URL Explorer Experiment


Title: Raster Graphics TextMeasure for SVG · Issue #2407 · CoderLine/alphaTab · GitHub

Open Graph Title: Raster Graphics TextMeasure for SVG · Issue #2407 · CoderLine/alphaTab

X Title: Raster Graphics TextMeasure for SVG · Issue #2407 · CoderLine/alphaTab

Description: The SVG rendering currently uses a rather hacky text measurement engine where we pre-compute certain character sizes and then sum them up. for bold and italic we just add a factor. This is error prone and often imprecise. To eliminate th...

Open Graph Description: The SVG rendering currently uses a rather hacky text measurement engine where we pre-compute certain character sizes and then sum them up. for bold and italic we just add a factor. This is error pr...

X Description: The SVG rendering currently uses a rather hacky text measurement engine where we pre-compute certain character sizes and then sum them up. for bold and italic we just add a factor. This is error pr...

Opengraph URL: https://github.com/CoderLine/alphaTab/issues/2407

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Raster Graphics TextMeasure for SVG","articleBody":"The SVG rendering currently uses a rather hacky text measurement engine where we pre-compute certain character sizes and then sum them up. for bold and italic we just add a factor. \n\nThis is error prone and often imprecise. \n\nTo eliminate this problem we should implement a new text-renderer for all platforms. \n\n## C#/Kotlin \nFor C# and Kotlin it's fairly easy: We simply use alphaSkia. Any potential custom-fonts should be registered there already. \n\n## JS Node\nSame as for C#/Kotlin we can rely on alphaSkia. \n\n## JS Browser\n\nHere it gets tricky. In Web Workers we do not have access to the web fonts loaded so we need to find something different:\n\n1. The general idea is to use a OffScreenCanvas and load all fonts into the worker context using the font loading APIs. \n2. To pass the web fonts to the worker context we do the following: \n    1. We allow users to explicitly specify the font sources. If users specify the location we can pass the metadata to the worker and load the fonts there. The config would be similar to how we have it for the SMuFl Fonts. For one font, we might have multiple sources. \n       1. We should align the options to the properties available for `FontFace` definitions ([family, style, weight, src, unicode-range](https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace)). As this feature is web-only we can use the web type definitions directly.\n    3. If no font source is specified, we try to auto-detect it. Unfortunately `FontFace` does not give us access to the original source.        \n        1. `Array.from(document.styleSheets).flatMap(y =\u003e Array.from(y.rules).filter(z =\u003e z instanceof CSSFontFaceRule))` gives us access to all custom web font definitions. \n        2. For every font needed in the rendering, we lookup the matching CSS font rules (matching can be rather loose, better have more fonts than less). \n        3. We fill the remaining font definitions. \n\n ","author":{"url":"https://github.com/Danielku15","@type":"Person","name":"Danielku15"},"datePublished":"2025-12-04T19:04:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2407/alphaTab/issues/2407"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8d37292a-a3d1-74b0-cd5a-8ba129ec9498
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idACBE:1E27CA:3C2DA:4B3AB:69905E9F
html-safe-noncee0dd56836ac647dec4de8ae5ae007ee61bbb16d64f42ae04eff52fa34b139778
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0JFOjFFMjdDQTozQzJEQTo0QjNBQjo2OTkwNUU5RiIsInZpc2l0b3JfaWQiOiI1OTE0NDcwNjAzMTg4ODg3MTk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4354e5c8648da9665073ff4a388b35094d4730d9db3edf9ba41ce3580d806565
hovercard-subject-tagissue:3696077167
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CoderLine/alphaTab/2407/issue_layout
twitter:imagehttps://opengraph.githubassets.com/afdb8e776e27b9ddb7e475f7f0d3a22c281b5054277e82a4d97d95653fdf7944/CoderLine/alphaTab/issues/2407
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/afdb8e776e27b9ddb7e475f7f0d3a22c281b5054277e82a4d97d95653fdf7944/CoderLine/alphaTab/issues/2407
og:image:altThe SVG rendering currently uses a rather hacky text measurement engine where we pre-compute certain character sizes and then sum them up. for bold and italic we just add a factor. This is error pr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDanielku15
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/CoderLine/alphaTab git https://github.com/CoderLine/alphaTab.git
octolytics-dimension-user_id715045
octolytics-dimension-user_loginCoderLine
octolytics-dimension-repository_id1491192
octolytics-dimension-repository_nwoCoderLine/alphaTab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1491192
octolytics-dimension-repository_network_root_nwoCoderLine/alphaTab
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues/2407#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FCoderLine%2FalphaTab%2Fissues%2F2407
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FCoderLine%2FalphaTab%2Fissues%2F2407
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=CoderLine%2FalphaTab
Reloadhttps://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues/2407
Reloadhttps://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues/2407
Reloadhttps://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues/2407
CoderLine https://patch-diff.githubusercontent.com/CoderLine
alphaTabhttps://patch-diff.githubusercontent.com/CoderLine/alphaTab
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FCoderLine%2FalphaTab
Fork 232 https://patch-diff.githubusercontent.com/login?return_to=%2FCoderLine%2FalphaTab
Star 1.6k https://patch-diff.githubusercontent.com/login?return_to=%2FCoderLine%2FalphaTab
Code https://patch-diff.githubusercontent.com/CoderLine/alphaTab
Issues 41 https://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues
Pull requests 0 https://patch-diff.githubusercontent.com/CoderLine/alphaTab/pulls
Discussions https://patch-diff.githubusercontent.com/CoderLine/alphaTab/discussions
Actions https://patch-diff.githubusercontent.com/CoderLine/alphaTab/actions
Projects 2 https://patch-diff.githubusercontent.com/CoderLine/alphaTab/projects
Security 0 https://patch-diff.githubusercontent.com/CoderLine/alphaTab/security
Insights https://patch-diff.githubusercontent.com/CoderLine/alphaTab/pulse
Code https://patch-diff.githubusercontent.com/CoderLine/alphaTab
Issues https://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues
Pull requests https://patch-diff.githubusercontent.com/CoderLine/alphaTab/pulls
Discussions https://patch-diff.githubusercontent.com/CoderLine/alphaTab/discussions
Actions https://patch-diff.githubusercontent.com/CoderLine/alphaTab/actions
Projects https://patch-diff.githubusercontent.com/CoderLine/alphaTab/projects
Security https://patch-diff.githubusercontent.com/CoderLine/alphaTab/security
Insights https://patch-diff.githubusercontent.com/CoderLine/alphaTab/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/CoderLine/alphaTab/issues/2407
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/CoderLine/alphaTab/issues/2407
Featurehttps://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues?q=type:"Feature"
Raster Graphics TextMeasure for SVGhttps://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues/2407#top
https://patch-diff.githubusercontent.com/Danielku15
area-renderingEverything related to the renderinghttps://github.com/CoderLine/alphaTab/issues?q=state%3Aopen%20label%3A%22area-rendering%22
platform-allAffects all platformshttps://github.com/CoderLine/alphaTab/issues?q=state%3Aopen%20label%3A%22platform-all%22
state-acceptedThis is a valid topic to work on.https://github.com/CoderLine/alphaTab/issues?q=state%3Aopen%20label%3A%22state-accepted%22
1.9.0https://github.com/CoderLine/alphaTab/milestone/9
https://github.com/Danielku15
https://github.com/Danielku15
Danielku15https://github.com/Danielku15
on Dec 4, 2025https://github.com/CoderLine/alphaTab/issues/2407#issue-3696077167
family, style, weight, src, unicode-rangehttps://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace
Danielku15https://patch-diff.githubusercontent.com/Danielku15
area-renderingEverything related to the renderinghttps://github.com/CoderLine/alphaTab/issues?q=state%3Aopen%20label%3A%22area-rendering%22
platform-allAffects all platformshttps://github.com/CoderLine/alphaTab/issues?q=state%3Aopen%20label%3A%22platform-all%22
state-acceptedThis is a valid topic to work on.https://github.com/CoderLine/alphaTab/issues?q=state%3Aopen%20label%3A%22state-accepted%22
Featurehttps://patch-diff.githubusercontent.com/CoderLine/alphaTab/issues?q=type:"Feature"
alphaTab 1.4-1.xhttps://github.com/orgs/CoderLine/projects/16
1.9.0No due datehttps://github.com/CoderLine/alphaTab/milestone/9
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.