This is getting out of hand in the feature creep department.

Keep up the good work 🙂
Wooo.

Picture of progress


The tool can now scan the filesystem for fonts in three groups and install a localization hook to them: (Protected) programs, appvars, and either of the two above within groups.

It does exactly what it's supposed to do. Let me know if things break.

TODO:

* Make a lot of example fonts and pack them all up.
* Maybe include a packager for this? Or maybe expect users to do that on-calc.
* Update the readme
* Maybe add some sort of help section in-program?
* More feature creep. An editor of sorts. Should be easy enough? It's almost trivial to rebuild the files as long as I can import the binaries for the active hook code and self-installer. It'll probably also make the menu code I yanked from Project Starfury worth the space it took in terms of more than just looks.


And now i've gotta add a zillion fonts, stick them in a group, then distribute that. It'll be awesome. Maybe now I can work on the feature creep. Full scale editor ahoy!
Yikes! It's been ten days?
Haha, "Should be easy enough" I tell myself. What a joke. Except I'm not laughing. I'm crying. Over what, I can't tell anymore

Feature creep has hit an all-time high: I wrote a mostly usable font editing tool. There's still a few things that I have left to do with it but I'm going to shelve the project for a while to start on Cemetech Contest #24.

The editor can't replace the font previewer's ability to install hooks from an appvar and from items found in group files, so you'll still need the previewer for those tasks.

A screenshot of the editor being clumsily used


This project has its own repository on github. Most of the instructions are in the program itself. Enjoy if you can
I tried the font editor, and I was with it finally able to get a selfmade font on my calculator!
So I would say it's a good program!
However, I have some points:
-Why don't you see example characters in the small font?
-Why do you have to use 2nd every time instead of enter? in the beginning that was a bit confusing.

I've made some screenshots (Actually the font isn't ready yet, I didn't have the patience to make all characters... But only the most important.., I'll make them later though.)


Oh my God, this looks so cool! Only issue is: You can't modify charas #250-255, somehow. I edited them, but they don't show up when I edit my calc name via CerMaster.
Not sure if you saw this- over on TI-Planet, DJ Omnimaga is using this to create neat sprites for an RPG. I never even considered this to be an option! Here's the relevant post, Google-translated and cleaned up.

DJ Omnimaga wrote:
Here is a preview of a special version of First Fantasy in development, using a custom typeface created in the new Font Hook CE by Iambian to display real sprites:

That's pretty awesome! Especially since you can store multiple font packs per project, there's just about unlimited opportunity for design choices. If the calculator glitches out and doesn't reset the font, it could make the calculator pretty amusing to try and navigate. This could also be a bit of an issue with older programs that rely on the looks of the default font to give the best experience. Nevertheless, I'm really looking forward to this being released!
I'm super excited for this to be done with an editor!
Nice work Iambian! 🙂
Any updates on this?
Heya, I wanna say this is a very neat tool and I like that the font can remain in archive. It's also very easy to detect if the font is installed or not, via Pxl-test() commands. Just a little bug, though: When you alter a big character, it automatically creates a very large small empty version of it, wasting space. When reverting to a default character, it would be nice if it the custom one was just erased instead of overwritten with a copy of the default.
After a bunch of years, someone asked about this project and I've started giving this thing a refresh. At the moment, I've updated the viewer (so that it stopped crashing quite as much. How did the old thing even work?) to build on the current-ish toolchain. The UI is much more busy than before, but maybe that's a good thing? I've also finally merged the feature branch back into master so that I (and probably others) am no longer bamboozled by such a non-working product.

Here's a screenshot of the new UI. There's no menu element anymore. Purely keyboard-driven


It's been a long time coming. But now that that's out of the way (though this could use a bit more love?), I might find myself working on refreshing the font editor as well.

EDIT: Probably should have shown the alternate display mode as well. Here.
Alternate display mode showing typical test sentences
Iambian wrote:
After a bunch of years, someone asked about this project and I've started giving this thing a refresh. At the moment, I've updated the viewer (so that it stopped crashing quite as much. How did the old thing even work?) to build on the current-ish toolchain. The UI is much more busy than before, but maybe that's a good thing? I've also finally merged the feature branch back into master so that I (and probably others) am no longer bamboozled by such a non-working product.

Here's a screenshot of the new UI. There's no menu element anymore. Purely keyboard-driven


It's been a long time coming. But now that that's out of the way (though this could use a bit more love?), I might find myself working on refreshing the font editor as well.


