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 1 year 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

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!

welcome[bot] avatar Aug 30 '24 06:08 welcome[bot]

Hi @andswitch ! I want to contribute on this issue. Please assign me.

mahi6299 avatar Nov 22 '24 14:11 mahi6299