DB48X: HP48-like RPL implementation for DM42
|
09-12-2024, 07:03 PM
Post: #293
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(09-12-2024 04:50 AM)JeanMichelFleur Wrote:(09-02-2024 01:36 AM)c3d Wrote: Release v0.7.16 has just been published. It should be possible, yes, in the same way as on the DB-50X app. Go to DISP (SHIFT-O), then UI (SHIFT-SHIFT-F5), then enter a value on the stack (e.g. 0, 1, 2) and select Result (Shift-F2). Result sets the font for the first level of the stack, Stack for the other levels, Edit for the text editor, MLEd for the multi-line text editor. Just tested it, Works For Me™. There are a few alternate fonts (font number above 3) but only fonts 0-3 support the whole Unicode character set, so some text may look funny or miss some glyphs with font 4 and above. The reason is that the other fonts were designed for the DM42, which does not support as many characters. At some point, I will probably make it possible to load fonts dynamically from disk, so that you can customize the look like on recent HP calculators. But it's a relatively low-priority feature. If there are fonts you would like me to consider, please open an issue on GitHub. The constraints are: - The font needs to have a license that allows me to use and distribute it (notably because I have to be able to extend it with RPL-specific glyphs) - It needs to look good with automated variations (e.g. auto-italics and auto-bold) and at very small sizes (for the menus). - It needs "good enough" Unicode support (at least all of European characters, plus basic maths and a few special glyphs). If you found a font you like, you can convert it with the ttf2font that is part of the project. You simply need to rebuild the project after changing that line. But please realize that getting good results is not obvious. Here are a few tests with various fonts: C43 font C43.bmp (Size: 11.13 KB / Downloads: 12) HP48 font HP48.bmp (Size: 10.83 KB / Downloads: 10) A fancy font called Trattatello (I did not even show the menus, which are ugly) Trattatello.bmp (Size: 10.88 KB / Downloads: 8) Rockwell, a rounded serif font, which might be turned into something usable Rockwell.bmp (Size: 11.23 KB / Downloads: 10) Yanone Kafeesatz, a font that has problems at small sizes. Yanone Kafeesatz.bmp (Size: 10.98 KB / Downloads: 9) Quote:Should I need to buy the DB-50X app to be able to do that? No. The difference is that DB-48X and DB-50X will let you save the state, including your font preferences or stack contents. Quote:Thank you again and keep up the good job! Getting feedback from users is the best way to feel like this is useful. ⚙️,?,? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 15 Guest(s)