I like how this looks! I'm looking forward to seeing progress with this program since this is one of my favorite projects!
I have used this over and over here are a few links to my projects that use you program.
http://ceme.tech/DL2799
http://ceme.tech/DL2803
And I have more projects in store using your program.
At the request of someone (I won't name because they've got a project in mind and I don't want to put them on the spot without their say-so), I added a utility to allow BASIC programs to read and write the same sort of self-installing fonts that the builder and hook in this overall project constructs. I've done a reasonable amount of testing to ensure that this doesn't crash and burn right out of the gate, but some extended testing is required. The sort of test where I'd probably be best served writing my own editor in BASIC. The sort of thing I don't really want to do. So yeah. You can grab a copy here to try it out for yourself. Let me know what you think.

Yes. I remembered about five seconds after publishing this that this lacks a delete feature. I'm not sure I want to add that in, but I know it's missing. Also. These past couple of days was the first time I seriously used SourceCoder 3. What a wonderful thing to have. Far easier than trying to figure out and remember what key does what in CEmu. I also know I should probably have a large font-only font hook variant of this, but meh. I'll figure that out later.
Iambian wrote:
This isn't anywhere near ready for release but if you can figure it out, go for it https://github.com/Iambian/Fonthook-CE

Please release it soon!
FieryFork wrote:
Iambian wrote:
This isn't anywhere near ready for release but if you can figure it out, go for it https://github.com/Iambian/Fonthook-CE

Please release it soon!


The post you quoted is old. Very old. So old in fact that I'm surprised that github even remembered the old name of the project and still redirects. Please do check the dates. Also, the stated goals of that part of the project have already been completed. Been long completed. Most of what happened in the past few weeks was finalizing them and merging them to the main branch in Github. You can download them from there.

---

It's been a few days but in that time, I also wrote a small tool that allows a BASIC program to install or uninstall a font by giving it a name through Str0 or leaving it blank. There's additional syntax for accessing font files inside of groups.

---

Work is also being done to simplify (or rather, make easier for the user) the workflow needed to convert a .ttf font on the PC to a CE font file. Really, I wanted to be able to *see* the results of the conversion before actually sending it to the calculator. Also, I wanted to have control of per-glyph nudging so the user can make adjustments to prevent the font from looking so... misaligned.
It's been about four days. I've done the following things:

* Restructured the repository to make it clearer what each thing is about
* Also updated the readme files scattered throughout for consistency Thanks ChatGPT. I hate doing that. I *did* proofread it, though. Lightly.
* Streamlined the CLI tooling for .ttf to .8xp/.8xv conversion (now the folders you have to straddle is the work folder and a dedicated build artifacts folder instead of half a work folder and the other half of a work folder)
* Built or rather, had an LLM mostly string together a tkinter python script so I can actually *see* what it is I'm doing before sending stuff to my calculator. Also supports per-glyph nudging so you can manually align stuff. Oh. And a way to save and load projects because nobody wants to fix everything all over again.

Things that I'm considering doing:

* Add font hook stubs (distinct from localization hook) that works only with large font (because for some reason, small font doesn't work for that hook. Has that ever been fixed?)
* Start a new on-calc font editor in this repository and call it yet another tool.
* Rename this repository (again) if I actually do add back that font hook thing.

And now. Some screenshots.

An image of the GUI thing that I worked with


Screenshots of the font in use. It only became clear during the font viewer test that more work needs to be done
You should make a option that you can make an icon for font program.
It's been another couple of days. I made some changes to the GUI application that (should) make it easier to use. Really, the change was the default font size and large font initial positioning.

I also added some stuff to help make cross-platform stuff work. Possibly. Only with the font packaging tools. I don't have anyway to test on a mac, but I did spend some time fighting VirtualBox for the first time to run Linux Mint (also a rather new-ish experience for me) to do testing that way and it mostly worked (turns out I needed to install stuff I thought came with Python).

This is a screenshot of what it looks like running the program that way.


More testing is required. I'm going to go merge the repo later.

calcgeek wrote:
You should make a option that you can make an icon for font program.


No. The header is already being used to identify the self-installing font objects as such, and I am unwilling to split the tooling to create support for that.

---

EDIT: Sorry for not making it clear. There *is* a build for Mac. I have no ability to verify that it works. That is all.
waaa. I only Have a Mac. Are you going to still try working on it?
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement