Commit graph

12 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
f5ee6d0e51 Update wgpu_glyph and glyph_brush 2020-05-25 21:49:16 +02:00
Lain-dono
b23945c78a
Change &mut wgpu::Device to &wgpu::Device (#299)
* Change `&mut wgpu::Device` to `&wgpu::Device`

* Fix for rustfmt
2020-04-16 08:06:05 +02:00
Héctor Ramón Jiménez
be14aca075 Make output format of iced_wgpu configurable 2020-02-24 20:08:40 +01:00
Héctor Ramón Jiménez
d96ced8e2d Allow configuration of default font 2020-01-01 17:49:48 +01:00
Héctor Ramón Jiménez
0d7e236039 Resize text measure cache to avoid panic
This should not be really necessary, as we are not really drawing
anything with the measure brush... But we are using `glyph_brush`
in an unconventional way, so that may be the cause. We need to redesign
`wgpu_glyph` or come up with an alternative.
2019-12-18 23:14:54 +01:00
Héctor Ramón Jiménez
80a8a57471 Stop loading a mono font just for the debug view 2019-11-26 15:33:38 +01:00
Héctor Ramón Jiménez
a99aa1dd61 Fallback to embedded font when system font fails 2019-11-26 15:32:11 +01:00
Héctor Ramón Jiménez
6a0e442ad6 Write docs for iced_wgpu 2019-11-22 22:14:24 +01:00
Héctor Ramón Jiménez
2c8ba652a7 Draw proper checkmark for Checkbox in iced_wgpu 2019-11-14 03:34:41 +01:00
Héctor Ramón Jiménez
00479d8bcd Fix text bounds in iced_wgpu on nonintegral DPI 2019-11-14 03:00:57 +01:00
Héctor Ramón Jiménez
6857829dc3 Draft Font type and implement Text::font 2019-11-13 07:22:21 +01:00
Héctor Ramón Jiménez
f0b1e65ba4 Move text logic in iced_wgpu to a text module 2019-11-13 03:54:36 +01:00