Saturday, December 22, 2018

Changing fonts with xcb

Been there, done that.

Got font changes working for Xchars, and looking to get a new version of that from the lab. Version one lets you change the fonts only for the whole screen. But later, with a bit of math scaling, we can change fonts for any given text rectangle.

I am implementing the API in the previous post, it is mostly done from the lab version of Xchars. Xchars makes life easy, four hundred lines of code, compiled as shared library lets us store, retrieve and display strings in designated blocks of our window.  Simple report generation and messaging gets simple  over the network.

I also got assign working in Default, fixed a few other things along the way. Still about two critical bugs in the full blown language.

No comments: