Post Reply 
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.

The focus of this release is on new commands, notably for matrix and vector operations. This release also ships with a DM48X-specific keymap, which fixes a problem with teh file selector on the DM32. The equation library has been extended with numerous equations, but they are not fully validated yet.

- con, idn and ranm matrix generation commands
- Array→ and →Array commands to convert array to/from stack
- dot product and cross product commands for vectors
- DispXY styled text rendering command
- DupDup command duplicating top item twice
- Add a large number of equations to equation library

Thank you for sharing DB-48X Christophe! I have already downloaded iPadOS version and it's great!

Is it possible to change the font on the DB-40X free app?

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

.bmp  C43.bmp (Size: 11.13 KB / Downloads: 12)

HP48 font

.bmp  HP48.bmp (Size: 10.83 KB / Downloads: 10)

A fancy font called Trattatello (I did not even show the menus, which are ugly)

.bmp  Trattatello.bmp (Size: 10.88 KB / Downloads: 8)

Rockwell, a rounded serif font, which might be turned into something usable

.bmp  Rockwell.bmp (Size: 11.23 KB / Downloads: 10)

Yanone Kafeesatz, a font that has problems at small sizes.

.bmp  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! Smile

Getting feedback from users is the best way to feel like this is useful.

⚙️,?,?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DB48X v0.4.8 is out - c3d - 10-22-2023, 11:31 PM
Release v0.5.0: Statistics and flags - c3d - 11-20-2023, 08:57 AM
v0.6.5: Minor bug fixes - c3d - 02-11-2024, 11:23 PM
Release 0.7.1 "Whip" - Bug fixes - c3d - 03-04-2024, 12:46 AM
DB48X v0.7.4 release is out - c3d - 04-14-2024, 03:05 PM
DB48X v0.7.6: Solving menu - c3d - 05-13-2024, 12:04 AM
DB48X v0.7.7: Units in solver - c3d - 06-02-2024, 11:36 PM
v0.7.10 - Interactive stack - c3d - 07-14-2024, 11:31 PM
DB48X v0.7.13 is out - c3d - 08-05-2024, 07:31 AM
DB48X v0.7.15 - c3d - 08-25-2024, 08:45 PM
DB48X v0.7.16 - c3d - 09-02-2024, 01:36 AM
RE: DB48X: HP48-like RPL implementation for DM42 - c3d - 09-12-2024 07:03 PM
DOSUBS command - grbrum - 09-04-2024, 03:37 PM
v0.7.18 - APPLY, SUBST, WHERE - c3d - 09-15-2024, 11:58 PM
Program Editing Question - spiff72 - 09-16-2024, 03:27 PM



User(s) browsing this thread: 15 Guest(s)