Skip to content

fix: correct textToContours and textToModel reference documentation (#8623)#8626

Open
gourijain029-del wants to merge 1 commit intoprocessing:dev-2.0from
gourijain029-del:fix-issue-8623-textToContours-textToModel
Open

fix: correct textToContours and textToModel reference documentation (#8623)#8626
gourijain029-del wants to merge 1 commit intoprocessing:dev-2.0from
gourijain029-del:fix-issue-8623-textToContours-textToModel

Conversation

@gourijain029-del
Copy link

This PR addresses issue #8623 by correcting documentation errors in the 2.0 Typography methods.

Changes made:

  • In src/type/p5.Font.js: Updated the reference docs for textToContours() to properly refer to font.textToContours() instead of font.textToPoints() in its description.
  • Documented the extrude and sampleFactor options within the main description text block of textToModel() so that they are correctly parsed and listed on the generated p5.js Reference page.

No breaking changes or logic changes were made. All tests pass locally.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant