Parameters are different: https://beta.p5js.org/reference/p5.font/texttopoints/ vs https://p5js.org/reference/p5.Font/textToPoints/
In 2.x, size is not passed ass a parameter to textToPoints. 1.x sketches using textToPoints would need to be updated to set the size before texttopoints is called; plus using async/await without preload.
This is currently missing from both the changelog on the README, and the side by side examples
Parameters are different: https://beta.p5js.org/reference/p5.font/texttopoints/ vs https://p5js.org/reference/p5.Font/textToPoints/
In 2.x, size is not passed ass a parameter to textToPoints. 1.x sketches using textToPoints would need to be updated to set the size before texttopoints is called; plus using async/await without preload.
This is currently missing from both the changelog on the README, and the side by side examples