Skip to content

Addition to reference page for loadFont() #3283

Closed
@fergfluff

Description

@fergfluff

Nature of issue?

  • Found a bug
  • [ x] Existing feature enhancement
  • New feature request

Most appropriate sub-area of p5.js?

  • Color
  • Core/Environment/Rendering
  • Data
  • Events
  • Image
  • IO
  • Math
  • [x ] Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

Which platform were you using when you encountered this?

  • Mobile/Tablet (touch devices)
  • Desktop/Laptop
  • Others (specify if possible)

Details about the bug:

  • p5.js version:
  • Web browser and version:
  • Operating System:
  • Steps to reproduce this:

Feature enhancement details:

Hello!

I'm suggesting an addition to the loadFont() reference page's explanation text.

The opening paragraph should say that if you are using your own font file, to upload that font file to the p5 online editor. Otherwise the example code below will not run, since it can't reference the actual file.

Right now it doesn't mention this. An undergrad student (in Dan Shiffman's online Code! class that I'm TAing) wasn't able to get her font to work because she used the example code but didn't know to upload her own font.

Dan suggested putting an issue here in the p5 library because that's where the reference content is found.

I will attempt to make this content change to the p5 source code. Thanks to Dan who showed me how to do this!

Best,
Elizabeth

New feature details:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions