Skip to content

[p5.js 2.0 Beta Bug Report]: Google Font not loading #7733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 17 tasks
quinton-ashley opened this issue Apr 13, 2025 · 1 comment
Closed
1 of 17 tasks

[p5.js 2.0 Beta Bug Report]: Google Font not loading #7733

quinton-ashley opened this issue Apr 13, 2025 · 1 comment

Comments

@quinton-ashley
Copy link
Contributor

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

[email protected]

Web browser and version

Chrome 135.0.7049.42

Operating system

macOS

Steps to reproduce this

async function setup() {
	createCanvas(200, 74);

	await loadFont('fonts.googleapis.com/css2?family=Pacifico');

	fill('hotpink');
	textSize(68);
	text('Hello!', 2, 68);
}
Image
@davepagurek
Copy link
Contributor

While broken on beta 7, this one seems good on the latest dev-2.0 build: https://editor.p5js.org/davepagurek/sketches/aBrTYLT8d

I'm going to mark this as closed for now, but we definitely have some google fonts that don't load that we're tracking in #7486, so feel free to comment there if you find more, it'll help us identify any patterns between the failing ones!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants