p5.js icon indicating copy to clipboard operation
p5.js copied to clipboard

Mobile: text near horizontal canvas edges is not displayed

Open andswitch opened this issue 5 months ago • 1 comments

Most appropriate sub-area of p5.js?

  • [ ] Accessibility
  • [ ] Color
  • [ ] Core/Environment/Rendering
  • [ ] Data
  • [ ] DOM
  • [ ] Events
  • [ ] Image
  • [ ] IO
  • [ ] Math
  • [X] Typography
  • [ ] Utilities
  • [X] WebGL
  • [ ] Build process
  • [ ] Unit testing
  • [ ] Internationalization
  • [ ] Friendly errors
  • [ ] Other (specify if possible)

p5.js version

v1.10.0

Web browser and version

Firefox 129.0.2

Operating system

Android 14

Steps to reproduce this

See: https://editor.p5js.org/andswitch/full/AG2VAULBB

On desktop all 6 words are displayed. On mobile only "OR" and "NOT" are displayed.

As a workaround you can render text in the center of a framebuffer and then render the framebuffer on the canvas.

andswitch avatar Aug 30 '24 06:08 andswitch