Menu

Is there any plan to make CDE support truetype font?

2022-07-27
2022-08-03
  • endison xiao

    endison xiao - 2022-07-27

    I am using CDE as my working environment, and its a very great experience. I am wondering is there any plan to make CDE support turetype font? Or is there any suggestions if I want to do it? Thank you very much for your advice~.

     
  • Peter Howkins

    Peter Howkins - 2022-07-28

    Fonts with XFT has been at the back of my mind for a long time. Motif, the underlying widget toolkit that CDE uses, has support for antialised fonts since version 2.3.

    My past experiments, got me this far;
    https://sourceforge.net/p/cdesktopenv/wiki/FontsWithXFT/

    I had a look at this quite recently and was working through how the Window manager could use XFT (or even just the Motif API) for the title bar strings. I got bogged down in APIs needing slightly different things as parameters, it's not unfortunately not a drop-in-replacement.

    One of the difficulties will of course be making sure any new code is able to handle both the original X and XFT being both detectable, optional, and configurable for the user.

     
  • endison xiao

    endison xiao - 2022-08-03

    Great to hear that! Thanks for your great work!!! I will give it a try and update with you if I have any progress.

     

Log in to post a comment.