https://bugs.kde.org/show_bug.cgi?id=435372

Jan Paul Batrina <jpmbatrin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpmbatrin...@gmail.com

--- Comment #1 from Jan Paul Batrina <jpmbatrin...@gmail.com> ---
Created attachment 141897
  --> https://bugs.kde.org/attachment.cgi?id=141897&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to