All notable changes to the epaint crate will be documented in this file.
- Much improved font selection (#1154):
- Replaced
TextStyle
withFontId
which lets you pick any font size and font family. - Replaced
Fonts::font_image
withfont_image_delta
for partial font atlas updates.
- Replaced
- Added
ImageData
andTextureManager
for loading images into textures (#1110). - Added
Shape::dashed_line_many
(#1027). - Replaced
corner_radius: f32
withrounding: Rounding
, allowing per-corner rounding settings (#1206).
Fonts::layout_job
: New text layout engine allowing mixing fonts, colors and styles, with underlining and strikethrough.- New
CircleShape
,PathShape
,RectShape
andTextShape
used inenum Shape
. - Added support for rotated text (see
TextShape
). - Added
"convert_bytemuck"
feature.