Skip to content

loadFont("data/fontfile.vlw") crashes in executable but not in Processing (Mac) #1110

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

Open
antoineschmitt opened this issue May 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@antoineschmitt
Copy link

antoineschmitt commented May 18, 2025

If one mistakenly calls loadFont("data/Avenir-Light-48.vlw"), instead of loadFont("Avenir-Light-48.vlw"), the call with "data":

  • works in Processing
  • crashes in an exported executable

This is Processing4.3, MacOS 15.4.1. Crashes on both x86 and aarch.

To test, create a font using Tools->Generate Font, then:

PFont font;

void setup() {
  fullScreen(P2D);
  frameRate(60);
  font = loadFont("data/Avenir-Light-48.vlw");
}

void draw() {
}
@SableRaf SableRaf transferred this issue from processing/processing May 18, 2025
@SableRaf
Copy link
Collaborator

Hi @antoineschmitt. I was able to reproduce this bug in Processing 4.4.3. Thanks for your report. We will investigate the issue.

@SableRaf SableRaf added the bug Something isn't working label May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants