mogan icon indicating copy to clipboard operation
mogan copied to clipboard

Can we remove this command execution?

Open jingkaimori opened this issue 2 years ago • 3 comments

https://github.com/XmacsLabs/mogan/blob/5d74d7639663fd5693374e246510fc547135787e/src/Plugins/MacOS/cg_renderer.cpp#L347

jingkaimori avatar Dec 05 '22 08:12 jingkaimori

Yes.

da-liii avatar Dec 05 '22 13:12 da-liii

Just keep for now, I guess this code path has not been activated yet.

da-liii avatar Dec 05 '22 13:12 da-liii

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.

mgubi avatar Jan 01 '23 19:01 mgubi