bevy_vello icon indicating copy to clipboard operation
bevy_vello copied to clipboard

Implement scale factor aware rendering

Open RobertBrewitz opened this issue 6 months ago • 0 comments

Vello rendering is not DPI or scale factor aware at this time, e.g. on retina displays, most if not all "renderables" will appear smaller than they should be.

Referece material for implementation:

  • https://github.com/linebender/bevy_vello/blob/14375fcbe6317cfd8164ad20fd856d3746fcc477/src/renderer/extract.rs#L112
  • https://github.com/bevyengine/bevy/blob/3cefe82aff8ddb018db13b86e514da451a88319f/crates/bevy_render/src/camera/camera.rs#L890
  • https://github.com/bevyengine/bevy/blob/3cefe82aff8ddb018db13b86e514da451a88319f/crates/bevy_render/src/camera/camera.rs#L950

RobertBrewitz avatar Jun 24 '25 04:06 RobertBrewitz