Open dlemos opened 3 months ago
You don't need fontconfig; just put a font in the local ~/.fonts directory (i.e. by clicking install in the font viewer dialog box). Another way is to add some fonts via Qt resource and explicitly loading it in main() as e.g. done here: https://github.com/rochus-keller/FreePascal/blob/bcca509890e0591f0a5bcd626dd8e3f50e865069/FpCodeNavigator.cpp#L877.
I didn't spend much time with the Cedar project because soon after my post I got confirmation by an original Cedar developer that OO was not implemented; so it's just a complicated procedural language. Otherwise I likely would have added these features.
Ok, I might have tried to put fonts in ~/fonts instead of ~/.fonts before and I didn't bothered to look further moved to link with fontconfig. Thanks!
I probably don't have what it takes but I'm looking for a way to get some of the old Cedar software to run on Linux. It's a long shot but I'm counting on at least learning as I try.
What kind of software is it, and how big?
I tried just building and running but I had to change the BUSY file and add _HAVEFONTCONFIG to the list of required submodules. Not sure if I was doing it right but setting the environment variable _QT_QPAFONTDIR to /usr/share/fonts did not fix text not be shown anywhere in the window.