azul icon indicating copy to clipboard operation
azul copied to clipboard

Text Shaping Example Issues

Open ForLoveOfCats opened this issue 6 years ago • 1 comments
trafficstars

Description

The text_shaping example has very strange layout and text render issues. The initial render seems ok but on any sort of redraw trigger it falls apart. Further, even when the layout is decent many unicode characters are rendered incorrectly however that is probably just an issue with whatever font Azul is falling back to.

Version / OS

  • azul version: master https://github.com/maps4print/azul/commit/8d3ce24d91d75588379c67b9a0176919f22799f7

  • Operating system: Manjaro Linux

  • Windowing system (X11 or Wayland, Linux only): xorg 1.20.4-1

Steps to Reproduce

Clone Azul repo Run cargo run --example text_shaping

Additional Information

Initial layout and appearance image

Layout after resizing or mouseover image

ForLoveOfCats avatar Apr 08 '19 20:04 ForLoveOfCats

The initial layout is wrong, the second screen is what you should actually see. This doesn't happen in release mode, I think, it only happens with hot-reloading, so I'm putting this as a low priority bug.

fschutt avatar Apr 09 '19 12:04 fschutt