SUMMARY With the last update of Kate, I lost my custom-made schemas and am not able to choose the font in any new custom-made schemas I create This is really sad as I have different types of documents that I want to display each with another font (letters, code, printing, etc) and now I am not able to do that the way I used to do it. What I see now is a global font state, which sets the font on every document. I thought Kate stands for KDE Advanced Text Editor.
Created attachment 141897 [details] Kate per-filetype font settings > am not able to choose the font in any new custom-made schemas I create When color schemas were ported to color schemes, the ability to specifiy the font was removed. From https://kate-editor.org/post/2020/2020-09-06-kate-color-themes/: "The UI is changed to call this “Color Theme” instead of “Schema”, the font choosing is decoupled from this now in the settings dialog. Color themes can only alter the coloring and text attributes like bold/italic/underline/…, but not switch the font itself." That said, you can still write here your use case(s) (I think the more specific, the better) so that others can offer alternative ways to accomplish the same goal now that the feature is removed, or if there is no other way then the maintainers might be convinced to reinstate it (provided that there will be people interested in re-implementing). > With the last update of Kate, I lost my custom-made schemas With the issue of fonts addressed above, https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/utils/kateschema_to_theme_converter.py provides a way to convert your custom schemas to the corresponding color themes (I remember reading (but couldn't find) a blog post of how to use it, but hopefully the script Usage included in the script will be enough for now). > What I see now is a global font state, which sets the font on every document. It's a little bit hidden, but you can specify the font/font-size (among many other things) using the variables in filetypes (Settings > Open/Save > Modes & filetypes), see the attached screenshot
My use case is that I use Kate instead of word processor applications (Writer, Word, etc). I believe that I can live now with filetype-specific font selection, which is still better than nothing at all. But I need to open another 2 bugs so that the UI/UX is enhanced, and that the font should change when changing the filetype (currently it doesn't, and does only on opening files with that filetype) Thanks Jan!