mogan
mogan copied to clipboard
Can we remove this command execution?
https://github.com/XmacsLabs/mogan/blob/5d74d7639663fd5693374e246510fc547135787e/src/Plugins/MacOS/cg_renderer.cpp#L347
Yes.
Just keep for now, I guess this code path has not been activated yet.
this was some experimental code to allow CoreGraphics to use T1 fonts directly. It was from the time that I was implementing the MacOS UI before we decided to go for Qt to have cross-platform support. While the CG renderer is interesting, this particular code is not really needed since TeXmacs can use FreeType to render the font and then send the bitmap to CG. I guess that for Mogan one could simply just remove all this code. If one day we revive the MacOS port one can just pull it from TeXmacs.