I released an update for my PSF2 font editor! I completely reworked the actual editor part with ncurses. The most difficult part was that this was my first time using ncurses in a real project (I played a little bit around with it some years ago, but not much). I know that it might not look that good depending on your terminal theme, but I do not have the time to implement a custom theming system. But I am proud that it worked in the end, it also has mouse support!
I have released the new version!
There are some changes:
, and . instead of space so that it is possible to choose which marker you want to placeLog in to leave a comment
The new editor is almost ready! What has changed:
Log in to leave a comment
I have implemented the editor! It is a much better editing experience, but I will try to polish it more. I also have to prepare it for larger fonts. Ncurses still confuses me sometimes, for example the menu seems to be always exactly 16 lines high (I did not realize it before because I had less items in the menu). Now I made the menu’s window 17 lines high, so that it looks consistent.
Log in to leave a comment
I have released the announced v1.0.2, I hope it is more usable now. The first screenshot shows the new UI. I have also been working on the new editor. I added an overview, which is like the viewer, but you can toggle it with o and move around, which should be great for small screens + high resolution fonts.
But I have big difficulties with ncurses: While it works perfectly fine on Arch, it produces garbage output when compiled on my Debian machine.
My Plan is now to improve the overview by adding a second zoom level and to fix it on Debian
Log in to leave a comment
It is my first devlog since I shipped this project! I have read the feedback: A more usable editor is on its way! Sadly, it does not have a GUI, but at least a TUI built with ncurses. It is my first time building something with ncurses (apart from some failed tries, some time ago) so it is difficult. I had to rewrite the new editor multiple times, but now I have a basic plan how it should work.
So this are my changes:
If everything goes well, I will release the new editor in v1.1.0 before flavortown ends, but I might address some smaller feedback in a v1.0.2 release.
Log in to leave a comment
I am shipping my first project, a PSF2 editor! It doesn’t have many features or the most beautiful UI, but it is simple if you just want to view glyphs, show information about a font or create your own one. It was difficult because I have not created similar software before, but I think the result is relatively bug-free and usable.
I have prepared the first release:
--version: prints the versionLog in to leave a comment
--help : finally, I added a help option! --create : creates new font files, also useful for debuggingLog in to leave a comment
I have reworked the access to glyphs by using UTF-8 strings instead of UTF-16 codes, so I do not have to do any conversion. This is possible by using a map to look up the glyph pointers corresponding to a UTF-8 string.
Visible improvements are:
Log in to leave a comment
Just a few improvements:
Log in to leave a comment
Today I did some polishing on the editor by adding new commands for
Log in to leave a comment
I have done many usability improvements:
Log in to leave a comment
Today I improved the maintainability by using a custom type for glyphs instead of vector<vector<bool>> . I also added completion with the help of readline.
Log in to leave a comment
Improvements:
Log in to leave a comment
Today I added support for PSF files with unicode tables. It turned out to be more difficult than I thought, because the osdev wiki article is written for C and kernel development, but now I have a (hopefully) working implementation. I am not sure if I tested all cases, because I am not used to working with character encodings, so I will probably continue learning more about that topic.
Log in to leave a comment
Today I added the editing mode, so I can actually call it an editor.
I hope it works more or less intuitive. You can edit the character line by line, like shown in the screenshot.
You edit the line by entering “x” to set a bit or anything else to unset it. The equal signs can help, as they are inverted if the bit is set.
Now I will try to focus on polishing the user experience.
Log in to leave a comment
I have been working on some minor improvements with the viewer, like increasing the pixel size to two characters and using · for making pixels more distinguishable from the terminal background.
I also got rid of the segmentation fault that occurred when trying to read a character not included in the font file.
Finally, I also started working on the editor.
Log in to leave a comment
I have started this as my first public project ever, so please be kind :-)
In the end, this will be a (hopefully)working PSF file editor, but I still have a long way to go…
Until now I have implemented:
h for help and s for showing glyphss command)Log in to leave a comment