13 May 2024 |
sirhcel | Does not look like this is trivially possible with just modifying the font struct fields. character_size defines the source rect for copying glyph data from the bitmap and gets applied consecutively and character_spacing gets added between the glyphs when rendering. | 14:55:11 |
sirhcel | To me it looks like the actual font rendering for MonoFont would need some tweaking in your case. Do you know profonts debugger tool? It's a great help when playing around on a desktop system. You could invoke it as
profont/tools $ cargo run --bin profont debugger
| 14:57:26 |
sirhcel | * To me it looks like the actual font rendering for MonoFont would need some tweaking in your case. Do you know profonts debugger tool? It's a great help when playing around with these things on a desktop system. You could invoke it as
profont/tools $ cargo run --bin profont debugger
| 14:57:43 |
Alexandros Liarokapis | Download video-c3e2ec14dc43998dd8d225a03df4d9ed-V.mp4 | 17:53:50 |
Alexandros Liarokapis | Just wanted to get the bounding boxes right for this :P | 17:54:20 |
Alexandros Liarokapis | Thanks for the suggestion though! | 17:54:31 |
sirhcel | Now i see. This looks awesome! Is the whole ui seem in the window rendered with embedded graphics? | 18:48:01 |
Alexandros Liarokapis | No, main UI is based on the Juce c++ framework for VSTs | 19:02:14 |
Alexandros Liarokapis | I use rust bindings to bridge the main engine | 19:02:42 |
Alexandros Liarokapis | Also acts as an emulator for the hardware, the small display will be the part actually handled by embedded graphics. | 19:03:41 |
16 May 2024 |
| @greengenie:matrix.org left the room. | 21:33:28 |
17 May 2024 |
| jo_we joined the room. | 15:12:16 |
21 May 2024 |
jo_we | Hey there, id like to load a custom font into embedded-graphics. I've found that i can just create a mono_font::MonoFont for that, though what format is the raw file embedded-graphics uses? I cant seem to open it with a classical raw viewer? | 08:29:56 |
James Munns | iirc it is a plain binary bitmap, https://github.com/wezm/profont might be useful to look at as an example | 08:47:27 |
James Munns | I think they also have some debug tooling you can poke around to see how it is done | 08:47:57 |
jo_we | oooh yea they have tooling for conversions. thats super cool, how did i miss this? thanks, I'll fiddle around with it! | 08:48:33 |
wezm | Note that some of my tooling only works for OpenType fonts with embedded bitmaps, it won’t work for scalable fonts (which is most of them) without hooking up a rasteriser. | 10:06:03 |
22 May 2024 |
jo_we | Thanks for your help! i managed to get my fonts in a while ago!
Ive got another question: is there a way using embedded-graphics to invert a section of my drawtarget? | 13:04:48 |
jo_we | * Thanks for your help! i managed to get my fonts in a while ago!
Ive got another question: is there a way using embedded-graphics to invert colors in a section of my drawtarget? | 13:05:01 |
24 May 2024 |
almindor | mipidsi v0.8.0 is out :) | 20:29:54 |
almindor | * mipidsi v0.8.0 is out with e-h 1.0 support | 20:30:01 |
28 May 2024 |
| Victor Osedahunsi joined the room. | 02:50:44 |
29 May 2024 |
Alexander van Saase | Has anyone tried to use the epd-waveshare driver with WeAct displays from AliExpress? I have the 2.9 inch version and it looks like I'm able to control it but the colors are inverted. I not sure if this a bug, the driver is not compatible or if I'm doing something wrong. | 19:07:08 |
1 Jun 2024 |
| Michael joined the room. | 19:08:46 |
4 Jun 2024 |
| Hans Larsen joined the room. | 20:17:10 |
Hans Larsen | Hey. Just found this matrix room. I have a PR that's been inactive for close to a year but is still passing and it still works; https://github.com/embedded-graphics/simulator/pull/48
Who should I talk to to get this moving forward? | 20:18:09 |
Hans Larsen | I really think this PR would be very useful, and it's backward compatible. | 20:18:27 |
5 Jun 2024 |
almindor | In reply to @hans_l:matrix.org I really think this PR would be very useful, and it's backward compatible. Apart from the
if window_id != window_id {
return None;
}
I think it's ok :)
| 15:45:33 |
Hans Larsen | In reply to @almindor:matrix.org
Apart from the
if window_id != window_id {
return None;
}
I think it's ok :)
PTAL. | 17:03:46 |
almindor | LGTM, I don't have the rights tho | 17:14:36 |