Skip to content

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

Open
@antoineschmitt

Description

@antoineschmitt

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() {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions